49 writes to DashboardPath
Aspire.Hosting (3)
Dcp\DcpOptions.cs (3)
286
options.
DashboardPath
= dcpPublisherConfiguration[nameof(options.DashboardPath)];
291
options.
DashboardPath
= configDashboardPath;
296
options.
DashboardPath
= GetMetadataValue(assemblyMetadata, DashboardPathMetadataKey);
Aspire.Hosting.Tests (46)
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 (39)
565
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", ResourceNameSuffix = "suffix" };
649
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", ResourceNameSuffix = "suffix" };
685
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", ResourceNameSuffix = "suffix" };
1028
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", ResourceNameSuffix = "suffix" };
1092
DashboardPath
= "./dashboard",
1130
DashboardPath
= "./dashboard",
1200
DashboardPath
= "./dashboard",
1386
DashboardPath
= "./dashboard",
1428
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", RandomizePorts = true };
1586
DashboardPath
= "./dashboard",
1629
DashboardPath
= "./dashboard",
1666
DashboardPath
= "./dashboard",
1711
DashboardPath
= "./dashboard",
1752
DashboardPath
= "./dashboard",
1784
DashboardPath
= "./dashboard",
1823
DashboardPath
= "./dashboard",
1849
DashboardPath
= "./dashboard",
1887
DashboardPath
= "./dashboard",
1936
DashboardPath
= "./dashboard",
1993
DashboardPath
= "./dashboard",
2045
DashboardPath
= "./dashboard",
2092
DashboardPath
= "./dashboard",
2144
DashboardPath
= "./dashboard",
2197
DashboardPath
= "./dashboard",
2241
DashboardPath
= "./dashboard",
2288
DashboardPath
= "./dashboard",
2335
DashboardPath
= "./dashboard",
2385
DashboardPath
= "./dashboard",
2472
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", ResourceNameSuffix = "suffix" };
2508
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
2612
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
2840
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
2930
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
3111
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
4277
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
4339
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
4404
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
4660
DashboardPath
= "./dashboard",
13252
dcpOptions ??= new DcpOptions {
DashboardPath
= "./dashboard" };
Dcp\DcpHostNotificationTests.cs (1)
664
var dcpOptions = new DcpOptions { CliPath = dummyPath,
DashboardPath
= "/dummy/dashboard" };
DistributedApplicationBuilderTests.cs (1)
52
o.
DashboardPath
= "dashboard";
15 references to DashboardPath
Aspire.Hosting (7)
Dashboard\DashboardOptions.cs (1)
38
options.DashboardPath = dcpOptions.Value.
DashboardPath
;
Dcp\DcpOptions.cs (6)
190
if (executionContext.IsRunMode && string.IsNullOrWhiteSpace(options.
DashboardPath
))
283
if (!string.IsNullOrWhiteSpace(dcpPublisherConfiguration[nameof(options.
DashboardPath
)]))
286
options.DashboardPath = dcpPublisherConfiguration[nameof(options.
DashboardPath
)];
352
!string.IsNullOrEmpty(options.
DashboardPath
) &&
353
BundleDiscovery.IsAspireManagedBinary(options.
DashboardPath
))
355
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
);