Implemented interface member:
property
Configuration
Aspire.Hosting.IDistributedApplicationBuilder.Configuration
41 references to Configuration
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
781
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 (37)
DistributedApplicationBuilderTests.cs (36)
350
var pathSha1 = builder1.
Configuration
["AppHost:PathSha256"];
351
var pathSha2 = builder2.
Configuration
["AppHost:PathSha256"];
352
var projectNameSha1 = builder1.
Configuration
["AppHost:ProjectNameSha256"];
353
var projectNameSha2 = builder2.
Configuration
["AppHost:ProjectNameSha256"];
385
builder1.
Configuration
["AppHost:PathSha256"],
386
builder2.
Configuration
["AppHost:PathSha256"]);
388
builder1.
Configuration
["AppHost:DeploymentStatePathSha256"],
389
builder2.
Configuration
["AppHost:DeploymentStatePathSha256"]);
391
builder1.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"],
392
builder2.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]);
393
Assert.NotNull(builder1.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]);
395
builder1.
Configuration
["AppHost:ProjectNameSha256"],
396
builder2.
Configuration
["AppHost:ProjectNameSha256"]);
398
builder1.
Configuration
["AppHost:PathSha256"],
399
builder1.
Configuration
["AppHost:Sha256"]);
401
builder1.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"],
402
builder1.
Configuration
["AppHost:Sha256"]);
434
lowerCaseBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"],
435
upperCaseBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]);
440
lowerCaseBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"],
441
upperCaseBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]);
484
builder.
Configuration
["AppHost:DeploymentStatePathSha256"]!);
487
Assert.Equal(legacySha, builder.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]);
488
Assert.Equal("loaded", builder.
Configuration
["MigratedValue"]);
552
var currentSha = probeBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]!;
553
var legacySha = probeBuilder.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]!;
573
Assert.Null(builder.
Configuration
["MigratedValue"]);
611
var currentSha = probeBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]!;
612
var legacySha = probeBuilder.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]!;
631
Assert.Equal("current", builder.
Configuration
["CurrentValue"]);
632
Assert.Equal("legacy", builder.
Configuration
["LegacyValue"]);
675
var currentSha = probeBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]!;
676
var legacySha = probeBuilder.
Configuration
["AppHost:LegacyDeploymentStatePathSha256"]!;
696
Assert.Null(builder.
Configuration
["MigratedValue"]);
737
var currentSha = probeBuilder.
Configuration
["AppHost:DeploymentStatePathSha256"]!;
752
Assert.Null(builder.
Configuration
["MigratedValue"]);
Utils\VolumeNameGeneratorTests.cs (1)
120
var appHostSha = builder.
Configuration
["AppHost:Sha256"];