asp.net routing also fulfills the requirement of rewriting URLs, and even much more. With asp.net routing, you cannot just "rewrite URLs", but create custom handlers for various requests. However, asp.net routing requires at least asp.net sp1.
The main thing you do for simple routing work is to add several route handlers to Application_Start even inside the Global.asax.cs file.
protected void Application_Start(object sender, EventArgs e) { RegisterRoutes(RouteTable.Routes); } private static void RegisterRoutes(RouteCollection routes) { routes.Add("Routing1", new Route("/Blog/id/2","/Blog.aspx")); }
Paras Aug 25 2018-12-12T00: 00Z
source share