Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- routes.MapRoute("mvc-default", "{controller}.mvc/{action}/{id}"
- , new { controller = "Home", action = "Index", id = (string)null });
- routes.MapRoute("Root", ""
- , new { controller = "Home", action = "Index", id = (string)null });
- HttpContext.Current.RewritePath(Request.ApplicationPath);
- HttpContext.Current.RewritePath(Request.ApplicationPath, false);
- routes.MapRoute(null, "{controller}.aspx/{action}");
- routes.MapRoute(
- "Default", // Route name
- "{controller}.aspx/{action}/{id}", // URL with parameters
- new { controller = "Home", action = "Index", id = "" } // Parameter defaults
- );
Add Comment
Please, Sign In to add comment