Here I am using Visual Studio 2012 with .NET Framework 4.5.
Create a new project, click
ASP.Net MVC 4 application, and select
Internet Application.
Now you will get your newly created application and let us start with "Entity Framework Configuration".
Step 1: Go to
TOOLS, then
Extensions and Updates.
Step 2: Go to the online gallery and search for "
nu-get package manager" and install it.
Step 3: After you have installed the Nuget package manager, you have two options for the installation entity framework.
- Through the UI (From Solution Explorer)
- Package Manager Console.
Installing Entity Framework Through the UI (From Solution Explorer)
- Right-click on the project References, then click Manage NuGet Packages,
- This will take you to another window where you can find EntityFramework.
- Install It.
- It will ask for License Acceptance,
- Click on the I Accept button in the License Acceptance window. Now your installation for "Entity Framework" is complete.
Installing Entity Framework through Package Manager Console
- For installing through package manager console,
Go to VIEW, then Other Windows, and then Package Manager Console.
- Package Manager Console is open.
- Write "install - package entityframework" and press enter.
I already installed Entity Framework through Solution Explorer, so now it gave a message 'EntityFramework 6.1.3 already installed'.