title: IIS url rewrite | How to remove directory and extension?
body: <p>I have been struggling with the following for quite some time now:</p>
  
  <p>Default url: </p>
  
  <pre><code>examplesite.com/folder/about.cshtml
  </code></pre>
  
  <p>Desired url:</p>
  
  <pre><code>examplesite.com/about
  </code></pre>
  
  <p>Basically I want to accomplish two things:</p>
  
  <ul>
  <li>1 Remove the file extension with realtively compact code.</li>
  <li>2 Remove the folder that houses the about page.</li>
  </ul>
  
  <p>I have found some uncommon rules to achieve all the above, but they mostly contain a lot of redundant code that crashes my site when I test it with IIS 8.0.</p>
  
  <p>So I was hoping someone could share a rule that is compact and fits my needs. Or seperate rules with the same outcome.</p>
  
  <p>Every contribution is much appreciated :)</p>