2 writes to DashboardUrl
aspire (2)
Backchannel\TrayWatchStream.cs (2)
321hosts[i] = resolved[i] ? host with { DashboardUrl = cachedUrl } : host; 349hosts[index] = hosts[index] with { DashboardUrl = urls?.BaseUrlWithLoginToken };
12 references to DashboardUrl
aspire (2)
Backchannel\TrayWatchStream.cs (2)
293.ThenBy(host => host.DashboardUrl, StringComparer.Ordinal) 395_dashboardUrls[candidates[i].Connection] = hosts[i].DashboardUrl;
Aspire.Cli.Tests (10)
Backchannel\TrayWatchStreamTests.cs (10)
360host => { Assert.Equal(10, host.AppHostPid); Assert.Null(host.DashboardUrl); }, 361host => { Assert.Equal(20, host.AppHostPid); Assert.Equal("http://localhost:1234", host.DashboardUrl); }); 409Assert.Null(Assert.Single(initial.AppHosts!).DashboardUrl); 416Assert.Equal("http://localhost:1234/login?t=abc", host.DashboardUrl); 545Assert.All(snapshot.AppHosts!, host => Assert.Null(host.DashboardUrl)); 594Assert.All(initial.AppHosts, host => Assert.Null(host.DashboardUrl)); 617Assert.Null(host.DashboardUrl); 622host => { Assert.Equal(1, host.AppHostPid); Assert.Null(host.DashboardUrl); }, 623host => { Assert.Equal(20, host.AppHostPid); Assert.Equal("http://localhost:1234", host.DashboardUrl); }, 656Assert.Null(Assert.Single(snapshot.AppHosts!).DashboardUrl);