MVC ActionLink generating NON-Restul URL AFTER adding constraints
- by brianstewey
Hello
I have a custom route that without constraints generates a Restful URL with an ActionLink.
Route -
routes.MapRoute(
"Blog", // Route name
"Blog/{d}/{m}/{y}", // URL with parameters,
new { controller = "Blog", action = "Retrieve" }
Generates -
http://localhost:2875/Blog/12/1/2010
From -
…