Implemented interface member:
property
Configuration
Aspire.Hosting.IDistributedApplicationBuilder.Configuration
42 references to Configuration
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
821
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)
905
var pathSha1 = builder1.
Configuration
["AppHost:PathSha256"];
906
var pathSha2 = builder2.
Configuration
["AppHost:PathSha256"];
907
var projectNameSha1 = builder1.
Configuration
["AppHost:ProjectNameSha256"];
908
var projectNameSha2 = builder2.
Configuration
["AppHost:ProjectNameSha256"];
940
builder1.
Configuration
["AppHost:PathSha256"],
941
builder2.
Configuration
["AppHost:PathSha256"]);
943
builder1.
Configuration
["AppHost:DeploymentStatePathSha256"],
944
builder2.
Configuration
["AppHost:DeploymentStatePathSha256"]);
946
builder1.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"],
947
builder2.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]);
948
Assert.NotNull(builder1.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]);
950
builder1.
Configuration
["AppHost:ProjectNameSha256"],
951
builder2.
Configuration
["AppHost:ProjectNameSha256"]);
953
builder1.
Configuration
["AppHost:PathSha256"],
954
builder1.
Configuration
["AppHost:Sha256"]);
956
builder1.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"],
957
builder1.
Configuration
["AppHost:Sha256"]);
989
lowerCaseBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"],
990
upperCaseBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]);
995
lowerCaseBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"],
996
upperCaseBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]);
1035
Assert.Equal(expectedSha, builder.
Configuration
["AppHost:DeploymentStatePathSha256"]);
1077
builder.
Configuration
["AppHost:DeploymentStatePathSha256"]!);
1080
Assert.Equal(legacySha, builder.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]);
1081
Assert.Equal("loaded", builder.
Configuration
["MigratedValue"]);
1145
var currentSha = probeBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]!;
1146
var legacySha = probeBuilder.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]!;
1166
Assert.Null(builder.
Configuration
["MigratedValue"]);
1204
var currentSha = probeBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]!;
1205
var legacySha = probeBuilder.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]!;
1224
Assert.Equal("current", builder.
Configuration
["CurrentValue"]);
1225
Assert.Equal("legacy", builder.
Configuration
["LegacyValue"]);
1268
var currentSha = probeBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]!;
1269
var legacySha = probeBuilder.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]!;
1289
Assert.Null(builder.
Configuration
["MigratedValue"]);
1330
var currentSha = probeBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]!;
1345
Assert.Null(builder.
Configuration
["MigratedValue"]);
Utils\VolumeNameGeneratorTests.cs (1)
120
var appHostSha = builder.
Configuration
["AppHost:Sha256"];