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