Relative Content

Tag Archive for azure-web-app-serviceappsettingsazure-deployment

Environment variables for app settings in Azure App Service

I have a Web API in .NET 6 that uses the standard IConfiguration to get config/settings values from appsettings.json and is deployed to Azure App Service (Windows).
I’m deploying it with Visual Studio and I can see the code being updated in App Service. However, my changes in the appsettings.json were not reflected in the App Settings tab of the Environment variables page (in the Settings section). Note that the appsettings.json inside App Service was updated (I verified this with Kudu).
I don’t know how the previous developer created those environment variables (one for each value in appsettings.json).