Implemented interface member:
property
Configuration
Aspire.Hosting.IDistributedApplicationBuilder.Configuration
38 references to Configuration
Aspire.Hosting.Azure.Tests (9)
AzureBicepProvisionerTests.cs (1)
42
builder.
Configuration
["Parameters:param"] = "paramValue";
AzureBicepResourceTests.cs (8)
1032
builder.
Configuration
["Parameters:skuName"] = "Standard_ZRS";
1071
builder.
Configuration
["Parameters:skuName"] = "Standard_ZRS";
1478
builder.
Configuration
["Parameters:usr"] = "user";
1479
builder.
Configuration
["Parameters:pwd"] = "password";
1596
builder.
Configuration
["Parameters:usr"] = "user";
1597
builder.
Configuration
["Parameters:pwd"] = "password";
1705
builder.
Configuration
["Parameters:usr"] = "user";
1706
builder.
Configuration
["Parameters:pwd"] = "password";
Aspire.Hosting.Containers.Tests (3)
WithDockerfileTests.cs (3)
28
builder.
Configuration
["Parameters:secret"] = "open sesame from env";
347
builder.
Configuration
["Parameters:message"] = "hello";
418
builder.
Configuration
["Parameters:message"] = "hello";
Aspire.Hosting.Python.Tests (1)
AddPythonAppTests.cs (1)
121
builder.
Configuration
["ConnectionStrings:connectionString"] = "test";
Aspire.Hosting.Redis.Tests (2)
RedisFunctionalTests.cs (2)
140
builder1.
Configuration
[$"DcpPublisher:ResourceNameSuffix"] = randomResourceSuffix;
181
builder2.
Configuration
[$"DcpPublisher:ResourceNameSuffix"] = randomResourceSuffix;
Aspire.Hosting.Tests (23)
Codespaces\CodespacesUrlRewriterTests.cs (4)
20
builder.
Configuration
["CODESPACES"] = "false";
62
builder.
Configuration
["CODESPACES"] = "true";
63
builder.
Configuration
["GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN"] = "app.github.dev";
64
builder.
Configuration
["CODESPACE_NAME"] = "test-codespace";
Dashboard\DashboardResourceTests.cs (13)
30
builder.
Configuration
.AddInMemoryCollection(new Dictionary<string, string?>
87
builder.
Configuration
.Sources.Clear();
89
builder.
Configuration
.AddInMemoryCollection(new Dictionary<string, string?>
193
builder.
Configuration
.Sources.Clear();
195
builder.
Configuration
.AddInMemoryCollection(new Dictionary<string, string?>
230
builder.
Configuration
.Sources.Clear();
232
builder.
Configuration
.AddInMemoryCollection(new Dictionary<string, string?>
262
builder.
Configuration
.Sources.Clear();
264
builder.
Configuration
.AddInMemoryCollection(new Dictionary<string, string?>
297
builder.
Configuration
.Sources.Clear();
299
builder.
Configuration
.AddInMemoryCollection(new Dictionary<string, string?>
340
builder.
Configuration
.Sources.Clear();
342
builder.
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)
58
var runVolumePrefix = $"{Sanitize(runBuilder.Environment.ApplicationName).ToLowerInvariant()}-{runBuilder.
Configuration
["AppHost:Sha256"]!.ToLowerInvariant()[..10]}";
59
var publishVolumePrefix = $"{Sanitize(publishBuilder.Environment.ApplicationName).ToLowerInvariant()}-{publishBuilder.
Configuration
["AppHost:Sha256"]!.ToLowerInvariant()[..10]}";
WaitForTests.cs (1)
88
builder.
Configuration
["ConnectionStrings:cs"] = "cs-value";
WithEnvironmentTests.cs (1)
108
builder.
Configuration
["Parameters:parameter"] = "MY_PARAMETER_VALUE";
WithReferenceTests.cs (1)
183
builder.
Configuration
["ConnectionStrings:resource"] = "test connection string";