Looking for Entity Framework examples in ASP.NET MVC applications?

asp.net-mvc entity-framework


Are there any open-source examples of ASP.NET MVC applications that use the Entity Framework? I have found Nerd Dinner to be helpful but it is using Linq to SQL.

I am trying to use the Entity Framework in a strongly-typed ASP.NET MVC project and am finding that anything beyond the simple tutorial becomes rather difficult to implement. I am thinking that if I could see some slightly more complex example code, that would help me a great deal. I am particularly interested in examples that are "real-world" and have to deal with multiple data tables when performing data entry/updates. Is anyone familiar with a good source for this information?

So far in my experience, I have not used much ASP.NET MVC but have been using the Entity Framework for about 8 months.

8/19/2013 3:43:21 PM

Accepted Answer

The EF team, in conjunction with P&P, are currently in the process of developing an EF (version 4) data access reference implementation that uses ASP.NET MVC as the front-end.

The project will be made available iteratively on CodePlex here:


We haven't yet made our first source drop but it will be happening within the next couple of weeks.

UPDATE: We have now dropped code - please be advised that it should be considered alpha quality and is subject to change.

6/22/2009 9:34:35 PM

Popular Answer

There is now a 10-tutorial series using Code First; here is a link to the first in the series: http://www.asp.net/entity-framework/tutorials/creating-an-entity-framework-data-model-for-an-asp-net-mvc-application

Related Questions


Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow