Thoughts on life, liberty, and information technology

A URL rewriting library for ASP.Net 2.0

While working on a client project, I needed some URL rewriting code. Effectively, I wanted to turn this:

/4/Page.aspx?

… into this:

/Page.aspx?id=4

Sure, I’ve done URL rewriting in the past using the Application_BeginRequest method, but I wanted something more modular, scalable, and powerful. What I found was http://urlrewriting.net/en/Default.aspx.
That site offers a fantastic, free, open-source solution for ASP.Net 2.0 Web sites that need URL rewriting functionality. Implemented as an HTTP handler, it uses regular expressions for maximum power and flexibility, and it only takes a few minutes to integrate with your project. Highly recommended!

Leave a comment