Geeks With Blogs

Anirudha gupta
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!

Posted on Wednesday, December 11, 2019 8:39 PM Visual studio , cli | Back to top

Comments on this post: How to use CLI to create dotnet project from powershell or CMD

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Anirudha | Powered by: