36 lines
1.5 KiB
Plaintext
36 lines
1.5 KiB
Plaintext
*** Encrypted ConnectionString ***
|
||
// Encrypt connection string with ServiceShared.Crypto.AES.Encryption
|
||
// For encryption use the default MemoryMasterKey from AES Class, just use the function AES.Encrypt("connection_string")
|
||
// Insert encrypted connection string in the appsettings.json
|
||
// Exp:
|
||
// Plan connection string: server=127.0.0.7;port=3306;uid=test;password=xxxx;database=test;
|
||
// After ServiceShared.Crypto.AES.Encryption("server=127.0.0.1;port=3306;uid=test;password=xxxx;database=test;")
|
||
// Encryption String: gOHCqY/I8uctbqjdg+bF0FIzIYQBBCj3wcTeuRn5VfU3Ou3NHV1E1XyoD0kKPKsLenNGZG45tChvnEsBKKnOiymyL+tI7/eeq5rwS4gsA47j3OYUSMdtjhVpumJt8IuN6Yq6s9M=
|
||
// Example
|
||
"ConnectionStrings": {
|
||
"default": "dev",
|
||
"prod": "",
|
||
"dev": "gOHCqY/I8uctbqjdg+bF0FIzIYQBBCj3wcTeuRn5VfU3Ou3NHV1E1XyoD0kKPKsLenNGZG45tChvnEsBKKnOiymyL+tI7/eeq5rwS4gsA47j3OYUSMdtjhVpumJt8IuN6Yq6s9M="
|
||
}
|
||
|
||
*** Trusted Header *+*
|
||
// Configure TrustedUserAgent, HeaderSecureHash, HeaderValueSecureHash in the TrustedHeader.cs
|
||
// This value have to exist in request headers from clients else throwing invalid client exception (basic secureity)
|
||
|
||
*** Midemaps ***
|
||
// Documents/Midemaps
|
||
// Designer - https://app.diagrams.net
|
||
|
||
*** dotAPNS ***
|
||
/// https://github.com/alexalok/dotAPNS
|
||
|
||
/*** HOST DEVELOPMENT ***/
|
||
add to hosts file development to local ip´s
|
||
|
||
File: C:\Windows\System32\drivers\etc\hosts
|
||
|
||
192.168.10.3 development
|
||
192.168.137.1 development
|
||
127.0.0.1 development
|
||
172.21.200.143 development
|
||
YOUR IP development |