After value in app configuration have changed,
the configuration in Azure App Service is not changed even I restart it
I wonder how can I make app service get the new configuration without any code?
After value in app configuration have changed,
the configuration in Azure App Service is not changed even I restart it
I wonder how can I make app service get the new configuration without any code?
You can force your App Service instance to reload the value from App Configuration by making any change to your existing application settings in App Service. According to this documentation:
Any configuration change to the app that results in a site restart causes an immediate refetch of all referenced key-values from the App Configuration store.
You could create a dummy application setting in App Service and change its value whenever you want to reload key-values from App Configuration.
how can I make app service get the new configuration without any code?
Enter the setting name in "Name" and its value in "Value" fields as shown below.
Once you add these settings in the configuration section of your App service, you can access these settings in your application for further use.
the configuration in Azure App Service is not changed even I restart it
AFAIK, the configuration values of Azure App Configuration will not reflect directly in the configuration of Azure App Service.
Azure App Service has its own configuration system, which includes application settings and connection strings that can be managed directly in the Azure portal.
You can fetch configuration values from Azure App Configuration in your App Service programmatically using SDKs or libraries (Azure.Extensions.AspNetCore.Configuration.AzureAppConfiguration nuget package).
References: Quickstart: Create an Azure App Configuration store | Microsoft Learn