Implemented interface member:
property
Configuration
Aspire.Hosting.IDistributedApplicationBuilder.Configuration
38 references to Configuration
Aspire.Hosting.Azure.Tests (9)
AzureBicepProvisionerTests.cs (1)
42builder.Configuration["Parameters:param"] = "paramValue";
AzureBicepResourceTests.cs (8)
1032builder.Configuration["Parameters:skuName"] = "Standard_ZRS"; 1071builder.Configuration["Parameters:skuName"] = "Standard_ZRS"; 1478builder.Configuration["Parameters:usr"] = "user"; 1479builder.Configuration["Parameters:pwd"] = "password"; 1596builder.Configuration["Parameters:usr"] = "user"; 1597builder.Configuration["Parameters:pwd"] = "password"; 1705builder.Configuration["Parameters:usr"] = "user"; 1706builder.Configuration["Parameters:pwd"] = "password";
Aspire.Hosting.Containers.Tests (3)
WithDockerfileTests.cs (3)
28builder.Configuration["Parameters:secret"] = "open sesame from env"; 347builder.Configuration["Parameters:message"] = "hello"; 418builder.Configuration["Parameters:message"] = "hello";
Aspire.Hosting.Python.Tests (1)
AddPythonAppTests.cs (1)
121builder.Configuration["ConnectionStrings:connectionString"] = "test";
Aspire.Hosting.Redis.Tests (2)
RedisFunctionalTests.cs (2)
140builder1.Configuration[$"DcpPublisher:ResourceNameSuffix"] = randomResourceSuffix; 181builder2.Configuration[$"DcpPublisher:ResourceNameSuffix"] = randomResourceSuffix;
Aspire.Hosting.Tests (23)
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)
46$"{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]}";
WaitForTests.cs (1)
88builder.Configuration["ConnectionStrings:cs"] = "cs-value";
WithEnvironmentTests.cs (1)
108builder.Configuration["Parameters:parameter"] = "MY_PARAMETER_VALUE";
WithReferenceTests.cs (1)
183builder.Configuration["ConnectionStrings:resource"] = "test connection string";