You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the provider only has the AzureAppConfigurationRefreshOptions.Register method as a way to monitor individual key-values for refresh. By adding a new API, we can enable monitoring for all of the key-values to be loaded by the provider. Then, when a refresh is triggered, the provider will reload the configuration if any of the loaded key-values have changed in App Configuration. RegisterAll does not affect any key-values that are only specified in calls to Register.
In this example, since the provider selects all key-values with label null by default if no Select or SelectSnapshot statement is present, all of the key-values that have no label will be monitored when RegisterAll is called. If any of them have changed since the last refresh attempt, the configuration will be reloaded.
Currently, the provider only has the
AzureAppConfigurationRefreshOptions.Register
method as a way to monitor individual key-values for refresh. By adding a new API, we can enable monitoring for all of the key-values to be loaded by the provider. Then, when a refresh is triggered, the provider will reload the configuration if any of the loaded key-values have changed in App Configuration.RegisterAll
does not affect any key-values that are only specified in calls toRegister
.Proposed API: RegisterAll
In this example, since the provider selects all key-values with label
null
by default if noSelect
orSelectSnapshot
statement is present, all of the key-values that have no label will be monitored whenRegisterAll
is called. If any of them have changed since the last refresh attempt, the configuration will be reloaded.Now, changes to key-values that start with
TestApp
and have the labelprod
will trigger a configuration reload.The text was updated successfully, but these errors were encountered: