Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RouteTable.Routes.MapRoute("action", "api.mvc/{controller}/{action}", new {action = "Index"});
- HttpContext.Current.RewritePath(Request.ApplicationPath, false);
- IHttpHandler httpHandler = new MvcHttpHandler();
- httpHandler.ProcessRequest(HttpContext.Current);
- RouteTable.Routes.MapRoute("default", "", new {controller="Home", action = "Index" });
- <httpModules>
- <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing"/>
- </httpModules>
Add Comment
Please, Sign In to add comment