SVG elements not rendered locally, but remotely?
<p>In my ASP .NET application, my SVG elements are not being rendered properly. I suppose it's because of some MIME-type complication.</p>

<p>Below you see my Web.Config file.</p>

<pre><code>&lt;?xml version="1.0"?&gt;
&lt;!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  --&gt;
&lt;configuration&gt;
  &lt;configSections&gt;
    &lt;section name="microsoft.visualstudio.testtools" type="Microsoft.VisualStudio.TestTools.UnitTesting.TestConfigurationSection, Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/&gt;
  &lt;/configSections&gt;
  &lt;system.web&gt;
    &lt;globalization culture="en-US" uiCulture="en-US"/&gt;
    &lt;customErrors mode="On"/&gt;
    &lt;pages validateRequest="false"/&gt;
    &lt;compilation debug="true"/&gt;
    &lt;webServices&gt;
      &lt;protocols&gt;
        &lt;clear /&gt;
        &lt;add name="HttpGet"/&gt;
        &lt;add name="HttpPost"/&gt;
      &lt;/protocols&gt;
    &lt;/webServices&gt;
    &lt;sessionState timeout="1440" /&gt;
  &lt;/system.web&gt;
  &lt;system.webServer&gt;
    &lt;modules runAllManagedModulesForAllRequests="true"/&gt;
    &lt;staticContent&gt;
      &lt;remove fileExtension=".svg" /&gt;
      &lt;remove fileExtension=".svgz" /&gt;
      &lt;mimeMap fileExtension=".svg" mimeType="image/svg+xml" /&gt;
      &lt;mimeMap fileExtension=".svgz" mimeType="image/svg+xml" /&gt;
    &lt;/staticContent&gt;
  &lt;/system.webServer&gt;
&lt;/configuration&gt;
</code></pre>

<p>What could be causing this? I can reconfirm the issue in all browsers.</p>
