Saturday, May 20, 2017

Asp.Net MVC Core in UBUNTU and VS Code

In the previous POSTS I had shown how to
Previously I had shown CRUD operations Using Asp.Net MVC Core with Visual studio 2017 in Windows. 
IN this post I will show how to create new Asp.Net MVC project and how to use Visual Studio Code.



Create a folder in Ubuntu and right click on it and select Open in Terminal.
Now in the terminal type the below commands.

dotnet new MVC

the above command creates a new .Net Core MVC project.

open the folder from VS Code and open ProjectName.csproj file. Ones it is opened you can restore.
or use the below command to restore dotnet as shown.

dotnet restore

in VS Code press F5 or in the command terminal use

dotnet run

No comments:

Post a Comment