Imported from the CodePlex archive for reference purposes. Support for MvcCodeRouting has ended.
Commented on
Hello,
first of all thanks for the great job you have done with this library!
I would need to use custom names for some of the types and namespaces of my web application and I am wondering if McvCodeRouting supports this scenario. Basically, I would need to map a controller with a name like this:
TestApp.Controllers.MyCoolNamespace.MyController
To an url like this:
/my-cool-namespace/my-controller
I hoped that the RouteFormatter settings would allow me to do that but it seems that its support is limited to a simple casing-change scenario only.
Unfortunately, the following code throws an exception (Only case formatting is currently supported for Namespace route segments).
In the meanwhile, however, I've started a new MVC routing extension project on my own, built from scratch; so, unfortunately, I don't have the time to check the bounty of your new additions although I am sure they rock like everything else on this project.