I am trying to add bootstrap glyphicons-halflings-regular.svg to my web site. Locally everything works fine, but on Azure, I have 404 errors:
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
or when I add below staticContent section to my web.config
<staticContent>
<remove fileExtension=".woff" />
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
<remove fileExtension=".ttf" />
<mimeMap fileExtension=".ttf" mimeType="application/octet-stream" />
<remove fileExtension=".svg" />
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
</staticContent>
I got this error:
The controller for path '/Content/fonts/glyphicons-halflings-regular.woff' was not found or does not implement IController.
How should I properly configure my ASP.NET site to avoid the above errors?