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
/// Adds key-value data from an Azure App Configuration store to a configuration builder.
34
+
/// Adds key-value data from an Azure App Configuration store to a configuration builder using its connection string.
35
+
/// This is a simplified overload that loads all key-values with no label. For advanced scenarios such as selecting specific keys,
36
+
/// filtering by labels, configuring refresh, using feature flags, or resolving Key Vault references,
37
+
/// use the overload that accepts an <see cref="Action{AzureAppConfigurationOptions}"/> parameter with options.Connect().
34
38
/// </summary>
35
39
/// <param name="configurationBuilder">The configuration builder to add key-values to.</param>
36
40
/// <param name="connectionString">The connection string used to connect to the configuration store.</param>
@@ -47,7 +51,10 @@ public static IConfigurationBuilder AddAzureAppConfiguration(
47
51
}
48
52
49
53
/// <summary>
50
-
/// Adds key-value data from an Azure App Configuration store to a configuration builder.
54
+
/// Adds key-value data from a primary Azure App Configuration store and one or more replica stores to a configuration builder using connection strings.
55
+
/// This is a simplified overload that loads all key-values with no label. For advanced scenarios such as selecting specific keys,
56
+
/// filtering by labels, configuring refresh, using feature flags, or resolving Key Vault references,
57
+
/// use the overload that accepts an <see cref="Action{AzureAppConfigurationOptions}"/> parameter with options.Connect().
51
58
/// </summary>
52
59
/// <param name="configurationBuilder">The configuration builder to add key-values to.</param>
53
60
/// <param name="connectionStrings">The list of connection strings used to connect to the configuration store and its replicas.</param>
@@ -64,7 +71,30 @@ public static IConfigurationBuilder AddAzureAppConfiguration(
64
71
}
65
72
66
73
/// <summary>
67
-
/// Adds key-value data from an Azure App Configuration store to a configuration builder.
74
+
/// Adds key-value data from an Azure App Configuration store to a configuration builder using endpoint with AAD authentication.
75
+
/// This is a simplified overload that loads all key-values with no label. For advanced scenarios such as selecting specific keys,
76
+
/// filtering by labels, configuring refresh, using feature flags, or resolving Key Vault references,
77
+
/// use the overload that accepts an <see cref="Action{AzureAppConfigurationOptions}"/> parameter with options.Connect().
78
+
/// </summary>
79
+
/// <param name="configurationBuilder">The configuration builder to add key-values to.</param>
80
+
/// <param name="endpoint">The endpoint used to connect to the configuration store.</param>
81
+
/// <param name="credential">The token credential used to authenticate requests to the configuration store.</param>
82
+
/// <param name="optional">Determines the behavior of the App Configuration provider when an exception occurs while loading data from server. If false, the exception is thrown. If true, the exception is suppressed and no settings are populated from Azure App Configuration.
83
+
/// <exception cref="ArgumentException"/> will always be thrown when the caller gives an invalid input configuration (connection strings, endpoints, key/label filters...etc).
/// Adds key-value data from an Azure App Configuration store to a configuration builder using a fully configurable <see cref="AzureAppConfigurationOptions"/> callback for advanced scenarios.
97
+
/// 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.
68
98
/// </summary>
69
99
/// <param name="configurationBuilder">The configuration builder to add key-values to.</param>
70
100
/// <param name="action">A callback used to configure Azure App Configuration options.</param>
0 commit comments