Gray Wolf Corporation

Azure web.config for angular app

If you deploy an Angular app to Azure, you will also need to provide a web.config to allow the client-side routing to work correctly.

The attached gist is for a stand-alone angular app. If you are using Angular with Web API (in the same project), you will need to modify the config to allow your api calls to route.

Azure web.config for angular app
An unhandled error has occurred. Reload 🗙