On my ASP.NET MVC 3 app, I have implemented a UnityDependencyResolver class that implements the IDependencyResolver interface. Inside my global.asx, I have the following method being called inside Application_Start to register and map my custom types using
a Unity container for Dependency Injection:
private void RegisterDependencyResolver()
var container = new UnityContainer()
Inside the Controllers that have dependencies with my custom types, I defined a constructor where I pass the interface(s) of these dependent types.
I would like to use the Exception Management and Logging Application Blocks on my MVC 3 app. The documentation does not provide guidance on what is a good way to do this on an MVC 3 app. Any suggestions?