• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4151
  • Last Modified:

How to implement 3 layer architecture with Entity Framework and ASP.NET Webform app

I'm relatively new to the world of the Entity Framework and I'm building an ASP.NET webform application and so far I've been writing the code for my data access but would like to start using the Entity Framework so I've been attempting to find a good sample or tutorial on how to implement the Entity Framework in a 3 layer architecture.  Unfortunately, the ones I have found all revolve around MVC or they use entity data controls etc so I'm hoping someone can point me in the direction of a resource that has sample apps or tutorials which simply focus on using the Entity Framework with a standard web form applications.

  • 2
1 Solution
This is the best reference, in my opinion, when it comes to MVC with N layer

http://microsoftnlayerapp.codeplex.com/ - It might look a bit complex but just take a little time and you should be all good in no time.

There is another one : http://www.codeproject.com/Articles/434282/A-N-Tier-Architecture-Sample-with-ASP-NET-MVC3-WCF which is relativly simple

Hope this helps:)
obb-taurusAuthor Commented:

I'm actually looking for samples using ASP.NET webforms not MVC.  How will the concepts in these samples translate from MVC to regular web forms?
My bad, Have a look at the EISK project in codeplex. It used webforms and EF


or a have a look at here : http://www.codeproject.com/Articles/439688/Creating-ASP-NET-application-with-n-tier-architect

Hope this helps :)

PS: On a personal note, I think you should start looking at MVC and Entityframework
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now