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
thrownewInvalidOperationException("The environment variable 'AZURE_APPCONFIG_CONNECTION_STRING' is not set or is empty.");
107
105
options.Connect(connectionString)
108
-
// Load a nonexisting dummy key to skip configuration data if desired
109
-
.Select("_");
110
106
// Load all feature flags with no label. To load feature flags with specific keys and labels, set via FeatureFlagOptions.Select.
111
107
// Use the default refresh interval of 30 seconds. It can be overridden via FeatureFlagOptions.SetRefreshInterval.
112
108
.UseFeatureFlags();
@@ -117,7 +113,7 @@ You can connect to your App Configuration store using Microsoft Entra ID (recomm
117
113
The `UseFeatureFlags()` methodinstructstheprovidertoloadfeatureflags. Bydefault, allfeatureflagswithoutlabelsareloadedandrefreshedevery30seconds. Theselectionandrefreshbehavioroffeatureflagsareconfiguredindependentlyfromotherconfigurationkey-values. Youcancustomizethesebehaviorsbypassinga `FeatureFlagOptions` actiontothe `UseFeatureFlags` method. Use `FeatureFlagOptions.Select` tospecifythekeysandlabelsoffeatureflagstoload, anduse `FeatureFlagOptions.SetRefreshInterval` tooverridethedefaultrefreshinterval.
118
114
119
115
> [!TIP]
120
-
>Ifyoudon't want any configuration other than feature flags to be loaded to your application, you can call `Select("_")` to only load a nonexisting dummy key `"_"`. By default, all configuration key-values without labels in your App Configuration store will be loaded if no `Select` method is called.
116
+
>Ifyoudon't want any configuration other than feature flags to be loaded to your application, you can call `options.Select("_")` to only load a nonexisting dummy key `"_"`. By default, all configuration key-values without labels in your App Configuration store will be loaded if no `Select` method is called.
0 commit comments