Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

add mime type for woff in web.config

<system.webServer>
  <staticContent>
     <!-- remove first in case they are defined in IIS already, which would cause a runtime error -->
     <remove fileExtension=".woff" />
     <remove fileExtension=".woff2" />
     <mimeMap fileExtension=".woff" mimeType="font/woff" />
     <mimeMap fileExtension=".woff2" mimeType="font/woff2" />
  </staticContent>
</system.webServer>
Comment

Proper MIME type for .woff2 fonts

<system.webServer>
  <staticContent>
    <remove fileExtension=".woff2" />
    <mimeMap fileExtension=".woff2" mimeType="font/woff2" />
  </staticContent>
</system.webServer>
Comment

PREVIOUS NEXT
Code Example
Csharp :: convert string to list int c# 
Csharp :: c# foreach on a dictionary 
Csharp :: unity rotate direction by angle 
Csharp :: movetowards unity 
Csharp :: how to put double quotes in a string c# 
Csharp :: mapping dictionary to object c# 
Csharp :: 3d perlin noise unity 
Csharp :: httpwebrequest c# example 
Csharp :: contains char c# 
Csharp :: unity raycast 2d 
Csharp :: unity actions 
Csharp :: getcomponent unity 
Csharp :: hide button unity 
Csharp :: c# new object without class 
Csharp :: jagged array c# 
Csharp :: c# set datetime to null value 
Csharp :: c# linq select only unique values from list 
Csharp :: httpcontext in .net standard 
Csharp :: c# dictionary values to list 
Csharp :: C# how to use if and else 
Csharp :: c# see if list contains any duplicates 
Csharp :: valid URL check in c# 
Csharp :: dotnet automapper.extensions.microsoft.dependencyinjection 
Csharp :: checking if character is a digit or not in c# 
Csharp :: if statement c# 
Csharp :: convert object to httpcontent c# 
Csharp :: ternary operator c# 
Csharp :: c# get type of class 
Csharp :: modulus program 
Csharp :: how to define a function in c# 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =