Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: IIS7
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 16-Sep-12 22:19pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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>
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Have a look on similar QA:
here[^]
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Guruprasad.K.Basavaraju 490
1 Shai Vashdi 474
2 Sergey Alexandrovich Kryukov 291
3 OriginalGriff 135
4 praveen_07 115
0 Sergey Alexandrovich Kryukov 9,185
1 OriginalGriff 5,335
2 Peter Leow 4,040
3 Maciej Los 3,540
4 Abhinav S 3,308


Advertise | Privacy | Mobile
Web03 | 2.8.140415.2 | Last Updated 17 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid