Url Rewriting

Jesse talks about URL rewriting and propose a, well, solution to the problem. I know where he comes from, but there’s a much much easier way to handle it. I will detail it in my master template architecture paper (yes, I’m getting late in article writing these days) but you really just need to implement an IHttpHandler and compile the aspx page yourself…

Obviously the process (taking one url, changing it to call another url) is different than doing the work yourself, but you achieve the same goal, as it’s exactly what .net is there for. And the HttpContext being constructed on the original URL, no need to change anything, it will just work.

Ads