Scott Guthrie has written up what’s got to be the authoritative guide to URL rewriting in ASP.NET.
I haven’t yet implemented any of those tricks, but I do at least try to ensure that the majority of my pages are in their own folders and are the Default page, so URLs don’t look quite as ugly when I email them out and the technology behind the site is somewhat masked*. This all goes to hell, of course, on a postback, but Scott’s tips on using Control Adapters might do the trick for getting rid of the “Default.aspx” in the URL.
* (Not that I’m about to migrate away from ASP.NET of course…)
Technorati Tags: ASP.NET, URL Rewriting
Post a Comment