Before reading this article, I highly recommend reading the previous parts of the series:

In this article we’ll learn how to use code first approach in ASP.NET MVC project which is most useful in those projects which you want to create from scratch, so do the same as what I will do in the following step-by-step approach.

Step 1: Open Visual Studio and select the “File” menu, New, then click Project.

New Project

Step 2: In the following figure select “Templates”, Visual C#, then ASP.NET Web Application, and here I gave the name of the project “CodeFirstWithMVC”.

Read more articles on ASP.NET: