11 references to TracesUrl
Aspire.Dashboard (5)
Components\Layout\MainLayout.razor.cs (1)
267NavigationManager.NavigateTo(DashboardUrls.TracesUrl());
Components\Layout\MobileNavMenu.razor.cs (2)
62() => NavigateToAsync(DashboardUrls.TracesUrl()), 64LinkMatchRegex: GetNonIndexPageRegex(DashboardUrls.TracesUrl())
Components\Pages\Traces.razor.cs (1)
289return DashboardUrls.TracesUrl(
Model\ResourceMenuItems.cs (1)
87navigationManager.NavigateTo(DashboardUrls.TracesUrl(resource: getResourceName(resource)));
Aspire.Dashboard.Tests (6)
DashboardUrlsTests.cs (1)
58Assert.Equal($"/traces/resource/resource{PlaceholderAllCharactersEncoded}", DashboardUrls.TracesUrl(resource: $"resource{PlaceholderInput}"));
Integration\FrontendBrowserTokenAuthTests.cs (5)
64var response1 = await client.GetAsync(DashboardUrls.LoginUrl(returnUrl: DashboardUrls.TracesUrl(), token: apiKey)).DefaultTimeout(); 68Assert.Equal(DashboardUrls.TracesUrl(), response1.RequestMessage!.RequestUri!.PathAndQuery); 95var response = await client.GetAsync(DashboardUrls.LoginUrl(returnUrl: DashboardUrls.TracesUrl(), token: apiKey)).DefaultTimeout(); 119var response = await client.GetAsync(DashboardUrls.LoginUrl(returnUrl: DashboardUrls.TracesUrl(), token: "Wrong!")).DefaultTimeout(); 123Assert.Equal(DashboardUrls.LoginUrl(returnUrl: DashboardUrls.TracesUrl()), response.RequestMessage!.RequestUri!.PathAndQuery, ignoreCase: true);