49 writes to DashboardPath
Aspire.Hosting (3)
Dcp\DcpOptions.cs (3)
286options.DashboardPath = dcpPublisherConfiguration[nameof(options.DashboardPath)]; 291options.DashboardPath = configDashboardPath; 296options.DashboardPath = GetMetadataValue(assemblyMetadata, DashboardPathMetadataKey);
Aspire.Hosting.Tests (46)
Dashboard\DashboardEventHandlersTests.cs (1)
268DashboardPath = typeof(DashboardEventHandlersTests).Assembly.Location
Dashboard\DashboardResourceTests.cs (3)
50o.DashboardPath = dashboardPath; 351o.DashboardPath = dashboardPath; 724o.DashboardPath = dashboardPath;
Dcp\DcpCliArgsTests.cs (1)
155DashboardPath = "\t",
Dcp\DcpExecutorTests.cs (39)
524var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 608var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 644var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 958var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 1022DashboardPath = "./dashboard", 1060DashboardPath = "./dashboard", 1130DashboardPath = "./dashboard", 1316DashboardPath = "./dashboard", 1358var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", RandomizePorts = true }; 1516DashboardPath = "./dashboard", 1559DashboardPath = "./dashboard", 1596DashboardPath = "./dashboard", 1641DashboardPath = "./dashboard", 1682DashboardPath = "./dashboard", 1714DashboardPath = "./dashboard", 1753DashboardPath = "./dashboard", 1779DashboardPath = "./dashboard", 1817DashboardPath = "./dashboard", 1866DashboardPath = "./dashboard", 1923DashboardPath = "./dashboard", 1975DashboardPath = "./dashboard", 2022DashboardPath = "./dashboard", 2074DashboardPath = "./dashboard", 2127DashboardPath = "./dashboard", 2171DashboardPath = "./dashboard", 2218DashboardPath = "./dashboard", 2265DashboardPath = "./dashboard", 2315DashboardPath = "./dashboard", 2402var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 2438var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 2542var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 2770var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 2860var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 3041var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 4207var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 4269var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 4334var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 4590DashboardPath = "./dashboard", 12100dcpOptions ??= new DcpOptions { DashboardPath = "./dashboard" };
Dcp\DcpHostNotificationTests.cs (1)
664var dcpOptions = new DcpOptions { CliPath = dummyPath, DashboardPath = "/dummy/dashboard" };
DistributedApplicationBuilderTests.cs (1)
52o.DashboardPath = "dashboard";
15 references to DashboardPath
Aspire.Hosting (7)
Dashboard\DashboardOptions.cs (1)
38options.DashboardPath = dcpOptions.Value.DashboardPath;
Dcp\DcpOptions.cs (6)
190if (executionContext.IsRunMode && string.IsNullOrWhiteSpace(options.DashboardPath)) 283if (!string.IsNullOrWhiteSpace(dcpPublisherConfiguration[nameof(options.DashboardPath)])) 286options.DashboardPath = dcpPublisherConfiguration[nameof(options.DashboardPath)]; 352!string.IsNullOrEmpty(options.DashboardPath) && 353BundleDiscovery.IsAspireManagedBinary(options.DashboardPath)) 355options.TerminalHostPath = options.DashboardPath;
Aspire.Hosting.Tests (8)
AppHostSmokeTests.cs (1)
33remoteInvokeOptions.StartInfo.Environment[$"DcpPublisher__DashboardPath"] = dcpOptions.DashboardPath;
Dcp\ConfigureDefaultDcpOptionsTests.cs (3)
250Assert.Equal(managedPath, options.DashboardPath); 270Assert.Equal(dashboardDll, options.DashboardPath); 294Assert.Equal(managedPath, options.DashboardPath);
Dcp\DcpCliArgsTests.cs (4)
74Assert.Equal("/not/a/valid/path", dcpOptions.DashboardPath); 105Assert.Equal(explicitDashboardPath, dcpOptions.DashboardPath); 124Assert.Equal(bundleDashboardPath, dcpOptions.DashboardPath); 143Assert.Equal(bundleDashboardPath, dcpOptions.DashboardPath);