Implemented interface member:
property
Configuration
Aspire.Hosting.IDistributedApplicationBuilder.Configuration
51 references to Configuration
Aspire.Hosting.Azure.Tests (9)
AzureBicepProvisionerTests.cs (1)
42builder.Configuration["Parameters:param"] = "paramValue";
AzureBicepResourceTests.cs (8)
758builder.Configuration["Parameters:skuName"] = "Standard_ZRS"; 797builder.Configuration["Parameters:skuName"] = "Standard_ZRS"; 1276builder.Configuration["Parameters:usr"] = "user"; 1277builder.Configuration["Parameters:pwd"] = "password"; 1394builder.Configuration["Parameters:usr"] = "user"; 1395builder.Configuration["Parameters:pwd"] = "password"; 1503builder.Configuration["Parameters:usr"] = "user"; 1504builder.Configuration["Parameters:pwd"] = "password";
Aspire.Hosting.Containers.Tests (3)
WithDockerfileTests.cs (3)
29builder.Configuration["Parameters:secret"] = "open sesame from env"; 349builder.Configuration["Parameters:message"] = "hello"; 420builder.Configuration["Parameters:message"] = "hello";
Aspire.Hosting.Elasticsearch.Tests (1)
ElasticsearchFunctionalTests.cs (1)
135builder2.Configuration["Parameters:pwd"] = password;
Aspire.Hosting.Milvus.Tests (2)
AddMilvusTests.cs (1)
184builder.Configuration["Parameters:apikey"] = "pass";
MilvusFunctionalTests.cs (1)
134builder2.Configuration["Parameters:pwd"] = password;
Aspire.Hosting.MongoDB.Tests (1)
MongoDbFunctionalTests.cs (1)
173builder2.Configuration["Parameters:pwd"] = password;
Aspire.Hosting.MySql.Tests (1)
MySqlFunctionalTests.cs (1)
210builder2.Configuration["Parameters:pwd"] = password;
Aspire.Hosting.Nats.Tests (2)
NatsFunctionalTests.cs (2)
114builder.Configuration["Parameters:user"] = "user"; 115builder.Configuration["Parameters:pass"] = "password";
Aspire.Hosting.Oracle.Tests (1)
OracleFunctionalTests.cs (1)
171builder2.Configuration["Parameters:pwd"] = password;
Aspire.Hosting.PostgreSQL.Tests (4)
PostgresFunctionalTests.cs (4)
208builder1.Configuration["Parameters:user"] = username; 209builder1.Configuration["Parameters:pwd"] = password; 276builder2.Configuration["Parameters:user"] = username; 277builder2.Configuration["Parameters:pwd"] = password;
Aspire.Hosting.Python.Tests (1)
AddPythonAppTests.cs (1)
116builder.Configuration["ConnectionStrings:connectionString"] = "test";
Aspire.Hosting.RabbitMQ.Tests (1)
RabbitMQFunctionalTests.cs (1)
172builder2.Configuration["Parameters:pwd"] = password;
Aspire.Hosting.Redis.Tests (2)
RedisFunctionalTests.cs (2)
138builder1.Configuration[$"DcpPublisher:ResourceNameSuffix"] = randomResourceSuffix; 179builder2.Configuration[$"DcpPublisher:ResourceNameSuffix"] = randomResourceSuffix;
Aspire.Hosting.SqlServer.Tests (1)
SqlServerFunctionalTests.cs (1)
244builder2.Configuration["Parameters:pwd"] = password;
Aspire.Hosting.Tests (22)
Codespaces\CodespacesUrlRewriterTests.cs (4)
20builder.Configuration["CODESPACES"] = "false"; 62builder.Configuration["CODESPACES"] = "true"; 63builder.Configuration["GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN"] = "app.github.dev"; 64builder.Configuration["CODESPACE_NAME"] = "test-codespace";
Dashboard\DashboardResourceTests.cs (13)
30builder.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 87builder.Configuration.Sources.Clear(); 89builder.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 193builder.Configuration.Sources.Clear(); 195builder.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 230builder.Configuration.Sources.Clear(); 232builder.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 262builder.Configuration.Sources.Clear(); 264builder.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 297builder.Configuration.Sources.Clear(); 299builder.Configuration.AddInMemoryCollection(new Dictionary<string, string?> 340builder.Configuration.Sources.Clear(); 342builder.Configuration.AddInMemoryCollection(new Dictionary<string, string?>
Utils\TestDistributedApplicationBuilder.cs (1)
47$"{VolumeNameGenerator.Sanitize(Environment.ApplicationName).ToLowerInvariant()}-{Configuration["AppHost:Sha256"]!.ToLowerInvariant()[..10]}";
Utils\VolumeNameGeneratorTests.cs (2)
58var runVolumePrefix = $"{Sanitize(runBuilder.Environment.ApplicationName).ToLowerInvariant()}-{runBuilder.Configuration["AppHost:Sha256"]!.ToLowerInvariant()[..10]}"; 59var publishVolumePrefix = $"{Sanitize(publishBuilder.Environment.ApplicationName).ToLowerInvariant()}-{publishBuilder.Configuration["AppHost:Sha256"]!.ToLowerInvariant()[..10]}";
WithEnvironmentTests.cs (1)
108builder.Configuration["Parameters:parameter"] = "MY_PARAMETER_VALUE";
WithReferenceTests.cs (1)
183builder.Configuration["ConnectionStrings:resource"] = "test connection string";