Wednesday, April 26, 2023

Verify configuration files deployed to Azure App Services with type keyword

We typically deploy our web applications to Azure App Service using CI/CD pipelines. Within these pipelines, we often perform variable transformations based on the targeted environment. This may include Connection Strings or API endpoints

How do we ensure that our variables are correctly transformed and our configuration files are in proper order? Here's a trick I use.

Navigate to the specific app service instance and click on "Console" under "Deployment Tools".








You can utilize the Windows command shell with the type keyword as follows.

type appsettings.json

It will enable you to view your deployed configuration file.

No comments: