40 writes to DashboardPath
Aspire.Hosting (3)
Dcp\DcpOptions.cs (3)
281options.DashboardPath = dcpPublisherConfiguration[nameof(options.DashboardPath)]; 286options.DashboardPath = configDashboardPath; 291options.DashboardPath = GetMetadataValue(assemblyMetadata, DashboardPathMetadataKey);
Aspire.Hosting.Tests (37)
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 (30)
481var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 565var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 601var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 915var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 979DashboardPath = "./dashboard", 1017DashboardPath = "./dashboard", 1087DashboardPath = "./dashboard", 1273DashboardPath = "./dashboard", 1315var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", RandomizePorts = true }; 1473DashboardPath = "./dashboard", 1516DashboardPath = "./dashboard", 1553DashboardPath = "./dashboard", 1596DashboardPath = "./dashboard", 1634DashboardPath = "./dashboard", 1672DashboardPath = "./dashboard", 1709DashboardPath = "./dashboard", 1747DashboardPath = "./dashboard", 1794DashboardPath = "./dashboard", 1835DashboardPath = "./dashboard", 1916var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 1952var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 2056var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 2284var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 2374var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 2555var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 3721var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 3783var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 3848var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 4104DashboardPath = "./dashboard", 11403dcpOptions ??= new DcpOptions { DashboardPath = "./dashboard" };
Dcp\DcpHostNotificationTests.cs (1)
664var 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)
185if (executionContext.IsRunMode && string.IsNullOrWhiteSpace(options.DashboardPath)) 278if (!string.IsNullOrWhiteSpace(dcpPublisherConfiguration[nameof(options.DashboardPath)])) 281options.DashboardPath = dcpPublisherConfiguration[nameof(options.DashboardPath)]; 347!string.IsNullOrEmpty(options.DashboardPath) && 348BundleDiscovery.IsAspireManagedBinary(options.DashboardPath)) 350options.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);