Howdy,
As always, lovin Autofac... but sometimes I get a bit confused about
it's interaction with web mvc.
I have a component ShopCartController, which implement
IShopCartController and takes HttpSessionStateBase as a dep.
What's the best way to inject HttpSessionStateBase into a component
without accessing a singleton (like HttpContext.Current)?
Or, should I be registering HttpSessionStateBase myself?
Or, should I injecting HttpContextBase or some other
ASP.NET
abstractions http class?
Any advise is greatly appreciated,
CV