Click here to Skip to main content
16,016,759 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,


How to do configuration for supporting fonts like Droid Sans,Oswald etc when we hosted the asp.net application to iis server



Please help me out
Posted

Have a look on similar QA:
here[^]
 
Share this answer
 
Hi,


Copy the below code and paste it into web.config file then it will work fine

<system.webserver>
    <staticcontent>
      <remove fileextension=".eot" />
      <mimemap fileextension=".eot" mimetype="application/vnd.ms-fontobject" />
      <mimemap fileextension=".woff" mimetype="application/font-woff" />
    </staticcontent>
    </system.webserver>
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900