less than 1 minute read

In ASP.NET CORE we can create the project through CLI, For example you need to create a project named Contoso, You need to create a folder Contoso.

On Windows you can simply do it using md command, like

md Contoso
// This will create a folder Contoso
cd Contoso
// Your are now in Cotoso folder.

Now you can simply type Dotnet new, This will show you the list of project type which is available on your system.

You will see something like this


Now you can simple use any option you want, for example

dotnet new mvc will create a new mvc project for you. Go ahead and try.

Happy Coding!



Updated: