title: IgnoreRoute with file extension is not working in MVC
body: <p>I have a Content folder and i want all the html files inside the Content folder from getting accessed, so i added this line at the top of the RegisterRoutes() method in the RouteConfig.cs file as follows </p>
  
  <pre><code> routes.IgnoreRoute("{folder}/{resource}.html");
  </code></pre>
  
  <p>but still i am able to access the file.</p>
  
  <p>I even tried giving a static value like this</p>
  
  <pre><code>  routes.IgnoreRoute("Content/{resource}.html"); 
  </code></pre>
  
  <p>and like this  </p>
  
  <pre><code> routes.IgnoreRoute("Content/demo.html");
  </code></pre>
  
  <p>but still was able to access the file, am i missing some thing, how can i acheive this behaviour.</p>