Image for post
Image for post

At Unite.nl we prefer Angular as the frontend stack for the applications we develop and we use Azure as our cloud infrastructure. Over the last few months we’ve learned what it takes to properly host an Angular app in Azure.

In a few steps i’ll explain what we’ve done to run an Angular app on Azure with:
* A custom domain
* Free SSL
* Clean URLs (using Angulars PathLocationStrategy)
* Cache busting
* Compression

1. Setup Azure Storage

The output of your Angular build is a bunch of static HTML / Javascript / CSS files. You can put these on an Azure App Service Web App, but Azure also offers a cheaper and faster option: Azure Storage. …

About

Marc Mathijssen

.NET developer living in The Netherlands. I write stories because it helps me sharing and remembering knowledge.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store