- Add Microsoft.Extensions.Hosting.WindowsServices package - Add HostingOptions:UseWindowsService configuration flag to appsettings.json - Configure Program.cs to optionally run as Windows Service based on config - IIS hosting continues to work by default (UseWindowsService=false) - Delete obsolete Worker.cs that was conflicting with ProfileManager
22 lines
471 B
JSON
22 lines
471 B
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"ConnectionStrings": {
|
|
"SDD-VMP04-SQL17": "Server=SDD-VMP04-SQL17\\DD_DEVELOP01;Database=DD_ECM;User Id=sa;Password=dd;Encrypt=false;TrustServerCertificate=True;"
|
|
},
|
|
"AllowedHosts": "*",
|
|
"HostingOptions": {
|
|
"UseWindowsService": false
|
|
},
|
|
"Hangfire": {
|
|
"InMemory": true
|
|
},
|
|
"ReC": {
|
|
"ApiUrl": "http://172.24.12.39:90"
|
|
}
|
|
}
|