- Install Hangfire packages (Core, AspNetCore, SqlServer, InMemory) - Configure Hangfire in Program.cs with boolean InMemory flag from appsettings - Add Hangfire dashboard at /hangfire route - Update appsettings.json with Hangfire:InMemory configuration - Update launchSettings.json with new launch URL - Remove obsolete Worker.cs background service
19 lines
413 B
JSON
19 lines
413 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": "*",
|
|
"Hangfire": {
|
|
"InMemory": true
|
|
},
|
|
"ReC": {
|
|
"ApiUrl": "http://172.24.12.39:90"
|
|
}
|
|
}
|