AuthorMessage
MetalliMyers
Administrator
rank
User Image
A Pompous Ass


Location: LV-426
Joined: 3/12/2009
Post Count: 1723 MetalliMyers Steam Status
Date Posted: 7/5/2011 10:24:26 AM   Subject: ASP.Net MVC 3 Repository Pattern with Dependency Injection
http://www.codeproject.com/KB/aspnet/diwithmvc3.aspx

In these days i started use EF code first and think about how could i take the advantage form it for my recent project. My project is base on MVC3 and there are some challenges to continue update this project. At that time i must finish my job in a very shortly deadline so fast so good i just define some data access interfaces and implemented them with EF4.
There are some things in my project troubling me:
  • I have used the EF entities in my controllers anywhere that there is a connection translation error throwing infrequently.
  • Modules coupling degree becoming closed.
  • Manage services and contexts life cycle are difficult.

Obviously it needs to refactory my project with a new architecture designing.

user image user image

Real Time Web Analytics