When it comes to host files, a lot of developers start to think about App Services of even on-premises servers. If this is a good way, it might be a bit “overkill” when you just have some static files that you want to share.

So what can we do instead? Well, one possibility is to use the “Static website” feature of the Azure Blob Storage!

On Azure Storage General Purpose v2 accounts, you can turn on that feature directly from the portal:

Once this is done, you can connect to your storage and see a new container named “$web“:

Every files you’ll upload on that container will then be available directly with HTTP GET requests, thanks to the dedicated endpoint corresponding to your storage:

As you can see, this is a really simple (but really powerful) feature of the Storage accounts provided by Azure!

Happy coding!


How to use FontAwesome in an HTML 5 Canvas [SQL Server] Check if a job has already been started or scheduled

Leave a Reply

Your email address will not be published. Required fields are marked *