Archive / April 2013

The magic of routing with multiple areas

Published: 4/5/2013, Author: Håkan Edling, Categories: .NET, Programming

Routing in ASP.NET MVC is pretty straight forward, however, with multiple areas and the strong possibility of having controllers with the same name in several of them strange things can happen.

In our current work with getting Piranha CMS for to play nice with MVC applications we ran into some issues with the routing and area setup. Before, when hosting the core framework in a Razor website one could be pretty sure that the manager controllers would be the only controllers around, but with a MVC application this would of course not be the case.


Read more