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.
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"$schema": "http://json.schemastore.org/launchsettings.json",
|
|
"iisSettings": {
|
|
"windowsAuthentication": false,
|
|
"anonymousAuthentication": true,
|
|
"iisExpress": {
|
|
"applicationUrl": "http://localhost:17567",
|
|
"sslPort": 44300
|
|
}
|
|
},
|
|
"profiles": {
|
|
"http": {
|
|
"commandName": "Project",
|
|
"dotnetRunMessages": true,
|
|
"launchBrowser": true,
|
|
"launchUrl": "swagger",
|
|
"applicationUrl": "http://localhost:5271",
|
|
"environmentVariables": {
|
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
}
|
|
},
|
|
"https": {
|
|
"commandName": "Project",
|
|
"dotnetRunMessages": true,
|
|
"launchBrowser": true,
|
|
"launchUrl": "swagger",
|
|
"applicationUrl": "https://localhost:7027;http://localhost:5271",
|
|
"environmentVariables": {
|
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
}
|
|
},
|
|
"IIS Express": {
|
|
"commandName": "IISExpress",
|
|
"launchBrowser": true,
|
|
"launchUrl": "swagger",
|
|
"environmentVariables": {
|
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
}
|
|
}
|
|
}
|
|
}
|