JMI.DotNetCore3x.REST.API.Template.CSharp
3.1.594.1
See the version list below for details.
dotnet new install JMI.DotNetCore3x.REST.API.Template.CSharp::3.1.594.1
VSIX version for Visual Studio available here.
Description
This extension helps you to create a .NET Core 3.1 REST API ready to use solution taking into account:
- DI according to .NET Core 3.1 practices (without external dependencies)
- exception handling settings according to .NET Core 3.1 practices
- 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 business practices in order to make it ready to be used in "real life".
How to install the package?
You only need to type the next command:
dotnet new --install JMI.DotNetCore3x.REST.API.Template.CSharp::[version]
How the package works?
Check if the new template has been installed properly:
dotnet new --list
You should see a new template called webapi3
.
To create a new solution based on this template, you have to type the command below:
dotnet new webapi3 -n [solution-name]
-
.NETCoreApp 3.1
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.