Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Looking for examples of ASP.NET MVC applications with the Entity Framework [closed]

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.

like image 876
YeahStu Avatar asked Jun 04 '09 13:06

YeahStu


People also ask

Does MVC use Entity Framework?

It is a data access framework which used to create and test data in the visual studio. It is part of . NET Framework and Visual Studio.

What is MVC in asp net with example?

MVC is a pattern known as Model-View-Controller. It is made up of three pieces; Model, View, and Controller that interact with each other to provide capabilities to the application that implements it. MVC is related to ASP.NET in much the same way as it is to an application.

What is ASP.NET MVC application?

ASP.NET MVC is a web application framework developed by Microsoft that implements the model–view–controller (MVC) pattern. It is no longer in active development. It is open-source software, apart from the ASP.NET Web Forms component, which is proprietary.

What are the 3 main components of an ASP.NET MVC application?

The Model-View-Controller (MVC) architectural pattern separates an application into three main components: the model, the view, and the controller.


2 Answers

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:

http://dataguidance.codeplex.com/

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.

like image 68
Andrew Peters Avatar answered Oct 03 '22 07:10

Andrew Peters


Here is what I found so far

ASP.NET MVC Example Application over Northwind with the Entity Framework

Same article but possibly newer?

like image 40
Jeremy Coenen Avatar answered Oct 03 '22 07:10

Jeremy Coenen