Is it possible to add routes to controllers defined in external assemblies? Everything I've seen so far doesn't seem to allow for it.
Based on the below help
I've added the following two routes as a test and no matter what I do it keeps defaulting to the "Default" route...however if I change the name of the "Browse" controller to the name of another controller in my class it works fine.
routes.MapRoute(
"Browse",
"browse/{controller}/{action}/{id}",
New With {.controller = "Home", .action = "Index", .id = UrlParameter.Optional},
New String() {"MySite.Browse.Controllers"})
routes.MapRoute(
"Default",
"{controller}/{action}/{id}",
New With {.controller = "Home", .action = "Index", .id = UrlParameter.Optional},
New String() {"MySite.Controllers"})
Any thoughts?
Seems the above might be MVC 1 only as it doesn't actually call the BrowseController in my external assembly.