With the help of an http module, a custom config handler and a few lines of code we can add the same ASP.NET 2.0 style URL Mapping to our ASP.NET 1.1 apps.
1) First lets start by creating a new Class Library project named 'URLMapping_HTTPModule'
2) Then create three files as listed below:
Public Class BaseModuleRewriter Implements System.Web.IHttpModule
Sub Init(ByVal app As HttpApplication) Implements IHttpModu... [More]
Rewriting URL paths in ASP.NET 2.0 is referred to as URL Mapping. Instead of putting some code in your Application_BeginRequest method, you can now just put a few lines in your Web.Config file and like magic you can rewrite those URL paths with ease.
With URL Mapping you can turn a not so freindly URL like ~/Blog/Post/11/12/2005/145.aspx into ~/TheCoolestPost.aspx
Example Web.Config File:
<?xml version="1.0" ?>
<configuration xmlns="http://sch... [More]