I've added mimetypes to web.config for .svg, .woff and .eot and they are not getting picked up Here's a repro deployed to cloud:.
http://mimetypetest.cloudapp.net/font.aspx
The font.aspx page will not pick up the .woff font and will display as the backup font ie9. But if you run the Web project (out of cassini) the font.aspx page will display the Felbridge font in ie9.
I have the following in my web.config:
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
<staticContent>
<remove fileExtension=".svg" />
<remove fileExtension=".eot" />
<remove fileExtension=".woff" />
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
<mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
<mimeMap fileExtension=".woff" mimeType="application/x-woff" />
</staticContent>
</system.webServer>
What’s the story here?
Karsten
- Moved by Brian AurichMicrosoft employee Wednesday, September 29, 2010 1:45 AM migration (From:Windows Azure)