A fully tested simple nuget package to help you test Rewrite rules in IIS.
The xml is parsed into managed objects which makes it really easy to test things are as expected. There are even some helpful extension methods to test regex matching.
Install-Package RewriteRuleTestHarness
var parser = new RewriteRulesParser();
InboundRules rules = parser.ParseInboundRules("C:\path\to\rewriterules.xml");
if(rules.Match.MatchesUrl("some-url-to-test"))
{
Console.WriteLine("YAY");
}
Rule rule = rules.FirstRuleToMatchUrl("correct-url");