title: How to have a route in ASP.NET MVC with a file extension that would be blocked by request filtering
body: <p>I have a route that basically looks like this:</p>
  
  <pre><code>Foo/{id}/Files/{*path}
  </code></pre>
  
  <p>I want it to match a URL such as:</p>
  
  <pre><code>http://mysite/Foo/Bar/Files/Baz.cs
  </code></pre>
  
  <p>However, I get an HTTP 404.7 error that says "The request filtering module is configured to deny the file extension."  I can remove the file extension from request filtering by modifying web.config, but I don't want my source code to be viewable.  How should I set this up?</p>