2 implementations of Configuration
Microsoft.AspNetCore (1)
WebApplicationBuilder.cs (1)
368IConfigurationManager IHostApplicationBuilder.Configuration => Configuration;
Microsoft.Extensions.Hosting (1)
HostApplicationBuilder.cs (1)
201IConfigurationManager IHostApplicationBuilder.Configuration => Configuration;
67 references to Configuration
Aspire.Azure.AI.OpenAI (4)
AspireConfigurableOpenAIExtensions.cs (2)
36if (builder.Configuration.GetConnectionString(connectionName) is string connectionString) 66if (builder.Configuration.GetConnectionString(name) is string connectionString)
src\Components\Common\AzureComponent.cs (2)
54var configSection = builder.Configuration.GetSection(configurationSectionName); 70builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.Azure.Data.Tables (2)
src\Components\Common\AzureComponent.cs (2)
54var configSection = builder.Configuration.GetSection(configurationSectionName); 70builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.Azure.Messaging.EventHubs (2)
src\Components\Common\AzureComponent.cs (2)
54var configSection = builder.Configuration.GetSection(configurationSectionName); 70builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.Azure.Messaging.ServiceBus (2)
src\Components\Common\AzureComponent.cs (2)
54var configSection = builder.Configuration.GetSection(configurationSectionName); 70builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.Azure.Messaging.WebPubSub (2)
src\Components\Common\AzureComponent.cs (2)
54var configSection = builder.Configuration.GetSection(configurationSectionName); 70builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.Azure.Search.Documents (2)
src\Components\Common\AzureComponent.cs (2)
54var configSection = builder.Configuration.GetSection(configurationSectionName); 70builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.Azure.Security.KeyVault (2)
src\Components\Common\AzureComponent.cs (2)
54var configSection = builder.Configuration.GetSection(configurationSectionName); 70builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.Azure.Storage.Blobs (2)
src\Components\Common\AzureComponent.cs (2)
54var configSection = builder.Configuration.GetSection(configurationSectionName); 70builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.Azure.Storage.Queues (2)
src\Components\Common\AzureComponent.cs (2)
54var configSection = builder.Configuration.GetSection(configurationSectionName); 70builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.Confluent.Kafka (4)
AspireKafkaConsumerExtensions.cs (2)
213var configSection = builder.Configuration.GetSection(DefaultConfigSectionName); 223if (builder.Configuration.GetConnectionString(connectionName) is string connectionString)
AspireKafkaProducerExtensions.cs (2)
213var configSection = builder.Configuration.GetSection(DefaultConfigSectionName); 223if (builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.Elastic.Clients.Elasticsearch (2)
AspireElasticClientsElasticsearchExtensions.cs (2)
75var configSection = builder.Configuration.GetSection(DefaultConfigSectionName); 82if (builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.Microsoft.Azure.Cosmos (2)
AspireMicrosoftAzureCosmosExtensions.cs (2)
68var configSection = builder.Configuration.GetSection(DefaultConfigSectionName); 74if (builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.Microsoft.Data.SqlClient (2)
AspireSqlServerSqlClientExtensions.cs (2)
56var configSection = builder.Configuration.GetSection(DefaultConfigSectionName); 61if (builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.Microsoft.EntityFrameworkCore.Cosmos (2)
AspireAzureEFCoreCosmosExtensions.cs (1)
54if (builder.Configuration.GetConnectionString(connectionName) is string connectionString)
src\Components\Common\EntityFrameworkUtils.cs (1)
21var configurationSection = builder.Configuration.GetSection(defaultConfigSectionName);
Aspire.Microsoft.EntityFrameworkCore.SqlServer (2)
AspireSqlServerEFCoreSqlClientExtensions.cs (1)
52if (builder.Configuration.GetConnectionString(connectionName) is string connectionString)
src\Components\Common\EntityFrameworkUtils.cs (1)
21var configurationSection = builder.Configuration.GetSection(defaultConfigSectionName);
Aspire.Milvus.Client (2)
AspireMilvusExtensions.cs (2)
69var configSection = builder.Configuration.GetSection(DefaultConfigSectionName); 74if (builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.MongoDB.Driver (2)
AspireMongoDBDriverExtensions.cs (2)
208var configSection = builder.Configuration.GetSection(DefaultConfigSectionName); 213if (builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.MySqlConnector (2)
AspireMySqlConnectorExtensions.cs (2)
59var configSection = builder.Configuration.GetSection(DefaultConfigSectionName); 64if (builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.NATS.Net (2)
AspireNatsClientExtensions.cs (2)
66var configSection = builder.Configuration.GetSection(DefaultConfigSectionName); 71if (builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.Npgsql (2)
AspirePostgreSqlNpgsqlExtensions.cs (2)
60var configSection = builder.Configuration.GetSection(DefaultConfigSectionName); 65if (builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL (2)
AspireEFPostgreSqlExtensions.cs (1)
60if (builder.Configuration.GetConnectionString(connectionName) is string connectionString)
src\Components\Common\EntityFrameworkUtils.cs (1)
21var configurationSection = builder.Configuration.GetSection(defaultConfigSectionName);
Aspire.OpenAI (2)
AspireOpenAIExtensions.cs (2)
71var configSection = builder.Configuration.GetSection(configurationSectionName); 78if (builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.Oracle.EntityFrameworkCore (2)
AspireOracleEFCoreExtensions.cs (1)
53if (builder.Configuration.GetConnectionString(connectionName) is string connectionString)
src\Components\Common\EntityFrameworkUtils.cs (1)
21var configurationSection = builder.Configuration.GetSection(defaultConfigSectionName);
Aspire.Pomelo.EntityFrameworkCore.MySql (2)
AspireEFMySqlExtensions.cs (1)
64if (builder.Configuration.GetConnectionString(connectionName) is string connectionString)
src\Components\Common\EntityFrameworkUtils.cs (1)
21var configurationSection = builder.Configuration.GetSection(defaultConfigSectionName);
Aspire.Qdrant.Client (2)
AspireQdrantExtensions.cs (2)
64var configSection = builder.Configuration.GetSection(DefaultConfigSectionName); 69if (builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.RabbitMQ.Client (2)
AspireRabbitMQExtensions.cs (2)
74var configSection = builder.Configuration.GetSection(DefaultConfigSectionName); 81if (builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.Seq (3)
AspireSeqExtensions.cs (3)
42var configSection = builder.Configuration.GetSection(DefaultConfigSectionName); 43var namedConfigSection = builder.Configuration.GetSection(connectionName); 47if (builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Aspire.StackExchange.Redis (2)
AspireRedisExtensions.cs (2)
70var configSection = builder.Configuration.GetSection(DefaultConfigSectionName); 77if (builder.Configuration.GetConnectionString(connectionName) is string connectionString)
Microsoft.AspNetCore.Tests (1)
WebApplicationTests.cs (1)
2523Assert.Same(builder.Configuration, iHostApplicationBuilder.Configuration);
OrleansServiceDefaults (1)
Extensions.cs (1)
70var useOtlpExporter = !string.IsNullOrWhiteSpace(builder.Configuration["OTEL_EXPORTER_OTLP_ENDPOINT"]);
Playground.ServiceDefaults (1)
Extensions.cs (1)
67var useOtlpExporter = !string.IsNullOrWhiteSpace(builder.Configuration["OTEL_EXPORTER_OTLP_ENDPOINT"]);
Seq.ServiceDefaults (1)
Extensions.cs (1)
69var useOtlpExporter = !string.IsNullOrWhiteSpace(builder.Configuration["OTEL_EXPORTER_OTLP_ENDPOINT"]);
TestingAppHost1.ServiceDefaults (1)
Extensions.cs (1)
76var useOtlpExporter = !string.IsNullOrWhiteSpace(builder.Configuration["OTEL_EXPORTER_OTLP_ENDPOINT"]);
TestShop.ServiceDefaults (1)
Extensions.cs (1)
66var useOtlpExporter = !string.IsNullOrWhiteSpace(builder.Configuration["OTEL_EXPORTER_OTLP_ENDPOINT"]);