Dependency Resolution in MVC3

 

MVC 3 introduced a new concept called a "Dependency Resolver", which greatly simplified the use of
dependency injection in your applications.

This made it easier to decouple application components,making them more configurable and easier to test.

Support was added for the following scenarios:
  1.  Controllers (registering and injecting controller factories, injecting controllers)
  2.  Views (registering and injecting view engines, injecting dependencies into view pages)
  3.  Action filters (locating and injecting filters)
  4.  Model binders (registering and injecting)
  5.  Model validation providers (registering and injecting)
  6.  Model metadata providers (registering and injecting)
  7.  Value providers (registering and injecting)