Posts

Showing posts from August, 2019

Creating Visual Studio Custom Templates for ASP.NET Core Razor Pages

Image
Create Visual Studio Custom Project Templates for ASP.NET Core Razor Pages Web Application Traditionally Visual Studio comes with several default templates. There are two types of templates: Project templates, and item templates. Using those templates we build more complete projects for our own business use. Sometimes we want to create more specific types of templates. For example, if we have a customized project and we want to use it to create projects more often, Visual Studio provides a way to store them as a template and reuse them when creating a project.  Apart from this now with the new Dotnet core, there is a new set of templates available for Visual Studio. .Net core templates can be used either by Visual Studio  & Visual Studio for Mac or the dotnet command line (dot net new). Dotnet core templates are introduced in Visual Studio 2017. Here I am documenting how to create custom .core web app project templates for VS2017.  DotNet Core Web App Project Template for 2017 Thin