What's the best URL Rewriter?
Nothing better than Scott Guthrie's tips and tricks for rewriting Url with ASP.NET . The article suggests some good products to use, such as:
- UrlRewriter.net , open-source.
- UrlRewriting.net , open-source.
- Ionic ISAPI Rewrite , open-source for IIS 5/6.
- Helicon Tech ISAPI Rewrite , $ 99, for IIS 5/6.
source to share
You can try the routing engine available in .NET 3.5 SP1. It is used by ASP.NET MVC.
Check out here: Routing with ASP.NET Web Forms
The upcoming ASP.NET 4.0 will also improve support for routing with WebForms: ASP.NET 4.0 Routing WebForms - Part I
Since you did not specifically request a module written in managed code, and you did not restrict IIS to a specific version, I recommend Microsoft URL Rewrite Module , a module implemented in native code specific to IIS 7.0
source to share
I'm really a little shocked when people recommend using some third party tool for this, or even buying one!
It's pretty trivial to realize yourself; just make sure IIS maps wild-card requests to ASP.NET and then implements "BeginRequest" in global.asax; check if the url style is appropriate and then create a "real" url and use that! Easy and shouldn't take more than 20 minutes to get a simple sample. Then you can just tweak as needed ...
source to share
It seems that
Fusion URL Restart Managed URL seems to be the most updated tool because it says: Full support for .NET 2.0, 3.0 and 3.5. Full support for IIS 6.0 and IIS 7.0 (including integrated pipelines). Many other tools are not very pleasant with iis7 and do not allow pipeline integration. http://www.managedfusion.com/products/url-rewriter/
Scott Guthrie's article was great when it was written. However, it is heavily outdated today and I will no longer recommend the tools it offers.
source to share