views:

304

answers:

5

Hi, I'm going to be starting a new project with ASP.NET and I would like to use some framework which speed up the process. Recently I have heard that there are two main frameworks in that platform: the MVC and the Entity framework. Are they compatibles? If not, what are your advices on what to use and why? What are they best properties?

+7  A: 

You can't compare them. These are 2 different things.

Entity framework is ORM mapper, Asp.Net Mvc is a framework that helps building web applications.

Actually - they even aren't mutually exclusive and you can use them both together quite nicely.

Arnis L.
+2  A: 

They're different things entirely.

Jimmeh
+4  A: 

MVC is an architectural pattern to build applications; entity framework is a object relational mapping framework. Quite different animals.

And yes, they can be used together, no problem.

Otávio Décio
MVC != ASP.NET MVC framework
Arnis L.
@Arnis - I know, just didn't want belabor the point. Thanks for pointing it out.
Otávio Décio
except he tagged it asp.net mvc
Will
+3  A: 

ADO.NET Entity Framework is an object-relational mapping (ORM) framework for the .NET Framework. http://en.wikipedia.org/wiki/ADO.NET%5FEntity%5FFramework http://msdn.microsoft.com/en-us/library/aa697427%28VS.80%29.aspx

Other entitty frameworks are -> LINQtoSQL, NHibernate etc.

Model–View–Controller (MVC) is an architectural pattern used in software engineering. http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller http://en.wikipedia.org/wiki/ASP.NET%5FMVC%5FFramework

Bhaskar
+1  A: 

Although they're different things entirely they are compatible. I am using both frameworks on a project now.

Matt Wear