39 writes to DashboardPath
Aspire.Hosting (3)
Dcp\DcpOptions.cs (3)
229
options.
DashboardPath
= dcpPublisherConfiguration[nameof(options.DashboardPath)];
234
options.
DashboardPath
= configDashboardPath;
239
options.
DashboardPath
= GetMetadataValue(assemblyMetadata, DashboardPathMetadataKey);
Aspire.Hosting.Tests (36)
Dashboard\DashboardResourceTests.cs (3)
42
o.
DashboardPath
= dashboardPath;
333
o.
DashboardPath
= dashboardPath;
706
o.
DashboardPath
= dashboardPath;
Dcp\DcpCliArgsTests.cs (1)
131
DashboardPath
= "\t",
Dcp\DcpExecutorTests.cs (30)
129
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", ResourceNameSuffix = "suffix" };
213
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", ResourceNameSuffix = "suffix" };
249
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", ResourceNameSuffix = "suffix" };
563
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", ResourceNameSuffix = "suffix" };
627
DashboardPath
= "./dashboard",
665
DashboardPath
= "./dashboard",
735
DashboardPath
= "./dashboard",
921
DashboardPath
= "./dashboard",
963
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", RandomizePorts = true };
1121
DashboardPath
= "./dashboard",
1164
DashboardPath
= "./dashboard",
1201
DashboardPath
= "./dashboard",
1244
DashboardPath
= "./dashboard",
1282
DashboardPath
= "./dashboard",
1320
DashboardPath
= "./dashboard",
1357
DashboardPath
= "./dashboard",
1395
DashboardPath
= "./dashboard",
1442
DashboardPath
= "./dashboard",
1483
DashboardPath
= "./dashboard",
1564
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard", ResourceNameSuffix = "suffix" };
1600
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
1704
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
1932
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
2022
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
2203
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
3256
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
3318
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
3383
var dcpOptions = new DcpOptions {
DashboardPath
= "./dashboard" };
3639
DashboardPath
= "./dashboard",
10190
dcpOptions ??= new DcpOptions {
DashboardPath
= "./dashboard" };
Dcp\DcpHostNotificationTests.cs (1)
600
var dcpOptions = new DcpOptions { CliPath = dummyPath,
DashboardPath
= "/dummy/dashboard" };
DistributedApplicationBuilderTests.cs (1)
51
o.
DashboardPath
= "dashboard";
15 references to DashboardPath
Aspire.Hosting (7)
Dashboard\DashboardOptions.cs (1)
38
options.DashboardPath = dcpOptions.Value.
DashboardPath
;
Dcp\DcpOptions.cs (6)
158
if (executionContext.IsRunMode && string.IsNullOrWhiteSpace(options.
DashboardPath
))
226
if (!string.IsNullOrWhiteSpace(dcpPublisherConfiguration[nameof(options.
DashboardPath
)]))
229
options.DashboardPath = dcpPublisherConfiguration[nameof(options.
DashboardPath
)];
296
!string.IsNullOrEmpty(options.
DashboardPath
) &&
297
BundleDiscovery.IsAspireManagedBinary(options.
DashboardPath
))
299
options.TerminalHostPath = options.
DashboardPath
;
Aspire.Hosting.Tests (8)
AppHostSmokeTests.cs (1)
33
remoteInvokeOptions.StartInfo.Environment[$"DcpPublisher__DashboardPath"] = dcpOptions.
DashboardPath
;
Dcp\ConfigureDefaultDcpOptionsTests.cs (3)
28
Assert.Equal(managedPath, options.
DashboardPath
);
48
Assert.Equal(dashboardDll, options.
DashboardPath
);
72
Assert.Equal(managedPath, options.
DashboardPath
);
Dcp\DcpCliArgsTests.cs (4)
62
Assert.Equal("/not/a/valid/path", dcpOptions.
DashboardPath
);
81
Assert.Equal(explicitDashboardPath, dcpOptions.
DashboardPath
);
100
Assert.Equal(bundleDashboardPath, dcpOptions.
DashboardPath
);
119
Assert.Equal(bundleDashboardPath, dcpOptions.
DashboardPath
);