Implemented interface member:
property
Configuration
Aspire.Hosting.IDistributedApplicationBuilder.Configuration
42 references to Configuration
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
830
if (
Configuration
.GetBool(KnownConfigNames.AllowUnsecuredTransport) is { } allowUnsecuredTransport)
Aspire.Hosting.Testing (3)
DistributedApplicationTestingBuilder.cs (3)
512
public ConfigurationManager Configuration => innerBuilder.
Configuration
;
645
if (!builder.
Configuration
.GetValue(KnownConfigNames.TestingDisableHttpClient, false))
677
public ConfigurationManager Configuration => _innerBuilder.
Configuration
;
Aspire.Hosting.Tests (38)
DistributedApplicationBuilderTests.cs (37)
978
var pathSha1 = builder1.
Configuration
["AppHost:PathSha256"];
979
var pathSha2 = builder2.
Configuration
["AppHost:PathSha256"];
980
var projectNameSha1 = builder1.
Configuration
["AppHost:ProjectNameSha256"];
981
var projectNameSha2 = builder2.
Configuration
["AppHost:ProjectNameSha256"];
1013
builder1.
Configuration
["AppHost:PathSha256"],
1014
builder2.
Configuration
["AppHost:PathSha256"]);
1016
builder1.
Configuration
["AppHost:DeploymentStatePathSha256"],
1017
builder2.
Configuration
["AppHost:DeploymentStatePathSha256"]);
1019
builder1.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"],
1020
builder2.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]);
1021
Assert.NotNull(builder1.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]);
1023
builder1.
Configuration
["AppHost:ProjectNameSha256"],
1024
builder2.
Configuration
["AppHost:ProjectNameSha256"]);
1026
builder1.
Configuration
["AppHost:PathSha256"],
1027
builder1.
Configuration
["AppHost:Sha256"]);
1029
builder1.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"],
1030
builder1.
Configuration
["AppHost:Sha256"]);
1062
lowerCaseBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"],
1063
upperCaseBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]);
1068
lowerCaseBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"],
1069
upperCaseBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]);
1108
Assert.Equal(expectedSha, builder.
Configuration
["AppHost:DeploymentStatePathSha256"]);
1150
builder.
Configuration
["AppHost:DeploymentStatePathSha256"]!);
1153
Assert.Equal(legacySha, builder.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]);
1154
Assert.Equal("loaded", builder.
Configuration
["MigratedValue"]);
1218
var currentSha = probeBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]!;
1219
var legacySha = probeBuilder.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]!;
1239
Assert.Null(builder.
Configuration
["MigratedValue"]);
1277
var currentSha = probeBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]!;
1278
var legacySha = probeBuilder.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]!;
1297
Assert.Equal("current", builder.
Configuration
["CurrentValue"]);
1298
Assert.Equal("legacy", builder.
Configuration
["LegacyValue"]);
1341
var currentSha = probeBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]!;
1342
var legacySha = probeBuilder.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]!;
1362
Assert.Null(builder.
Configuration
["MigratedValue"]);
1403
var currentSha = probeBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]!;
1418
Assert.Null(builder.
Configuration
["MigratedValue"]);
Utils\VolumeNameGeneratorTests.cs (1)
120
var appHostSha = builder.
Configuration
["AppHost:Sha256"];