37 references to ConfigurationManager
aspire (1)
Program.cs (1)
52Configuration = new ConfigurationManager()
Aspire.Azure.Security.KeyVault.Tests (1)
SecurityKeyVaultPublicApiTests.cs (1)
85var configurationManager = new ConfigurationManager();
Aspire.Dashboard.Components.Tests (3)
Controls\ApplicationNameTests.cs (3)
23Services.AddSingleton<IConfiguration>(new ConfigurationManager()); 40Services.AddSingleton<IConfiguration>(new ConfigurationManager()); 62Services.AddSingleton<IConfiguration>(new ConfigurationManager());
Aspire.Dashboard.Tests (6)
Integration\DashboardClientAuthTests.cs (1)
129configuration: new ConfigurationManager(),
Integration\IntegrationTestHelpers.cs (1)
72var config = new ConfigurationManager()
Integration\Playwright\Infrastructure\DashboardServerFixture.cs (1)
45var config = new ConfigurationManager().AddInMemoryCollection(Configuration).Build();
Integration\StartupTests.cs (2)
162var config = new ConfigurationManager() 197var config = new ConfigurationManager()
Model\DashboardClientTests.cs (1)
24_configuration = new ConfigurationManager();
Aspire.Hosting.Azure.Tests (1)
BicepUtilitiesTests.cs (1)
167var config = new ConfigurationManager();
Aspire.Hosting.Testing (4)
DistributedApplicationFactory.cs (4)
194var existingConfig = new ConfigurationManager(); 216hostBuilderOptions.Configuration ??= new(); 259var existingConfig = new ConfigurationManager(); 315hostBuilderOptions.Configuration ??= new();
Aspire.Hosting.Tests (9)
SecretsStoreTests.cs (2)
26var configuration = new ConfigurationManager(); 49var configuration = new ConfigurationManager();
VersionChecking\VersionCheckServiceTests.cs (7)
22var configurationManager = new ConfigurationManager(); 47var configurationManager = new ConfigurationManager(); 74var configurationManager = new ConfigurationManager(); 109var configurationManager = new ConfigurationManager(); 141var configurationManager = new ConfigurationManager(); 166var configurationManager = new ConfigurationManager(); 200configuration ?? new ConfigurationManager(),
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)
37services.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)
89Configuration = settings.Configuration ?? new ConfigurationManager(); 125Configuration = settings.Configuration ?? new ConfigurationManager();
Microsoft.Maui (1)
Hosting\MauiAppBuilder.cs (1)
26 var configuration = new Lazy<ConfigurationManager>(() => new ConfigurationManager());