43 lines
1.2 KiB
JSON
43 lines
1.2 KiB
JSON
{
|
|
"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": "*"
|
|
} |