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)
565var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 649var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 685var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 1028var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 1092DashboardPath = "./dashboard", 1130DashboardPath = "./dashboard", 1200DashboardPath = "./dashboard", 1386DashboardPath = "./dashboard", 1428var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", RandomizePorts = true }; 1586DashboardPath = "./dashboard", 1629DashboardPath = "./dashboard", 1666DashboardPath = "./dashboard", 1711DashboardPath = "./dashboard", 1752DashboardPath = "./dashboard", 1784DashboardPath = "./dashboard", 1823DashboardPath = "./dashboard", 1849DashboardPath = "./dashboard", 1887DashboardPath = "./dashboard", 1936DashboardPath = "./dashboard", 1993DashboardPath = "./dashboard", 2045DashboardPath = "./dashboard", 2092DashboardPath = "./dashboard", 2144DashboardPath = "./dashboard", 2197DashboardPath = "./dashboard", 2241DashboardPath = "./dashboard", 2288DashboardPath = "./dashboard", 2335DashboardPath = "./dashboard", 2385DashboardPath = "./dashboard", 2472var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 2508var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 2612var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 2840var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 2930var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 3111var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 4277var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 4339var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 4404var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 4660DashboardPath = "./dashboard", 13252dcpOptions ??= 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);