23 references to ConfigurationManager
Aspire.Dashboard.Components.Tests (2)
Controls\ApplicationNameTests.cs (2)
21Services.AddSingleton<IConfiguration>(new ConfigurationManager()); 39Services.AddSingleton<IConfiguration>(new ConfigurationManager());
Aspire.Dashboard.Tests (6)
Integration\DashboardClientAuthTests.cs (1)
132configuration: new ConfigurationManager(),
Integration\IntegrationTestHelpers.cs (1)
72var config = new ConfigurationManager()
Integration\Playwright\Infrastructure\DashboardServerFixture.cs (1)
46var config = new ConfigurationManager().AddInMemoryCollection(Configuration).Build();
Integration\StartupTests.cs (2)
155var config = new ConfigurationManager() 190var config = new ConfigurationManager()
Model\DashboardClientTests.cs (1)
26_configuration = new ConfigurationManager();
Aspire.Hosting.Azure.Tests (1)
AzureBicepProvisionerTests.cs (1)
180var config = new ConfigurationManager();
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
158var cfg = hostBuilderOptions.Configuration ??= new();
Aspire.Hosting.Tests (1)
Utils\TestDistributedApplicationBuilder.cs (1)
96var cfg = hostBuilderOptions.Configuration ??= new();
Microsoft.AspNetCore (3)
WebApplicationBuilder.cs (3)
36var configuration = new ConfigurationManager(); 84var configuration = new ConfigurationManager(); 151var configuration = new ConfigurationManager();
Microsoft.AspNetCore.Authentication (1)
DefaultAuthenticationConfigurationProvider.cs (1)
14public DefaultAuthenticationConfigurationProvider() : this(new ConfigurationManager())
Microsoft.AspNetCore.Authentication.Test (4)
AuthenticationMiddlewareTests.cs (1)
213serviceCollection.AddSingleton<IConfiguration>(new ConfigurationManager());
RemoteAuthenticationTests.cs (1)
22s.AddSingleton<IConfiguration>(new ConfigurationManager());
WsFederation\WsFederationTest.cs (1)
30services.AddSingleton<IConfiguration>(new ConfigurationManager());
WsFederation\WsFederationTest_Handler.cs (1)
28services.AddSingleton<IConfiguration>(new ConfigurationManager());
Microsoft.AspNetCore.Mvc.Testing (1)
DeferredHostBuilder.cs (1)
18private readonly ConfigurationManager _hostConfiguration = new();
Microsoft.Extensions.Hosting (2)
HostApplicationBuilder.cs (2)
87Configuration = settings.Configuration ?? new ConfigurationManager(); 123Configuration = settings.Configuration ?? new ConfigurationManager();
Microsoft.Maui (1)
Hosting\MauiAppBuilder.cs (1)
26 var configuration = new Lazy<ConfigurationManager>(() => new ConfigurationManager());