Set up ASP.NET Core Web API project structure
Initialized the ASP.NET Core application in `Program.cs` with services for controllers, Swagger/OpenAPI, and middleware for HTTPS redirection and authorization. Added `launchSettings.json` to configure application launch profiles for HTTP, HTTPS, and IIS Express environments. Updated `ReC.API.csproj` to target .NET 8.0, enable nullable reference types, and include the `Swashbuckle.AspNetCore` package for Swagger support. Added `appsettings.json` and `appsettings.Development.json` for logging and environment-specific configurations. Reorganized the solution structure in `ReC.sln` by moving the `ReC.API` project under a `src` folder and updating the `NestedProjects` section.
This commit is contained in:
8
src/ReC.API/appsettings.Development.json
Normal file
8
src/ReC.API/appsettings.Development.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user