ASP.NET 2.0 Resources

Powered by Blogger

Url Rewriting with ASP.NET 2.0

Today I was researching some options how to rewrite URL's for SEO and accessability in ASP.NET 2.0. I came across some blogposts and finally found this cool site - http://www.urlrewriting.net/. I'm investigating the code right now, but it seems they resolved quite a few commot issues, for example

  • Master page support
  • Correct page postbacks
  • Theeming and skinning

There is sample project and full source code available. Url rewriting is implemented as HTTP module configurable from web.config file. But even this solution has it's own drawbacks caused by pure ASP.NET design. By default it's not possible to rewrite requests for files that are not handled by ASP.NET 2.0 runtime.

Created dolly