asp.net mvc 3 - Why dont i get error for following route map -
folks have question
why dont error following route map
routes.maproute("default", "{controller}/{action}/{id}", new { controller = "home", action = "index", id = "-1" }); if url similar http://localhost/
but following ,mapping gives "resource not found 404" error same url !
routes.maproute("default", "{xxxxxxxxx}/{yyyyy}/{id}", new { controller = "home", action = "index", id = "-1" });
whats difference between route maps ?
Comments
Post a Comment