Accelerate the creation of .NET 6 API projects with minimal dependencies and a solution containing settings for DI/IoC, API versioning, automatic OpenAPI/Swagger documentation, separated layers, preconfigured mapping settings, preconfigured log settings, etc.
This extension allows to create .NET 6.0 REST API ready to be used solution taking into account:
DI according to .NET 6 practices, inherited from .NET Core (without external dependencies)
exception handling settings according to .NET 6 practices (production and development error handlers)
AppSettings
mapping settings (based on Automapper)
OpenAPI basic configuration (can be enabled/disabled by configuration)
API Versioning (based on URL routes)
automatic OpenAPI versioning according to code
XML Comments included in Swagger
The created solution is layered according to architectural principles and gathering a set of good practices. The result is increased testability, evolutivity and maintainability.
More details and a quick start at //jmidotnetfr.wordpress.com/2020/11/06/net-5-rest-api-template-for-visual-studio/.
.NET CLI
In addition to this Visual Studio version, you can find here the .NET CLI version.