Ask A Question
0

Autofac - InstancePerHttpRequest vs InstancePerLifetimeScope in ASP.NET MVC 3

Asked by Sam Striano on 08/26/2012 at 1:29 AM

What are the differences between the two scopes?

I am building Module(s) in each layer (Repository, Service, MVC App), but in order to have InstancePerHttpRequest you need the Autofac.Mvc assembly.

Which scope should I be using in my Repository and Service layer?

View Full Answer On Stackoverflow

Responses

No responses yet. Be the first one!

    [Some content on this page is from Stackoverflow]