N-Tier Application Patterns with Entity Framework

Published 05 August 09 03:20 PM

This month’s MSDN Magazine has a particularly good article in there by Danny Simmons, Development Manager on the Entity Framework team, on N-Tier Application Patterns with Entity Framework that I recommend reading through. He explains the design considerations you need to take into account when building n-tier applications and also discusses some of the improvements that are coming in .NET Framework 4.0 that will make building n-tier applications with EF much much easier. I’m personally looking forward to self-tracking entities myself, hooray!

Tim Mallalieu also has a good best practices article in this issue that I just started digging into regarding the next version of Entity Framework.

Enjoy!

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Yuri said on August 8, 2009 3:50 AM:

I  wonder if something ever has changed with this new release....

http://blog.domaindotnet.com/2006/09/09/objectrelational-tools-nhibernate-and-microsoft-adonet-entity-framework/

# Yuri said on August 8, 2009 3:53 PM:

NHibernate is a much better solution than this...

# Beth Massi said on August 10, 2009 12:46 PM:

Hi Yuri,

I agree that the first release of EF has some issues but that post you're referring to is over a year old. The EF team has been working hard on listening to customer feedback and improving the framework for the next version. The article links above explain these improvements. Take a look and see if they address your needs. You can also dowload the Visual Studio Beta 1 here:

http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx

And send feedback about EF here:

http://social.msdn.microsoft.com/Forums/en-US/adonetefx/threads

Cheers,

-B

# Sofyan said on October 28, 2009 3:39 PM:

I'm still confusing about How to develop n-tier app for my aplication. There is too many reference that I must learned.Can you help me??

# David said on November 11, 2009 12:49 PM:

Maybe a dumb question, but in this article is EF acting as the "data persistence tier"? It seems that the mid-tier directly is invoking EF.

Or... is there (or should there be) an explicit data persistence tier required (which presumably I would  provide) that was omitted for brevity?  

But other than this confusion, I think this article really helped clear away the cobwebs for me!

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required

About Beth Massi

Beth is a Program Manager on the Visual Studio Community Team at Microsoft and is responsible for producing and managing content for business application developers, driving community features and team participation onto MSDN Developer Centers (http://msdn.com), and helping make Visual Studio one of the best developer tools in the world. She also produces regular content on her blog (http://blogs.msdn.com/bethmassi), Channel 9, and a variety of other developer sites and magazines. As a community champion and a long-time member of the Microsoft developer community she also helps with the San Francisco East Bay .NET user group and is a frequent speaker at various software development events. Before Microsoft, she was a Senior Architect at a health care software product company and a Microsoft Solutions Architect MVP. Over the last decade she has worked on distributed applications and frameworks, web and Windows-based applications using Microsoft development tools in a variety of businesses. She loves teaching, hiking, mountain biking, and driving really fast.

This Blog

Syndication

Page view tracker