File tree Expand file tree Collapse file tree
MultiTenantApplicationSetup Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ The .NET Azure App Configuration Provider delivers configuration settings to the
1515
1616 | Key | Value |
1717 | ---- | -------|
18- | ExampleTenant : Name | Example Tenant , Inc. |
19- | ExampleTenant : Color | Green |
18+ | Fabrikam : Name | Fabrikam , Inc. |
19+ | Fabrikam : Color | Green |
2020
21212 . Setup the options pattern by creating the following classes.
2222
Original file line number Diff line number Diff line change 1010 // Load all keys that start with `WebDemo:` and have no label
1111 . Select ( "WebDemo:*" )
1212 // Configure to reload configuration if the registered key 'WebDemo:Sentinel' is modified.
13- // Use the default cache expiration of 30 seconds. It can be overridden via AzureAppConfigurationRefreshOptions.SetCacheExpiration.
13+ // Use the default cache expiration of 30 seconds. It can be overriden via AzureAppConfigurationRefreshOptions.SetCacheExpiration.
1414 . ConfigureRefresh ( refreshOptions =>
1515 {
1616 refreshOptions . Register ( "WebDemo:Sentinel" , refreshAll : true ) ;
1717 } )
1818 // Load all feature flags with no label. To load specific feature flags and labels, set via FeatureFlagOptions.Select.
19- // Use the default cache expiration of 30 seconds. It can be overridden via FeatureFlagOptions.CacheExpirationInterval.
19+ // Use the default cache expiration of 30 seconds. It can be overriden via FeatureFlagOptions.CacheExpirationInterval.
2020 . UseFeatureFlags ( ) ;
2121} ) ;
2222
You can’t perform that action at this time.
0 commit comments