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)
524
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", ResourceNameSuffix = "suffix" };
608
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", ResourceNameSuffix = "suffix" };
644
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", ResourceNameSuffix = "suffix" };
958
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", ResourceNameSuffix = "suffix" };
1022
DashboardPath
= "./dashboard",
1060
DashboardPath
= "./dashboard",
1130
DashboardPath
= "./dashboard",
1316
DashboardPath
= "./dashboard",
1358
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", RandomizePorts = true };
1516
DashboardPath
= "./dashboard",
1559
DashboardPath
= "./dashboard",
1596
DashboardPath
= "./dashboard",
1641
DashboardPath
= "./dashboard",
1682
DashboardPath
= "./dashboard",
1714
DashboardPath
= "./dashboard",
1753
DashboardPath
= "./dashboard",
1779
DashboardPath
= "./dashboard",
1817
DashboardPath
= "./dashboard",
1866
DashboardPath
= "./dashboard",
1923
DashboardPath
= "./dashboard",
1975
DashboardPath
= "./dashboard",
2022
DashboardPath
= "./dashboard",
2074
DashboardPath
= "./dashboard",
2127
DashboardPath
= "./dashboard",
2171
DashboardPath
= "./dashboard",
2218
DashboardPath
= "./dashboard",
2265
DashboardPath
= "./dashboard",
2315
DashboardPath
= "./dashboard",
2402
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", ResourceNameSuffix = "suffix" };
2438
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
2542
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
2770
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
2860
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
3041
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
4207
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
4269
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
4334
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
4590
DashboardPath
= "./dashboard",
12100
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
);