When running web apps using Azures App Service Plan you may occasionally run into a problem where files or resources you have uploaded are not found even though they are where they should be. This usually results in a 404 error.
This can be down to MIME types. "Multipurpose Internet Mail Extensions" are a way of identifying files on the Internet. They describe the media type of content in either email or served by web servers or web apps and are intended to help guide a web browser in how the content is to be processed and displayed.
There are various ways of setting MIME types for your app but I find the quickest way is by defining them within your Web Apps web.config file. This works on Windows and Linux app service plans as both support web.config files.
Here's an example that shows how to serve MIME types for
- WOFF / WOFF2 Fonts