---
title: "How we install Entity Framework in Asp.Net MVC?"  
description: "How we install Entity Framework in Asp.Net MVC?"  
author: "Anonymous User"  
published: 2020-01-30  
updated: 2020-01-30  
canonical: https://www.mindstick.com/forum/155761/how-we-install-entity-framework-in-asp-dot-net-mvc  
category: "asp.net mvc"  
tags: ["asp.net mvc"]  
reading_time: 2 minutes  

---

# How we install Entity Framework in Asp.Net MVC?

[Please explain](https://www.mindstick.com/forum/344/hi-rohith-i-am-new-for-mvc-please-explain-how-to-set-implicitly-isauthenticated-true) to me how we install the [Entity framework](https://www.mindstick.com/articles/1566/crud-operations-using-entity-framework-code-first-approach) step by step with example and also with an image.

## Replies

### Reply by Nishi Tiwari

**Steps for Installing [Entity](https://www.mindstick.com/forum/160562/database-connectivity-using-entity-framework-database-first-approach) [framework](https://www.mindstick.com/forum/34615/software-framework-vs-library)**

- Open Solution Explorer. Right Click on our project name or application and then select Manage NuGet Packages. We must have an active internet connection to install NuGet Package into our project as shown below:-

![How we install Entity Framework in Asp.Net MVC?](https://www.mindstick.com/mindstickforums/3d0d6fb9-b07b-4bc2-a23b-74d0bec4aca0/images/9e57bd49-dedf-47c8-b8af-94ca25a8f4ca.png)\

- After that, a new dialog will popup of “Manage NuGet Packages” inside browse select Entityframework click on install button icon as shown below.

![How we install Entity Framework in Asp.Net MVC?](https://www.mindstick.com/mindstickforums/3d0d6fb9-b07b-4bc2-a23b-74d0bec4aca0/images/2d89c71a-562b-4105-a651-c4c9d42d0e6d.png)\

- A Review Changes dialog box will appear asking for our confirmation to changes. Click on OK.

![How we install Entity Framework in Asp.Net MVC?](https://www.mindstick.com/mindstickforums/3d0d6fb9-b07b-4bc2-a23b-74d0bec4aca0/images/46c53c31-d614-4bf9-a3f2-53fadfc7b00d.png)\

- A License Acceptance dialog box will appear. Click on I Accept so to start Installation. The installation process will take just a few seconds.

![How we install Entity Framework in Asp.Net MVC?](https://www.mindstick.com/mindstickforums/3d0d6fb9-b07b-4bc2-a23b-74d0bec4aca0/images/8a6e4f81-c3c6-499d-bcfd-9eae47ad78df.png)\

- We will see a Visual Studio Output Window installing Entity Framework.

![How we install Entity Framework in Asp.Net MVC?](https://www.mindstick.com/mindstickforums/3d0d6fb9-b07b-4bc2-a23b-74d0bec4aca0/images/6dd87dcd-f988-4f82-aed7-4b3de276021b.png)\

- After installing, we can see it in Solution Explorer. Expand References in Solution Explorer and here we can see that EF has been installed into our project or application successful

![How we install Entity Framework in Asp.Net MVC?](https://www.mindstick.com/mindstickforums/3d0d6fb9-b07b-4bc2-a23b-74d0bec4aca0/images/5791b516-44fa-4eb4-9440-348036a71e68.png)\

**[Alternatively, you can also install the provider's NuGet package](https://www.mindstick.com/forum/155755/define-entity-framework)** using Package Manager Console. Go to Tools -> NuGet Package Manager -> Package Manager Console and execute the following command to install SQL Server provider package:

```
PM> Install-Package Microsoft.EntityFrameworkCore.SqlServer
```


---

Original Source: https://www.mindstick.com/forum/155761/how-we-install-entity-framework-in-asp-dot-net-mvc

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
