How to create MVC project in visual studio

In this tutorial, we will learn how to create MVC project template for our MVC C# project in visual studio.

Open Visual Studio, select File, then click New, then click Project.




Then select WEB, then select ASP.NET web application and give name for your project.
Select create new directory and create new Git repository, then click ok.


Now below window will appear, select MVC and click on OK.



Congrats, your MVC first project has been created successfully!



Now next part is to setup entity framework for your project and start playing with the database.
Click here to open tutorial on how to add entity framework in visual studio

Comments