40 writes to DashboardPath
Aspire.Hosting (3)
Dcp\DcpOptions.cs (3)
281
options.
DashboardPath
= dcpPublisherConfiguration[nameof(options.DashboardPath)];
286
options.
DashboardPath
= configDashboardPath;
291
options.
DashboardPath
= GetMetadataValue(assemblyMetadata, DashboardPathMetadataKey);
Aspire.Hosting.Tests (37)
Dashboard\DashboardEventHandlersTests.cs (1)
268
DashboardPath
= typeof(DashboardEventHandlersTests).Assembly.Location
Dashboard\DashboardResourceTests.cs (3)
50
o.
DashboardPath
= dashboardPath;
351
o.
DashboardPath
= dashboardPath;
724
o.
DashboardPath
= dashboardPath;
Dcp\DcpCliArgsTests.cs (1)
155
DashboardPath
= "\t",
Dcp\DcpExecutorTests.cs (30)
481
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", ResourceNameSuffix = "suffix" };
565
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", ResourceNameSuffix = "suffix" };
601
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", ResourceNameSuffix = "suffix" };
915
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", ResourceNameSuffix = "suffix" };
979
DashboardPath
= "./dashboard",
1017
DashboardPath
= "./dashboard",
1087
DashboardPath
= "./dashboard",
1273
DashboardPath
= "./dashboard",
1315
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", RandomizePorts = true };
1473
DashboardPath
= "./dashboard",
1516
DashboardPath
= "./dashboard",
1553
DashboardPath
= "./dashboard",
1596
DashboardPath
= "./dashboard",
1634
DashboardPath
= "./dashboard",
1672
DashboardPath
= "./dashboard",
1709
DashboardPath
= "./dashboard",
1747
DashboardPath
= "./dashboard",
1794
DashboardPath
= "./dashboard",
1835
DashboardPath
= "./dashboard",
1916
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", ResourceNameSuffix = "suffix" };
1952
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
2056
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
2284
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
2374
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
2555
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
3721
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
3783
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
3848
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
4104
DashboardPath
= "./dashboard",
11403
dcpOptions ??= new DcpOptions {
DashboardPath
= "./dashboard" };
Dcp\DcpHostNotificationTests.cs (1)
664
var dcpOptions = new DcpOptions { CliPath = dummyPath,
DashboardPath
= "/dummy/dashboard" };
DistributedApplicationBuilderTests.cs (1)
49
o.
DashboardPath
= "dashboard";
15 references to DashboardPath
Aspire.Hosting (7)
Dashboard\DashboardOptions.cs (1)
38
options.DashboardPath = dcpOptions.Value.
DashboardPath
;
Dcp\DcpOptions.cs (6)
185
if (executionContext.IsRunMode && string.IsNullOrWhiteSpace(options.
DashboardPath
))
278
if (!string.IsNullOrWhiteSpace(dcpPublisherConfiguration[nameof(options.
DashboardPath
)]))
281
options.DashboardPath = dcpPublisherConfiguration[nameof(options.
DashboardPath
)];
347
!string.IsNullOrEmpty(options.
DashboardPath
) &&
348
BundleDiscovery.IsAspireManagedBinary(options.
DashboardPath
))
350
options.TerminalHostPath = options.
DashboardPath
;
Aspire.Hosting.Tests (8)
AppHostSmokeTests.cs (1)
33
remoteInvokeOptions.StartInfo.Environment[$"DcpPublisher__DashboardPath"] = dcpOptions.
DashboardPath
;
Dcp\ConfigureDefaultDcpOptionsTests.cs (3)
250
Assert.Equal(managedPath, options.
DashboardPath
);
270
Assert.Equal(dashboardDll, options.
DashboardPath
);
294
Assert.Equal(managedPath, options.
DashboardPath
);
Dcp\DcpCliArgsTests.cs (4)
74
Assert.Equal("/not/a/valid/path", dcpOptions.
DashboardPath
);
105
Assert.Equal(explicitDashboardPath, dcpOptions.
DashboardPath
);
124
Assert.Equal(bundleDashboardPath, dcpOptions.
DashboardPath
);
143
Assert.Equal(bundleDashboardPath, dcpOptions.
DashboardPath
);