Implemented interface member:
property
Configuration
Aspire.Hosting.IDistributedApplicationBuilder.Configuration
42 references to Configuration
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
791
if (
Configuration
.GetBool(KnownConfigNames.AllowUnsecuredTransport) is { } allowUnsecuredTransport)
Aspire.Hosting.Testing (3)
DistributedApplicationTestingBuilder.cs (3)
516
public ConfigurationManager Configuration => innerBuilder.
Configuration
;
647
if (!builder.
Configuration
.GetValue(KnownConfigNames.TestingDisableHttpClient, false))
679
public ConfigurationManager Configuration => _innerBuilder.
Configuration
;
Aspire.Hosting.Tests (38)
DistributedApplicationBuilderTests.cs (37)
436
var pathSha1 = builder1.
Configuration
["AppHost:PathSha256"];
437
var pathSha2 = builder2.
Configuration
["AppHost:PathSha256"];
438
var projectNameSha1 = builder1.
Configuration
["AppHost:ProjectNameSha256"];
439
var projectNameSha2 = builder2.
Configuration
["AppHost:ProjectNameSha256"];
471
builder1.
Configuration
["AppHost:PathSha256"],
472
builder2.
Configuration
["AppHost:PathSha256"]);
474
builder1.
Configuration
["AppHost:DeploymentStatePathSha256"],
475
builder2.
Configuration
["AppHost:DeploymentStatePathSha256"]);
477
builder1.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"],
478
builder2.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]);
479
Assert.NotNull(builder1.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]);
481
builder1.
Configuration
["AppHost:ProjectNameSha256"],
482
builder2.
Configuration
["AppHost:ProjectNameSha256"]);
484
builder1.
Configuration
["AppHost:PathSha256"],
485
builder1.
Configuration
["AppHost:Sha256"]);
487
builder1.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"],
488
builder1.
Configuration
["AppHost:Sha256"]);
520
lowerCaseBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"],
521
upperCaseBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]);
526
lowerCaseBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"],
527
upperCaseBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]);
566
Assert.Equal(expectedSha, builder.
Configuration
["AppHost:DeploymentStatePathSha256"]);
608
builder.
Configuration
["AppHost:DeploymentStatePathSha256"]!);
611
Assert.Equal(legacySha, builder.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]);
612
Assert.Equal("loaded", builder.
Configuration
["MigratedValue"]);
676
var currentSha = probeBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]!;
677
var legacySha = probeBuilder.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]!;
697
Assert.Null(builder.
Configuration
["MigratedValue"]);
735
var currentSha = probeBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]!;
736
var legacySha = probeBuilder.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]!;
755
Assert.Equal("current", builder.
Configuration
["CurrentValue"]);
756
Assert.Equal("legacy", builder.
Configuration
["LegacyValue"]);
799
var currentSha = probeBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]!;
800
var legacySha = probeBuilder.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]!;
820
Assert.Null(builder.
Configuration
["MigratedValue"]);
861
var currentSha = probeBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]!;
876
Assert.Null(builder.
Configuration
["MigratedValue"]);
Utils\VolumeNameGeneratorTests.cs (1)
120
var appHostSha = builder.
Configuration
["AppHost:Sha256"];