Header add

In this article we will discuss that how to create ASP .Net Core application using VS Code. Below are the Prerequisites require before start the application. The prerequisites are,
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+`"

Then move to the Project location where want to save your Project using below command:
(i)Then create the directory folder where want to save your project.
    mkdir mySampleCoreMvc
(ii) Move to that folder using below command
    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.
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.

      In this tutorial we discussed how to Create ASP .NET Core MVC application using VS Code. If have any question related to this topic then give your feedback.

Post a Comment

Previous Post Next Post