Tag Archives: DependencyResolver

IDependencyResolver and Global Action Filters in ASP.Net MVC 3

Following on my previous posts regarding IDependencyResolver and Bootstrapping Unity, I realise that there is a fairly elegant solution to injecting global action filters at runtime. Multiple ActionFilters can be registered with Unity as follows: Then it is simply a … Continue reading

Posted in ASP.Net MVC, Dependency Injection/Inversion of Control | Tagged , , , , | Leave a comment

Using Unity as a Dependency Resolver – ASP.Net MVC 3

**Update if you are using unity, you might want to check out my ideas on bootstrapping it in ASP.net MVC.** ASP.Net MVC 3 has developed the concept of a Dependency Resolver to provide IOC/DI support. This is analogous to the … Continue reading

Posted in ASP.Net MVC, Dependency Injection/Inversion of Control, Unity | Tagged , , | 6 Comments