Managing Configuration and App Settings for Multiple Environments in Your CD Pipeline
Apr 5, 2017Vijay Machiraju

Summary
This post details how to manage configuration and app settings for multiple environments in a CD pipeline using Visual Studio Team Services. It explains two approaches: transforming web.config files before deployment using the 'Azure App Service Deploy' task with XML variable substitution, and applying settings directly to Azure websites using PowerShell cmdlets like 'Set-AzureRmWebApp' or a marketplace extension. It highlights the benefits of managing configuration through VSTS, including maintainability, reduced update locations, fewer mistakes, enhanced security, and increased reliability.
More from the Azure DevOps Pipelines for Dev-to-Prod Promotion trail
- Azure Developer CLI: From Dev to Prod with Azure DevOps Pipelines
- Azure Developer CLI: From Dev to Prod with One Click
- February Patches for Azure DevOps Server
- Revolutionizing Requirement Gathering: Azure DevOps Meets Azure OpenAI using Semantic kernel
- Deploy a Java application to Azure App Service using GitHub Actions