Moving configuration items from one environment to another
Every application that you develop will have many configuration items (such as application settings and connection strings) stored in Web.Config
files for all .NET-based web applications.
In the traditional on-premises world, the Web.Config
file would be located in the server and the file would be accessible to all people who have access to the server. Although it is possible to encrypt all the configuration items of Web.Config
, this has its limitations, and they're not easy to decrypt every time you want to view or update them.
In the Azure PaaS world, with Azure App Services, you can still have the Web.Config
files and they work as they used to in the traditional on-premises world. However, an Azure App Service provides us with an additional feature in terms of application settings, where you can configure these settings (either manually or via ARM templates), and these settings are stored in an encrypted format...