Part 1: Create New MVC 5 Project and Install EF 6

In this chapter, we will create a New MVC 5 Project and Install Entity Framework 6. If you are familiar with creating a new project and installing entity framework then you can skip this chapter and move next.

Note: We divided this project into 4 Parts and this is the 1st PART

Parts of this Project

Create New Project

1. Open Visual Studio 2015 or the version you are using. Go to File New Project.
2. Select Web in the left pane and then select ASP.NET Web Application (.NET Framework) in the middle pane.
3. Give Project Name EFModelFirst and click OK.
4. In the next window, select MVC template and change authentication to No Authentication and click OK.
If you face difficulties in creating new project then see step by step pictorial guide. Start A New ASP.NET Web Application (.NET Framework) Project
   

Install Entity Framework 6

1. Right click on Project Name in Solution Explorer and Select Manage NuGet Packages.
2. Browse for Entity Framework and click Install button to Install It.
3. Click OK when review changes dialog box will appear.
4. Accept License agreement and Entity Framework gets installed into your project.
If you face difficulties in installing EF 6 then see step by step pictorial guide.
Installing Entity Framework 6 Into Your Project

Next

Next Part of this tutorial is Create Entity Data Model and Entity class in Designer.

More Articles

 

Share your thought



PLEASE DISABLE ADBLOCKER AND SUPPORT US!

Please support us by enabling ads on this page. Refresh

YOU DON'T LIKE ADS, WE ALSO DON'T LIKE ADS!
 
But we have to show ads on our site to keep it free and updated. We have to pay huge server costs, domain costs, CDN Costs, Developer Costs, Electricity and Internet Bill. Your little contribution will encourage us to regularly update this site.