I have set up some User Friendly URL rules in IIS7 using the URL Rewrite module. This works perfectly on IIS7.
However, when I try to debug the site, the webserver instance that Visual Studio creates doesn’t seem to obey the rewrite rules.
For example,
http://localhost/friendly-url
works on IIS7, but
http://localhost:1800/friendly-url
returns a 404 error when debugging with Visual Studio 2008. Since the rewrite rules are present in web.config, I would have expected Visual Studio to obey them?
Wild Thing
Cassini doesn’t do URL rewriting. You might want to look at the recently announced IIS Express version which will.
Quoting from the linked article: