The GoLive release of URL Rewrite Module is now available and has a lot of improvement thanks to the IIS Community feedback (and tons of internal brainstorm meetings!). A new feature is the ability to create Rewrite Rules by using Rewrite Templates, Rewrite Templates are UI extensions that help to simplify the creation of rules.
URL Rewrite Module includes 3 templates and more interesting, it allows you to add your own Rewrite Template.
Take a look to the following walkthrough if you haven’t play with Rewrite Templates:
I want to show you how easy is to write your own Rewrite Template extension, here is how this demo should look like:
As you know, iis.net has already some good articles that explain how to create an IIS Manager UI Module, so allow me to reuse the following article:
Follow the article above and once you are done with it, please do the following changes.
Download the demo from here:
To install it, you will need to GAC the assembly RewriteExtensibilityDemo.dll and register the module in administration.config by adding the following entry under the moduleProviders section:
<add name="RewriteExtensibilityDemo" type="ExtensibilityDemo.DemoModuleProvider, RewriteExtensibilityDemo, Version=18.104.22.168, Culture=neutral, PublicKeyToken=8975c3932a2fc4ae" />