Alvaro Dias

How to serve static content from an Azure Web App

So, while prototyping an unrelated UX feature, I decided to deploy a simple website with some static JSON files to an Azure Web App. You've guessed right, it doesn't work!

It turns out that the MIME types aren't set (in my case a JSON file) by default.

Here's a link to a post explaining how you can fix this by adding the appropriate web.config entry: