2011-09-10

ASP .NET MVC and Unity: Navigating through Interfaces

,
In this previous post you saw how i used an IDependencyResolver in combination with an IUnityContainer to created a loosely coupled application. But there is still one dependency that i want to cut and that is the url that is used to navigate. Normally if we want to navigate to the Index action of our HomeController we use something like this in the url: http://localhost/Home/IndexThat is an dependency that i want to cut, because we ask to use a controller of type “HomeController”.What i want to do is to navigate through interfaces, http://localhost/IHome/Index...
Read more →