1 write to AppHostPath
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
264
AppHostPath
= Path.GetFullPath(appHostPath);
8 references to AppHostPath
Aspire.Hosting (4)
DistributedApplicationBuilder.cs (4)
282
["AppHost:Path"] =
AppHostPath
,
313
var appHostPathShaBytes = SHA256.HashData(Encoding.UTF8.GetBytes(
AppHostPath
.ToLowerInvariant()));
322
:
AppHostPath
;
714
.AddAttributes(ProfilingTelemetry.CreateAppHostResourceAttributes(
AppHostPath
, ExecutionContext.Operation.ToString()));
Aspire.Hosting.Tests (4)
DistributedApplicationOptionsTests.cs (3)
85
Assert.Equal(expectedPath, builder.
AppHostPath
);
110
Assert.StartsWith(projectDirectory, builder.
AppHostPath
);
129
Assert.Equal(expectedPath, builder.
AppHostPath
);
Utils\VolumeNameGeneratorTests.cs (1)
130
var expectedShaBytes = SHA256.HashData(Encoding.UTF8.GetBytes(builder.
AppHostPath
.ToLowerInvariant()));