Created
April 24, 2019 19:30
-
-
Save JanneMattila/d2f773f1f52f14edc37415058e4b52b7 to your computer and use it in GitHub Desktop.
Azure App Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ... | |
config.AddAzureAppConfiguration(options => | |
{ | |
// Use with connection string: | |
// options.Connect(connectionString) | |
// or with managed identity: | |
options.ConnectWithManagedIdentity(endpoint) | |
.Use("FeatureToggler:*") | |
.WatchAndReloadAll("FeatureToggler:UpdateKey", TimeSpan.FromSeconds(5)); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment