title: Add MIME mapping in web.config for IIS Express
body: <p>I need to add a new MIME mapping for .woff file extensions to IIS Express.</p>
  
  <p>If I add the following snippet to the "applicationhost.config" of IIS Express it works fine:</p>
  
  <pre><code>&lt;staticContent lockAttributes="isDocFooterFileName"&gt;
      &lt;mimeMap fileExtension=".woff" mimeType="font/x-woff" /&gt;
      ...
  </code></pre>
  
  <p>But I would actually like to do add it to my "web.config" so that not every developer would need to change their "applicationhost.config" locally.</p>
  
  <p>So I removed it again from the "applicationhost.config" file and added the following snippet to the project's "web.config":</p>
  
  <pre><code>&lt;system.webServer&gt;
    ...
    &lt;staticContent&gt;
      &lt;mimeMap fileExtension=".woff" mimeType="font/x-woff" /&gt;
    &lt;/staticContent&gt;
  &lt;/system.webServer&gt;
  </code></pre>
  
  <p>Unfortunately it doesn't seem to work that way because when I try to access a .woff file I end up with a HTTP 404.3 error.</p>
  
  <p>What am I doing wrong?</p>