URL Rewriting in ASP.NET 2.0

Posted 5/11/2006 11:12 AM by Steve | Categories: ASP.NET

CliqueSite NewsBlog (the web app this blog runs on) uses PageParser.GetCompiledPageInstance in it's URL rewriting logic.  Unfortunately, this doesn't work in a medium trust environment, like those of most shared hosting providers.  So I needed to find a different method of rewriting the URLs for the links to blog items.  A little searching led me to urlrewriting.net. With this URL rewriting solution and some simple changes to the web.config, my links are now working This looks to be a nice URL rewriting solution.  It's simple to use and supports regular expressions unlike ASP.NET 2.0's built in solution.

Comments:

Post your comments:

Anti-spam Key
Please Type in the letters shown above (this helps prevent spam):

Name:

URL (Optional):


Your Comments:

Search



www This site

Blog Topics

Skip Navigation Links.