title: Simple Url Rewriting works with IIS Express but fails on IIS 10
body: <p>This is the request:</p>
  
  <pre><code>http://localhost:8080/!/angular/angular-loading-bar/0.9.0/loading-bar.min.css
  </code></pre>
  
  <p>I want it to be rewritten as:</p>
  
  <pre><code>http://localhost:8080/angular/angular-loading-bar/0.9.0/loading-bar.min.css
  </code></pre>
  
  <p>Only change is, <code>!</code> in the beginning will be removed.</p>
  
  <p>Here is the pattern I use:</p>
  
  <pre><code> &lt;system.webServer&gt;
    &lt;rewrite&gt;
      &lt;rules&gt;
        &lt;rule name="AngularJS Routes 1" stopProcessing="true"&gt;
          &lt;match url="!\/(\S+)" /&gt;           
          &lt;action type="Rewrite" url="/{R:1}" /&gt;
        &lt;/rule&gt;
        &lt;rule name="AngularJS Routes1" stopProcessing="true"&gt;
          &lt;match url=".*" /&gt;
          &lt;conditions logicalGrouping="MatchAll"&gt;
            &lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /&gt;
            &lt;add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /&gt;
            &lt;add input="{REQUEST_URI}" pattern="^/(api)" negate="true" /&gt;
          &lt;/conditions&gt;
          &lt;action type="Rewrite" url="/" /&gt;
        &lt;/rule&gt;
      &lt;/rules&gt;
    &lt;/rewrite&gt;
  &lt;/system.webServer&gt;
  </code></pre>
  
  <p>Funny enough, it works with IIS Express but not with IIS 10, although UrlRewriting module was installed and enabled.
  Even, under Inbound rules section of IIS, when I test the url it gives me the output as expected(removing "!"). But when I run the website it does not work.</p>