Solved

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

Posted on 2013-01-14
3
3,235 Views
Last Modified: 2013-03-07
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.

Thanks
0
Comment
Question by:obb-taurus
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 21

Expert Comment

by:masterpass
ID: 38776111
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:)
0
 

Author Comment

by:obb-taurus
ID: 38776210
masterpass,

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?
0
 
LVL 21

Accepted Solution

by:
masterpass earned 500 total points
ID: 38776231
My bad, Have a look at the EISK project in codeplex. It used webforms and EF

http://eisk.codeplex.com/

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
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question