Solved

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

Posted on 2013-01-14
3
3,100 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
  • 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SqlDataBase 7 48
converto datetime always changes format 9 37
Convert Select to DropDownListFor MVC 5 2 16
RegEx with optional part 4 24
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

778 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