Chris Pietschmann

husband, father, hacker, entrepreneur, futurist, innovator, autodidact


URL Mapping for ASP.NET 1.1

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: BaseModuleRewriter.vb Imports System.Web Public Class BaseModuleRewriter     Implements System.Web.IHttpModule     Sub Init(ByVal app As HttpApplication) Implements IHttpModu... [More]