first commit
This commit is contained in:
43
MyNewProjectName.AdminAPI/appsettings.json
Normal file
43
MyNewProjectName.AdminAPI/appsettings.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"ConnectionStrings": {
|
||||
"DefaultConnection": "Server=localhost;Database=MyNewProjectNameDb;Trusted_Connection=True;MultipleActiveResultSets=true;TrustServerCertificate=True"
|
||||
},
|
||||
"Jwt": {
|
||||
"SecretKey": "YourSuperSecretKeyThatIsAtLeast32CharactersLong!",
|
||||
"Issuer": "MyNewProjectName",
|
||||
"Audience": "MyNewProjectName",
|
||||
"ExpirationInMinutes": 60,
|
||||
"RefreshTokenExpirationInDays": 7
|
||||
},
|
||||
"Redis": {
|
||||
"ConnectionString": "localhost:6379",
|
||||
"InstanceName": "MyNewProjectName:",
|
||||
"DefaultExpirationInMinutes": 30
|
||||
},
|
||||
"Serilog": {
|
||||
"MinimumLevel": "Information",
|
||||
"Override": {
|
||||
"Microsoft": "Warning",
|
||||
"Microsoft.AspNetCore": "Warning",
|
||||
"Microsoft.EntityFrameworkCore": "Warning",
|
||||
"System": "Warning"
|
||||
},
|
||||
"WriteToConsole": true,
|
||||
"WriteToFile": true,
|
||||
"FilePath": "logs/log-.txt",
|
||||
"RollingInterval": "Day",
|
||||
"RetainedFileCountLimit": 31,
|
||||
"SeqUrl": null,
|
||||
"ElasticsearchUrl": null
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning",
|
||||
"Microsoft.EntityFrameworkCore": "Warning"
|
||||
},
|
||||
"EnableRequestLogging": false,
|
||||
"EnableResponseLogging": false
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
}
|
||||
Reference in New Issue
Block a user