Click here to Skip to main content
15,908,842 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I would like to use the separation of concern like MVC but that i have to implement in asp.net 3 tier architecture

That might be contain 1 - PL 2 - BLL 3 - DAL
in this scenario where can i use IRepository interfaces how can i utilize those interfaces in my application

Which approach is better to maintain asp.net web Application with entity framework ?

Please give me suggestion for interfaces how and where can i utilize those interfaces in my project?
Posted
Comments
njammy 10-Jan-14 19:05pm    
Please submit some examples of your entities concerned, the data source(s) and the functions you want to separate.

Generally, the MVC principle is to remove all action events and code from the presentation layer. You can do this simply in ASP.net by adding EF to a BL project/assembly. Keep your code separate : PL calls BL methods, passing parameters and Class objects, BL calls DAL methods/transactions and logs events. Hope this helps, but do post back for more discussion about what code you have so far.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900