Partager via


AzureAppConfigurationExtensions Class

Definition

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