JMI.DotNetCore3x.REST.API.Template.CSharp 3.1.594.1

There is a newer version of this package available.
See the version list below for details.
dotnet new install JMI.DotNetCore3x.REST.API.Template.CSharp::3.1.594.1
This package contains a .NET Template Package you can call from the shell/command line.

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.

Version Downloads Last updated
3.1.999 2,534 11/8/2020
3.1.903 570 10/10/2020
3.1.693 552 3/7/2020
3.1.594.1 752 2/1/2020