Using Structuremap to manage ObjectContext Lifetime in ASP.NET MVC

Posted by Diego Correa on Stack Overflow See other posts from Stack Overflow or by Diego Correa
Published on 2010-06-17T18:38:01Z Indexed on 2010/06/17 18:43 UTC
Read the original article Hit count: 665

Hi, what I want to know If there is a way or an good article on how to manage the objectcontext life cycle through structuremap (I saw an example with ninject). Since I'm new to the methods and possibilities of SM I really don't know How/If possible to make it. In the first moment I wanted to make a singleton of the objectcontext per httpcontext. Thanks for any advice.

© Stack Overflow or respective owner

Related posts about c#

Related posts about asp.net-mvc