Hi,
I am using MVC4 and IIS 7.
I have some font files with extension ".woff", ".eot". Whenever I am running my site, I see in fiddler the font file with extention ".eot" is not downloaded.
Fiddler says: for font file : ProximaNova-Regular.eot Content-type: text/html, charset=utf-8 which is WRONG
ProximaNova.woff it says Content-type: font/x-woff which is CORRECT.
I have added the MIME types in web.config as shown below:
<staticContent><remove fileExtension=".eot" /><mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" /><mimeMap fileExtension=".otf" mimeType="font/otf" /><mimeMap fileExtension=".woff" mimeType="font/x-woff" /></staticContent>
Any ideas why its getting wrong content-type ?
Bcoz of wrong content type I am getting error in requests.