There are two ways to install the template:
- From Nuget with .NET CLI: ApiBoilerPlate.AspNetCore
- From VSIX Market Place with Visual Studio: ApiBoilerPlate.AspNetCore
Install the Template from .NET CLI
- Install the latest .NET Core SDK.
dotnet new -i apiboilerplate.aspnetcore. This will install the template in your machine.
dotnet new apiboilerplate --name "MyAPI"; -o samples. This will generate the project template named
Once installed, you should see this output below:
The template "ASP.NET Core API Template for .NET Core 3.x" was created successfully.
Install the Template from Visual Studio 2019
If you prefer, you can also install the project template in Visual Studio using the Visual Studio Marketplace extension here: ApiBoilerPlate.AspNetCore
Check out the my previous post for more information: ApiBoilerPlate: A Project Template for Building ASP.NET Core APIs