Accelerate the creation of .NET 5 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 a .NET 5.0 REST API ready to be used solution taking into account:
DI according to .NET 5 practices, inherited from .NET Core (without external dependencies)
exception handling settings according to .NET 5 practices (production and development error handlers)
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.
What does it look like?
Once the extension installed, you can use it directly from the start screen when you create a new project:
Creation Wizard - Step 1
Creation Wizard - Step 2
The extension will create a VS solution and the projects to build a REST API in order to focus on value creation.
The provided settings through the wizard can be updated at any time in the configuration file (appsettings.json).
More details and a quick start at //jmidotnetfr.wordpress.com/2020/11/06/net-5-rest-api-template-for-visual-studio/.
In addition to this Visual Studio version, you can find here the .NET CLI version.
end of preview and first .NET 5 version
code comments (XML Comments type) at DataContract level are included in the Swagger/OpenAPI generation
solution creation new UI to provide common settings
license updates (missing until now)
delivery process updates
new VSIX project to review settings
small updates (RC2)
AppSettings DI error fix
.NET 5.0 RC updrage
log settings improvements
Services structure reviewed according to provided feedbacks