Category Archives: StructureMap

Resolving Instances using Delegates in Unity

Introduction In previous posts, I have covered bootstrapping Unity in MVC, using Unity as a DependencyResolver in MVC and using Unity in conjunction with WCF services. I am going to extend the Unity theme a little bit more and describe … Continue reading

Posted in StructureMap, Unity | Tagged , , | 1 Comment

IOC Containers, HttpContext Managed Lifecycle and Disposable Objects

I like to use an IOC container to resolve web services in my controllers. I also like the IOC container to manage the lifetime of those services, so that my controllers are not fussed about having to dispose of things … Continue reading

Posted in ASP.Net MVC, StructureMap, Unity | Leave a comment