How can I use the equivalent of "rake routes" with ASP.NET MVC
1 answer
One thing you can check: glimpse . It can show you how the routing engine picks your route for a given url.
If you want to assert that the routing is configured as you expect, given your url scheme, you can write unit tests for your routes ,
Reply to comment
How do you declaratively implement routes in MVC? I always thought that they should have compiled from C #, but perhaps you are using some kind of library that I have never heard of.
Also, you can argue that a given (set of) URLs that you do not intend to redirect are not routed.
0
source to share