Add .NET 8.0 web app with minimal API and background worker
Introduced a new .NET 8.0 web application project with a minimal API setup. Configured Swagger for API documentation and added a `Worker` class as a background service for periodic tasks. Added `launchSettings.json` to define development profiles for HTTP, HTTPS, and IIS Express. Configured logging levels in `appsettings.json` and `appsettings.Development.json`. Included `Swashbuckle.AspNetCore` package for Swagger integration and configured the HTTP request pipeline to support development and production environments.
This commit is contained in:
9
ECMJobRunner.WebCron/appsettings.json
Normal file
9
ECMJobRunner.WebCron/appsettings.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
}
|
||||
Reference in New Issue
Block a user