Conditionally apply IIS URLRewrite rules
If you are using the IIS URLRewrite module to fix up your request URLs, you may well come across the need to conditionally apply rules. For example, the following rule redirects all “.aspx” pages in the root of the web application to an extensionless URL: In this rule, the name is preserved, but the extension […]