- .NET Core 2.0 SDK (Download .NET Core 2.0)
- Visual Studio Code (VS Code Download)
- VS Code C# extension
After installation of this prerequisites open the VS code you can open VS Code in windows search
Step-1 Open Visual Studio Code and go to terminal window. On the menu Bar go to view select Terminal or select "ctrl+`"
Step-2
Then move to the Project location where want to save your Project using below command:
Step-3
(i)Then create the directory folder where want to save your project.
(ii) Move to that folder using below commandStep-2
Then move to the Project location where want to save your Project using below command:
Step-3
(i)Then create the directory folder where want to save your project.
mkdir mySampleCoreMvc
cd mySampleCoreMvc
Before we make Project check the C# extension is installed or not. If it is not installed then install it,in my case I already installed.
Step-4: Type the below command and hit enter for creating the brand new application. This will create brand new application like below screenshot.
dotnet new MVC
You can see the .NET Core MVC application is created on the specified path |
Now Open the File folder and select the Project path, after open the project look like below and the dependent packages are downloaded automatically.
Step-6
Now it;s time to lunch the application. Hit F5/ Ctrl+F5 OR type command as dotnet Run to see the Output window like below.
Summary
Post a Comment