Command prompt window will open.
Step 3
Go to Command prompt, and type dotnet and press enter key. User will get all the information as shown in the below image.
Step 4
Go to Command prompt, and type dotnet- -list-sdks and press enter key. User will get the sdk path installed information.
Step 5
Go to Command prompt, and type dotnethelp and press enter key. User will get the information as shown in the below image.
Follow the below steps to create Asp.Net MVC project using CLI in .Net Core.
Step 1
Create one folder in any drive with demo folder, follow the steps as shown in the below image.
Step 2
Whole MVC project structure will be created in demo folder as shown in the below image,
Step 3
To build the MVC project using CLI write the command dotnet build,
Step 4
To run the MVC project using CLI write the command dotnet run
Step 5
Application will run on the browser as shown below with default port no: 5001
Summary
I hope you understood this article. We have created an MVC Project using CLI in .Net Core. In my next upcoming article, I will explain how to use advanced command line and how to add solutions in the project.