35 writes to DashboardPath
Aspire.Hosting (3)
Dcp\DcpOptions.cs (3)
227options.DashboardPath = dcpPublisherConfiguration[nameof(options.DashboardPath)]; 232options.DashboardPath = configDashboardPath; 237options.DashboardPath = GetMetadataValue(assemblyMetadata, DashboardPathMetadataKey);
Aspire.Hosting.Tests (32)
Dashboard\DashboardResourceTests.cs (3)
42o.DashboardPath = dashboardPath; 333o.DashboardPath = dashboardPath; 706o.DashboardPath = dashboardPath;
Dcp\DcpCliArgsTests.cs (1)
131DashboardPath = "\t",
Dcp\DcpExecutorTests.cs (26)
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" }; 874var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", RandomizePorts = true }; 912var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", RandomizePorts = true }; 1070DashboardPath = "./dashboard", 1113DashboardPath = "./dashboard", 1150DashboardPath = "./dashboard", 1193DashboardPath = "./dashboard", 1231DashboardPath = "./dashboard", 1269DashboardPath = "./dashboard", 1306DashboardPath = "./dashboard", 1344DashboardPath = "./dashboard", 1391DashboardPath = "./dashboard", 1468var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 1504var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 1608var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 1836var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 1926var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 2107var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 3160var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 3222var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 3287var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 3536var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", RandomizePorts = true }; 10083dcpOptions ??= new DcpOptions { DashboardPath = "./dashboard" };
Dcp\DcpHostNotificationTests.cs (1)
600var dcpOptions = new DcpOptions { CliPath = dummyPath, DashboardPath = "/dummy/dashboard" };
DistributedApplicationBuilderTests.cs (1)
49o.DashboardPath = "dashboard";
15 references to DashboardPath
Aspire.Hosting (7)
Dashboard\DashboardOptions.cs (1)
38options.DashboardPath = dcpOptions.Value.DashboardPath;
Dcp\DcpOptions.cs (6)
156if (executionContext.IsRunMode && string.IsNullOrWhiteSpace(options.DashboardPath)) 224if (!string.IsNullOrWhiteSpace(dcpPublisherConfiguration[nameof(options.DashboardPath)])) 227options.DashboardPath = dcpPublisherConfiguration[nameof(options.DashboardPath)]; 294!string.IsNullOrEmpty(options.DashboardPath) && 295BundleDiscovery.IsAspireManagedBinary(options.DashboardPath)) 297options.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);