- .NET 4.8 Web API Project
- Create new Empty project in Visual Studio
- Select Web API in "Add folders & core references"
- Create new Empty project in Visual Studio
- Setup Development Environments
- Add App Settings to Web.config file
- Add Configurations directory for all three environments with app settings
- local
- dev
- prod
- Add Database Connection String to App Settings in Web.config
- JSON
- Configure CORS
- AutoFac & AutoMapper
- Serilog
- Configuration
- NuGet Packages
- Serilog
- Serilog.Sinks.File
- Serilog.Sinks.Async
- Serilog.Formatting.Compact
- Serilog.Enrichers.Thread
- Serilog.Exceptions
- SerilogWeb.Classic.WebApi
- Dapper
idnbso / webapitemplate Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License