Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AzureAppConfigurationExtensions Class

Definition

Namespace:
Microsoft.Extensions.Configuration
Assembly:
Microsoft.Extensions.Configuration.AzureAppConfiguration.dll
Package:
Microsoft.Extensions.Configuration.AzureAppConfiguration v8.5.0
Package:
Microsoft.Extensions.Configuration.AzureAppConfiguration v8.6.0-preview

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

This type provides helper methods to make common use cases for Azure App Configuration easy.

public static class AzureAppConfigurationExtensions
type AzureAppConfigurationExtensions = class
Public Module AzureAppConfigurationExtensions
Inheritance
AzureAppConfigurationExtensions

Methods

Name Description
AddAzureAppConfiguration(IConfigurationBuilder, Action<AzureAppConfigurationOptions>, Boolean)

Adds key-value data from an Azure App Configuration store to a configuration builder using a fully configurable AzureAppConfigurationOptions callback for advanced scenarios. Use this overload when you need to: select keys by prefix, filter by labels, configure dynamic refresh, use feature flags, resolve Key Vault references, etc.

AddAzureAppConfiguration(IConfigurationBuilder, IEnumerable<String>, Boolean)

Adds key-value data from a primary Azure App Configuration store and one or more replica stores to a configuration builder using connection strings. This is a simplified overload that loads all key-values with no label. For advanced scenarios such as selecting specific keys, filtering by labels, configuring refresh, using feature flags, or resolving Key Vault references, use the overload that accepts an Action<T> parameter with options.Connect().

AddAzureAppConfiguration(IConfigurationBuilder, String, Boolean)

Adds key-value data from an Azure App Configuration store to a configuration builder using its connection string. This is a simplified overload that loads all key-values with no label. For advanced scenarios such as selecting specific keys, filtering by labels, configuring refresh, using feature flags, or resolving Key Vault references, use the overload that accepts an Action<T> parameter with options.Connect().

AddAzureAppConfiguration(IConfigurationBuilder, Uri, TokenCredential, Boolean)

Adds key-value data from an Azure App Configuration store to a configuration builder using endpoint with AAD authentication. This is a simplified overload that loads all key-values with no label. For advanced scenarios such as selecting specific keys, filtering by labels, configuring refresh, using feature flags, or resolving Key Vault references, use the overload that accepts an Action<T> parameter with options.Connect().

AddAzureAppConfiguration(IServiceCollection)

Adds Azure App Configuration services to the specified IServiceCollection.

Applies to


Feedback

Was this page helpful?