2 writes to Configuration
Microsoft.Extensions.Hosting (2)
HostApplicationBuilder.cs (2)
87Configuration = settings.Configuration ?? new ConfigurationManager(); 123Configuration = settings.Configuration ?? new ConfigurationManager();
298 references to Configuration
Aspire.Azure.AI.OpenAI.Tests (13)
AspireAzureAIOpenAIExtensionsTests.cs (5)
30builder.Configuration.AddInMemoryCollection([ 61builder.Configuration.AddInMemoryCollection([ 116builder.Configuration.AddInMemoryCollection([ 132builder.Configuration.AddInMemoryCollection([ 165builder.Configuration.AddInMemoryCollection([
AspireConfigurableOpenAIExtensionsTests.cs (8)
21builder.Configuration.AddInMemoryCollection([ 44builder.Configuration.AddInMemoryCollection([ 71builder.Configuration.AddInMemoryCollection([ 98builder.Configuration.AddInMemoryCollection([ 126builder.Configuration.AddInMemoryCollection([ 144builder.Configuration.AddInMemoryCollection([ 171builder.Configuration.AddInMemoryCollection([ 198builder.Configuration.AddInMemoryCollection([
Aspire.Azure.Data.Tables.Tests (5)
AspireTablesExtensionsTests.cs (5)
22builder.Configuration.AddInMemoryCollection([ 49builder.Configuration.AddInMemoryCollection([ 78builder.Configuration.AddInMemoryCollection([ 107builder.Configuration.AddInMemoryCollection([ 132builder.Configuration.AddInMemoryCollection([
Aspire.Azure.Messaging.EventHubs.Tests (10)
AspireEventHubsExtensionsTests.cs (10)
81builder.Configuration.AddInMemoryCollection([ 128builder.Configuration.AddInMemoryCollection([ 197builder.Configuration.AddInMemoryCollection([ 259builder.Configuration.AddInMemoryCollection([ 325builder.Configuration.AddInMemoryCollection([ 371builder.Configuration.AddInMemoryCollection([ 384builder.Configuration.AddInMemoryCollection([ 419builder.Configuration.AddInMemoryCollection([ 502builder.Configuration.AddInMemoryCollection([ 545builder.Configuration.AddInMemoryCollection([
Aspire.Azure.Messaging.ServiceBus.Tests (6)
AspireServiceBusExtensionsTests.cs (6)
22builder.Configuration.AddInMemoryCollection([ 49builder.Configuration.AddInMemoryCollection([ 78builder.Configuration.AddInMemoryCollection([ 107builder.Configuration.AddInMemoryCollection([ 132builder.Configuration.AddInMemoryCollection([ 163builder.Configuration.AddInMemoryCollection([
Aspire.Azure.Messaging.WebPubSub.Tests (8)
AspireWebPubSubExtensionsTests.cs (8)
23builder.Configuration.AddInMemoryCollection([ 51builder.Configuration.AddInMemoryCollection([ 88builder.Configuration.AddInMemoryCollection([ 118builder.Configuration.AddInMemoryCollection([ 144builder.Configuration.AddInMemoryCollection([ 159builder.Configuration.AddInMemoryCollection([ 170builder.Configuration.AddInMemoryCollection([ 186builder.Configuration.AddInMemoryCollection([
Aspire.Azure.Search.Documents.Tests (2)
AspireAzureSearchExtensionsTests.cs (2)
23builder.Configuration.AddInMemoryCollection([ 76builder.Configuration.AddInMemoryCollection([
Aspire.Azure.Security.KeyVault.Tests (7)
AspireKeyVaultExtensionsTests.cs (7)
25builder.Configuration.AddInMemoryCollection([ 54builder.Configuration.AddInMemoryCollection([ 80builder.Configuration.AddInMemoryCollection([ 84builder.Configuration.AddAzureKeyVaultSecrets("secrets", configureClientOptions: o => 142Assert.Equal("Secret 1 Value", builder.Configuration["super-secret-1"]); 143Assert.Equal("Secret 2 Value", builder.Configuration["super-secret-2"]); 179builder.Configuration.AddInMemoryCollection([
Aspire.Azure.Storage.Blobs.Tests (5)
AspireBlobStorageExtensionsTests.cs (5)
22builder.Configuration.AddInMemoryCollection([ 49builder.Configuration.AddInMemoryCollection([ 78builder.Configuration.AddInMemoryCollection([ 107builder.Configuration.AddInMemoryCollection([ 132builder.Configuration.AddInMemoryCollection([
Aspire.Azure.Storage.Queues.Tests (5)
AspireQueueStorageExtensionsTests.cs (5)
22builder.Configuration.AddInMemoryCollection([ 49builder.Configuration.AddInMemoryCollection([ 78builder.Configuration.AddInMemoryCollection([ 107builder.Configuration.AddInMemoryCollection([ 132builder.Configuration.AddInMemoryCollection([
Aspire.Components.Common.Tests (5)
ConformanceTests.cs (5)
242PopulateConfiguration(builder.Configuration, key); 382builder.Configuration.AddInMemoryCollection([ 404builder.Configuration.AddInMemoryCollection([ 472PopulateConfiguration(builder.Configuration, key); 542PopulateConfiguration(builder.Configuration, key);
Aspire.Confluent.Kafka.Tests (14)
ConsumerConfigurationTests.cs (5)
23builder.Configuration.AddInMemoryCollection([ 55builder.Configuration.AddInMemoryCollection([ 88builder.Configuration.AddInMemoryCollection([ 132builder.Configuration.AddInMemoryCollection([ 248builder.Configuration.AddJsonStream(jsonStream);
ConsumerConformanceTests.cs (1)
92builder.Configuration.AddInMemoryCollection([
MetricsTests.cs (2)
26builder.Configuration.AddInMemoryCollection([ 143builder.Configuration.AddInMemoryCollection([
ProducerConfigurationTests.cs (5)
21builder.Configuration.AddInMemoryCollection([ 50builder.Configuration.AddInMemoryCollection([ 82builder.Configuration.AddInMemoryCollection([ 122builder.Configuration.AddInMemoryCollection([ 237builder.Configuration.AddJsonStream(jsonStream);
ProducerConformanceTests.cs (1)
88builder.Configuration.AddInMemoryCollection([
Aspire.Elastic.Clients.Elasticsearch.Tests (3)
AspireElasticClientExtensionsTest.cs (3)
99builder.Configuration.AddInMemoryCollection([ 125builder.Configuration.AddInMemoryCollection([ 173builder.Configuration.AddInMemoryCollection([
Aspire.Hosting (15)
DistributedApplicationBuilder.cs (14)
58public ConfigurationManager Configuration => _innerBuilder.Configuration; 149_innerBuilder.Logging.AddConfiguration(_innerBuilder.Configuration.GetSection("Logging")); 157_innerBuilder.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 164_executionContextOptions = _innerBuilder.Configuration["Publishing:Publisher"] switch 193_innerBuilder.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 215if (!IsDashboardUnsecured(_innerBuilder.Configuration)) 219_innerBuilder.Configuration.AddInMemoryCollection( 227if (_innerBuilder.Configuration[KnownConfigNames.DashboardFrontendBrowserToken] is not { Length: > 0 } browserToken) 233_innerBuilder.Configuration.AddInMemoryCollection( 241if (_innerBuilder.Configuration[KnownConfigNames.DashboardResourceServiceClientApiKey] is not { Length: > 0 } apiKey) 247_innerBuilder.Configuration.AddInMemoryCollection( 258_innerBuilder.Configuration.AddInMemoryCollection( 387_innerBuilder.Configuration.AddCommandLine(options.Args ?? [], switchMappings); 388_innerBuilder.Services.Configure<PublishingOptions>(_innerBuilder.Configuration.GetSection(PublishingOptions.Publishing));
IDistributedApplicationBuilder.cs (1)
55/// <inheritdoc cref="HostApplicationBuilder.Configuration" />
Aspire.Hosting.Azure.Tests (5)
AzureCosmosDBEmulatorFunctionalTests.cs (3)
93hb.Configuration[$"ConnectionStrings:{db.Resource.Name}"] = await db.Resource.ConnectionStringExpression.GetValueAsync(default); 166hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 212hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?>
AzureEventHubsExtensionsTests.cs (1)
77hb.Configuration["ConnectionStrings:eventhubns"] = await eventHub.Resource.ConnectionStringExpression.GetValueAsync(CancellationToken.None);
AzureStorageEmulatorFunctionalTests.cs (1)
78hb.Configuration["ConnectionStrings:BlobConnection"] = await storage.Resource.ConnectionStringExpression.GetValueAsync(CancellationToken.None);
Aspire.Hosting.Elasticsearch.Tests (3)
ElasticsearchFunctionalTests.cs (3)
47hb.Configuration[$"ConnectionStrings:{elasticsearch.Resource.Name}"] = await elasticsearch.Resource.ConnectionStringExpression.GetValueAsync(default); 110hb.Configuration[$"ConnectionStrings:{elasticsearch1.Resource.Name}"] = await elasticsearch1.Resource.ConnectionStringExpression.GetValueAsync(default); 155hb.Configuration[$"ConnectionStrings:{elasticsearch2.Resource.Name}"] = await elasticsearch2.Resource.ConnectionStringExpression.GetValueAsync(default);
Aspire.Hosting.Garnet.Tests (3)
GarnetFunctionalTests.cs (3)
78hb.Configuration[$"ConnectionStrings:{garnet.Resource.Name}"] = await garnet.Resource.ConnectionStringExpression.GetValueAsync(default); 157hb.Configuration[$"ConnectionStrings:{garnet1.Resource.Name}"] = $"{await garnet1.Resource.ConnectionStringExpression.GetValueAsync(default)}"; 208hb.Configuration[$"ConnectionStrings:{garnet2.Resource.Name}"] = $"{await garnet2.Resource.ConnectionStringExpression.GetValueAsync(default)}";
Aspire.Hosting.Kafka.Tests (3)
KafkaFunctionalTests.cs (3)
76hb.Configuration[$"ConnectionStrings:{kafka.Resource.Name}"] = await kafka.Resource.ConnectionStringExpression.GetValueAsync(default); 169hb.Configuration[$"ConnectionStrings:{kafka1.Resource.Name}"] = await kafka1.Resource.ConnectionStringExpression.GetValueAsync(default); 221hb.Configuration[$"ConnectionStrings:{kafka2.Resource.Name}"] = await kafka2.Resource.ConnectionStringExpression.GetValueAsync(default);
Aspire.Hosting.Milvus.Tests (3)
MilvusFunctionalTests.cs (3)
36hb.Configuration[$"ConnectionStrings:{db.Resource.Name}"] = await db.Resource.ConnectionStringExpression.GetValueAsync(default); 110hb.Configuration[$"ConnectionStrings:{db1.Resource.Name}"] = await db1.Resource.ConnectionStringExpression.GetValueAsync(default); 158hb.Configuration[$"ConnectionStrings:{db2.Resource.Name}"] = await db2.Resource.ConnectionStringExpression.GetValueAsync(default);
Aspire.Hosting.MongoDB.Tests (4)
MongoDbFunctionalTests.cs (4)
89hb.Configuration[$"ConnectionStrings:{db.Resource.Name}"] = await db.Resource.ConnectionStringExpression.GetValueAsync(default); 149hb.Configuration[$"ConnectionStrings:{db1.Resource.Name}"] = await db1.Resource.ConnectionStringExpression.GetValueAsync(default); 196hb.Configuration[$"ConnectionStrings:{db2.Resource.Name}"] = await db2.Resource.ConnectionStringExpression.GetValueAsync(default); 317hb.Configuration[$"ConnectionStrings:{db.Resource.Name}"] = await db.Resource.ConnectionStringExpression.GetValueAsync(default);
Aspire.Hosting.MySql.Tests (5)
MySqlFunctionalTests.cs (5)
91hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 164hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 234hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 340hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 410hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?>
Aspire.Hosting.Nats.Tests (5)
NatsFunctionalTests.cs (5)
41hb.Configuration[$"ConnectionStrings:{nats.Resource.Name}"] = await nats.Resource.ConnectionStringExpression.GetValueAsync(default); 87hb.Configuration[$"ConnectionStrings:{nats.Resource.Name}"] = connectionString; 135hb.Configuration[$"ConnectionStrings:{nats.Resource.Name}"] = modifiedConnectionString; 192hb.Configuration[$"ConnectionStrings:{nats1.Resource.Name}"] = await nats1.Resource.ConnectionStringExpression.GetValueAsync(default); 240hb.Configuration[$"ConnectionStrings:{nats2.Resource.Name}"] = await nats2.Resource.ConnectionStringExpression.GetValueAsync(default);
Aspire.Hosting.Oracle.Tests (4)
OracleFunctionalTests.cs (4)
52hb.Configuration[$"ConnectionStrings:{db.Resource.Name}"] = await db.Resource.ConnectionStringExpression.GetValueAsync(default); 135hb.Configuration[$"ConnectionStrings:{db1.Resource.Name}"] = await db1.Resource.ConnectionStringExpression.GetValueAsync(default); 196hb.Configuration[$"ConnectionStrings:{db2.Resource.Name}"] = await db2.Resource.ConnectionStringExpression.GetValueAsync(default); 310hb.Configuration[$"ConnectionStrings:{db.Resource.Name}"] = await db.Resource.ConnectionStringExpression.GetValueAsync(default);
Aspire.Hosting.PostgreSQL.Tests (4)
PostgresFunctionalTests.cs (4)
121hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 237hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 298hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 390hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?>
Aspire.Hosting.Qdrant.Tests (3)
QdrantFunctionalTests.cs (3)
44hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 128hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 173hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?>
Aspire.Hosting.RabbitMQ.Tests (3)
RabbitMQFunctionalTests.cs (3)
74hb.Configuration[$"ConnectionStrings:{rabbitMQ.Resource.Name}"] = await rabbitMQ.Resource.ConnectionStringExpression.GetValueAsync(default); 134hb.Configuration[$"ConnectionStrings:{rabbitMQ1.Resource.Name}"] = await rabbitMQ1.Resource.ConnectionStringExpression.GetValueAsync(default); 191hb.Configuration[$"ConnectionStrings:{rabbitMQ2.Resource.Name}"] = await rabbitMQ2.Resource.ConnectionStringExpression.GetValueAsync(default);
Aspire.Hosting.Redis.Tests (7)
RedisFunctionalTests.cs (7)
103hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 314hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 350hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 400hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 435hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 484hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 514hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?>
Aspire.Hosting.SqlServer.Tests (3)
SqlServerFunctionalTests.cs (3)
81hb.Configuration[$"ConnectionStrings:{tempDb.Resource.Name}"] = await tempDb.Resource.ConnectionStringExpression.GetValueAsync(default); 183hb1.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 265hb2.Configuration.AddInMemoryCollection(new Dictionary<string, string?>
Aspire.Hosting.Testing (1)
DistributedApplicationTestingBuilder.cs (1)
240/// <inheritdoc cref="HostApplicationBuilder.Configuration" />
Aspire.Hosting.Valkey.Tests (3)
ValkeyFunctionalTests.cs (3)
34hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 95hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 146hb.Configuration.AddInMemoryCollection(new Dictionary<string, string?>
Aspire.Microsoft.Azure.Cosmos.Tests (1)
ConformanceTests.cs (1)
80builder.Configuration.AddInMemoryCollection([
Aspire.Microsoft.Data.SqlClient.Tests (4)
AspireSqlServerSqlClientExtensionsTests.cs (4)
22builder.Configuration.AddInMemoryCollection([ 49builder.Configuration.AddInMemoryCollection([ 81builder.Configuration.AddInMemoryCollection([ 109builder.Configuration.AddInMemoryCollection([
Aspire.Microsoft.EntityFrameworkCore.Cosmos.Tests (9)
AspireAzureEfCoreCosmosDBExtensionsTests.cs (8)
22builder.Configuration.AddInMemoryCollection([ 58builder.Configuration.AddInMemoryCollection([ 63builder.Configuration.AddInMemoryCollection([ 92builder.Configuration.AddInMemoryCollection([ 97builder.Configuration.AddInMemoryCollection([ 135builder.Configuration.AddInMemoryCollection([ 160builder.Configuration.AddInMemoryCollection([ 183builder.Configuration.AddInMemoryCollection([
EnrichCosmosDbTests.cs (1)
143builder.Configuration.AddInMemoryCollection([
Aspire.Microsoft.EntityFrameworkCore.SqlServer.Tests (15)
AspireSqlServerEFCoreSqlClientExtensionsTests.cs (12)
24builder.Configuration.AddInMemoryCollection([ 40builder.Configuration.AddInMemoryCollection([ 59builder.Configuration.AddInMemoryCollection([ 79builder.Configuration.AddInMemoryCollection([ 124builder.Configuration.AddInMemoryCollection([ 164builder.Configuration.AddInMemoryCollection([ 169builder.Configuration.AddInMemoryCollection([ 198builder.Configuration.AddInMemoryCollection([ 203builder.Configuration.AddInMemoryCollection([ 236builder.Configuration.AddInMemoryCollection([ 261builder.Configuration.AddInMemoryCollection([ 284builder.Configuration.AddInMemoryCollection([
EnrichSqlServerTests.cs (3)
59builder.Configuration.AddInMemoryCollection([ 149builder.Configuration.AddInMemoryCollection([ 192builder.Configuration.AddInMemoryCollection([
Aspire.Milvus.Client.Tests (4)
AspireMilvusExtensionTests.cs (3)
34builder.Configuration.AddInMemoryCollection(new[] 88builder.Configuration.AddInMemoryCollection([ 119builder.Configuration.AddInMemoryCollection([
ConformanceTests.cs (1)
108builder.Configuration.AddInMemoryCollection([
Aspire.MongoDB.Driver.Tests (2)
AspireMongoDBDriverExtensionsTests.cs (2)
207builder.Configuration.AddInMemoryCollection([ 236builder.Configuration.AddInMemoryCollection([
Aspire.MySqlConnector.Tests (4)
AspireMySqlConnectorExtensionsTests.cs (4)
30builder.Configuration.AddInMemoryCollection([ 57builder.Configuration.AddInMemoryCollection([ 89builder.Configuration.AddInMemoryCollection([ 117builder.Configuration.AddInMemoryCollection([
Aspire.NATS.Net.Tests (6)
AspireNatsClientExtensionsTests.cs (6)
37builder.Configuration.AddInMemoryCollection([ 64builder.Configuration.AddInMemoryCollection([ 93builder.Configuration.AddInMemoryCollection([ 126builder.Configuration.AddInMemoryCollection([ 239builder.Configuration.AddInMemoryCollection([ 268builder.Configuration.AddInMemoryCollection([
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (16)
AspireEFPostgreSqlExtensionsTests.cs (12)
32builder.Configuration.AddInMemoryCollection([ 48builder.Configuration.AddInMemoryCollection([ 69builder.Configuration.AddInMemoryCollection([ 89builder.Configuration.AddInMemoryCollection([ 131builder.Configuration.AddInMemoryCollection([ 172builder.Configuration.AddInMemoryCollection([ 177builder.Configuration.AddInMemoryCollection([ 206builder.Configuration.AddInMemoryCollection([ 211builder.Configuration.AddInMemoryCollection([ 243builder.Configuration.AddInMemoryCollection([ 268builder.Configuration.AddInMemoryCollection([ 291builder.Configuration.AddInMemoryCollection([
EnrichNpgsqlTests.cs (4)
60builder.Configuration.AddInMemoryCollection([ 153builder.Configuration.AddInMemoryCollection([ 197builder.Configuration.AddInMemoryCollection([ 352builder.Configuration.AddInMemoryCollection([
Aspire.Npgsql.Tests (5)
AspirePostgreSqlNpgsqlExtensionsTests.cs (5)
22builder.Configuration.AddInMemoryCollection([ 49builder.Configuration.AddInMemoryCollection([ 81builder.Configuration.AddInMemoryCollection([ 111builder.Configuration.AddInMemoryCollection([ 139builder.Configuration.AddInMemoryCollection([
Aspire.OpenAI.Tests (7)
AspireOpenAIExtensionsTests.cs (7)
23builder.Configuration.AddInMemoryCollection([ 77builder.Configuration.AddInMemoryCollection([ 95builder.Configuration.AddInMemoryCollection([ 115builder.Configuration.AddInMemoryCollection([ 140builder.Configuration.AddInMemoryCollection([ 162builder.Configuration.AddInMemoryCollection([ 185builder.Configuration.AddInMemoryCollection([
Aspire.Oracle.EntityFrameworkCore.Tests (18)
AspireOracleEFCoreDatabaseExtensionsTests.cs (14)
25builder.Configuration.AddInMemoryCollection([ 41builder.Configuration.AddInMemoryCollection([ 60builder.Configuration.AddInMemoryCollection([ 80builder.Configuration.AddInMemoryCollection([ 125builder.Configuration.AddInMemoryCollection([ 165builder.Configuration.AddInMemoryCollection([ 170builder.Configuration.AddInMemoryCollection([ 199builder.Configuration.AddInMemoryCollection([ 204builder.Configuration.AddInMemoryCollection([ 237builder.Configuration.AddInMemoryCollection([ 262builder.Configuration.AddInMemoryCollection([ 285builder.Configuration.AddInMemoryCollection([ 307builder.Configuration.AddInMemoryCollection([ 323builder.Configuration.AddInMemoryCollection([
EnrichOracleDatabaseTests.cs (4)
60builder.Configuration.AddInMemoryCollection([ 150builder.Configuration.AddInMemoryCollection([ 193builder.Configuration.AddInMemoryCollection([ 341builder.Configuration.AddInMemoryCollection([
Aspire.Pomelo.EntityFrameworkCore.MySql.Tests (15)
AspireEFMySqlExtensionsTests.cs (11)
36builder.Configuration.AddInMemoryCollection([ 55builder.Configuration.AddInMemoryCollection([ 76builder.Configuration.AddInMemoryCollection([ 98builder.Configuration.AddInMemoryCollection([ 141builder.Configuration.AddInMemoryCollection([ 183builder.Configuration.AddInMemoryCollection([ 189builder.Configuration.AddInMemoryCollection([ 218builder.Configuration.AddInMemoryCollection([ 224builder.Configuration.AddInMemoryCollection([ 256builder.Configuration.AddInMemoryCollection([ 279builder.Configuration.AddInMemoryCollection([
EnrichMySqlTests.cs (4)
73builder.Configuration.AddInMemoryCollection([ 163builder.Configuration.AddInMemoryCollection([ 206builder.Configuration.AddInMemoryCollection([ 354builder.Configuration.AddInMemoryCollection([
Aspire.Qdrant.Client.Tests (2)
AspireQdrantClientExtensionsTest.cs (2)
91builder.Configuration.AddInMemoryCollection([ 116builder.Configuration.AddInMemoryCollection([
Aspire.RabbitMQ.Client.Tests (6)
AspireRabbitMQExtensionsTests.cs (5)
32builder.Configuration.AddInMemoryCollection([ 60builder.Configuration.AddInMemoryCollection([ 91builder.Configuration.AddInMemoryCollection([ 144builder.Configuration.AddJsonStream(jsonStream); 170builder.Configuration.AddInMemoryCollection([
AspireRabbitMQLoggingTests.cs (1)
37builder.Configuration.AddInMemoryCollection([
Aspire.StackExchange.Redis.DistributedCaching.Tests (1)
DistributedCacheConformanceTests.cs (1)
46builder.Configuration.AddInMemoryCollection([
Aspire.StackExchange.Redis.OutputCaching.Tests (1)
OutputCacheConformanceTests.cs (1)
46builder.Configuration.AddInMemoryCollection([
Aspire.StackExchange.Redis.Tests (8)
AspireRedisExtensionsTests.cs (8)
39PopulateConfiguration(builder.Configuration); 61builder.Configuration.AddInMemoryCollection([ 89builder.Configuration.AddInMemoryCollection([ 122builder.Configuration.AddInMemoryCollection([ 181builder.Configuration.AddInMemoryCollection(configValues); 269builder.Configuration.AddInMemoryCollection([ 307builder.Configuration.AddInMemoryCollection([ 344builder.Configuration.AddInMemoryCollection([
Microsoft.AspNetCore (3)
BootstrapHostBuilder.cs (2)
89configureHostAction(_builder.Configuration); 96configureAppAction(Context, _builder.Configuration);
WebApplicationBuilder.cs (1)
342public ConfigurationManager Configuration => _hostApplicationBuilder.Configuration;
Microsoft.Extensions.Hosting (14)
HostApplicationBuilder.cs (12)
91if (settings.ContentRootPath is null && Configuration[HostDefaults.ContentRootKey] is null) 93HostingHostBuilderExtensions.SetDefaultContentRoot(Configuration); 96Configuration.AddEnvironmentVariables(prefix: "DOTNET_"); 104HostingHostBuilderExtensions.ApplyDefaultAppConfiguration(_hostBuilderContext, Configuration, settings.Args); 140HostingHostBuilderExtensions.AddCommandLineConfig(Configuration, settings.Args); 161Configuration.AddInMemoryCollection(optionList); 164(HostingEnvironment hostingEnvironment, PhysicalFileProvider physicalFileProvider) = HostBuilder.CreateHostingEnvironment(Configuration); 166Configuration.SetFileProvider(physicalFileProvider); 171Configuration = Configuration, 181Configuration, 201IConfigurationManager IHostApplicationBuilder.Configuration => Configuration; 272ConfigurationManager config = _hostApplicationBuilder.Configuration;
HostApplicationBuilderSettings.cs (2)
43/// Gets or sets the command-line arguments to add to the <see cref="HostApplicationBuilder.Configuration"/>. 48/// Gets or sets the initial configuration sources to be added to the <see cref="HostApplicationBuilder.Configuration"/>. These sources can influence