Skip to content

Commit de1aa9b

Browse files
update
1 parent fe215f5 commit de1aa9b

File tree

2 files changed

+2
-24
lines changed

2 files changed

+2
-24
lines changed

src/Microsoft.Extensions.Configuration.AzureAppConfiguration/AzureAppConfigurationExtensions.cs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -92,28 +92,6 @@ public static IConfigurationBuilder AddAzureAppConfiguration(
9292
return configurationBuilder.AddAzureAppConfiguration(options => options.Connect(endpoint, credential), optional);
9393
}
9494

95-
/// <summary>
96-
/// Adds key-value data from a primary Azure App Configuration store and one or more replica stores to a configuration builder using endpoints with AAD authentication.
97-
/// This is a simplified overload that loads all key-values with no label. For advanced scenarios such as selecting specific keys,
98-
/// filtering by labels, configuring refresh, using feature flags, or resolving Key Vault references,
99-
/// use the overload that accepts an <see cref="Action{AzureAppConfigurationOptions}"/> parameter with options.Connect().
100-
/// </summary>
101-
/// <param name="configurationBuilder">The configuration builder to add key-values to.</param>
102-
/// <param name="endpoints">The list of endpoints used to connect to the configuration store and its replicas.</param>
103-
/// <param name="credential">The token credential used to authenticate requests to the configuration store.</param>
104-
/// <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.
105-
/// <exception cref="ArgumentException"/> will always be thrown when the caller gives an invalid input configuration (connection strings, endpoints, key/label filters...etc).
106-
/// </param>
107-
/// <returns>The provided configuration builder.</returns>
108-
public static IConfigurationBuilder AddAzureAppConfiguration(
109-
this IConfigurationBuilder configurationBuilder,
110-
IEnumerable<Uri> endpoints,
111-
TokenCredential credential,
112-
bool optional = false)
113-
{
114-
return configurationBuilder.AddAzureAppConfiguration(options => options.Connect(endpoints, credential), optional);
115-
}
116-
11795
/// <summary>
11896
/// 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.
11997
/// 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.

tests/Tests.AzureAppConfiguration.Functions.Worker/Tests.AzureAppConfiguration.Functions.Worker.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
55
<LangVersion>8.0</LangVersion>
66
<DelaySign>false</DelaySign>
77
<SignAssembly>true</SignAssembly>
@@ -10,7 +10,7 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" />
13+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
1414
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
1515
<PackageReference Include="Moq" Version="4.20.70" />
1616
<PackageReference Include="xunit" Version="2.7.0" />

0 commit comments

Comments
 (0)