This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
What is the recommended best practice for managing UnitOfWorkScope when using an IoC container? I am currently doing dependency injection using SimpleInjector, though in the past I've used StructureMap and Ninject. I have an asp.net mvc 3 application, which also happens to host a WCF service. My classes which depend on a unit of work take a UnitOfWorkScopeBase via constructor injection. My IoC registry has a registration that binds UnitOfWorkScopeBase to PerRequestUnitOfWorkScope. I guess what I'm looking for is a page that compares and contrasts the different UnitOfWorkScope classes so that I can choose the appropriate one for my needs. |
|