DrWatson1.ProjectTemplate.RestAPI 2.6.0

There is a newer version of this package available.
See the version list below for details.
dotnet new install DrWatson1.ProjectTemplate.RestAPI::2.6.0                
This package contains a .NET Template Package you can call from the shell/command line.
  1. Install the template:
dotnet new -i DrWatson1.ProjectTemplate.RestAPI
  1. Create a project:
dotnet new rest-api -n ASPNetCoreService

It creates a new project "ASPNetCoreService" in the corresponding subfolder. Replace the "ASPNetCoreService" with the desired name.

  1. Run the project:
dotnet run
  1. Open a browser and navigate to http://localhost:5000/swagger to see an API documentation
  2. Play around with the API. Try to add a new product or update one

Visit project Wiki pages to learn more about the template.

Have fun and happy hacking!

  • .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.0.0 683 7/23/2022
2.6.0 2,703 5/3/2021

Support of .Net Core 5.0 and dotnet new custom template