Adding mimeType in Azure App Service

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. Basic example of web.config file for supporting mimeType’s

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.web>
</system.web>
<system.webServer>
<staticContent>
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
<mimeMap fileExtension=".mp4" mimeType="video/mp4" />
<mimeMap fileExtension=".webm" mimeType="video/webm" />
<mimeMap fileExtension=".ogm" mimeType="video/ogv" />
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
<mimeMap fileExtension=".woff2" mimeType="application/x-font-woff2" />
<mimeMap fileExtension=".js.min" mimeType="text/javascript" />
<mimeMap fileExtension=".json" mimeType="application/json" />
<mimeMap fileExtension=".ico" mimeType="image/x-icon" />
</staticContent>
</system.webServer>
</configuration>