40 references to DashboardUrls
Aspire.Dashboard (40)
Components\Controls\Chart\PlotlyChart.razor.cs (1)
222_plotlyChart.NavigationManager.NavigateTo(DashboardUrls.TraceDetailUrl(traceId, spanId));
Components\Controls\ResourceActions.razor.cs (4)
77NavigationManager.NavigateTo(DashboardUrls.ConsoleLogsUrl(resource: Resource.Name)); 94NavigationManager.NavigateTo(DashboardUrls.StructuredLogsUrl(resource: GetResourceName(Resource))); 105NavigationManager.NavigateTo(DashboardUrls.TracesUrl(resource: GetResourceName(Resource))); 116NavigationManager.NavigateTo(DashboardUrls.MetricsUrl(resource: GetResourceName(Resource)));
Components\Controls\ResourceDetails.razor.cs (1)
240NavigationManager.NavigateTo(DashboardUrls.ResourcesUrl(resource: relationship.Resource.Name));
Components\Controls\SpanActions.razor.cs (1)
50NavigationManager.NavigateTo(DashboardUrls.StructuredLogsUrl(spanId: SpanViewModel.Span.SpanId));
Components\Controls\SpanDetails.razor.cs (1)
100NavigationManager.NavigateTo(DashboardUrls.TraceDetailUrl(linkVM.TraceId, spanId: linkVM.SpanId));
Components\Controls\TraceActions.razor.cs (2)
41NavigationManager.NavigateTo(DashboardUrls.TraceDetailUrl(Trace.TraceId)); 51NavigationManager.NavigateTo(DashboardUrls.StructuredLogsUrl(traceId: Trace.TraceId));
Components\Dialogs\ExemplarsDialog.razor.cs (1)
50NavigationManager.NavigateTo(DashboardUrls.TraceDetailUrl(exemplar.TraceId, spanId: exemplar.SpanId));
Components\Layout\MainLayout.razor.cs (5)
254NavigationManager.NavigateTo(DashboardUrls.ResourcesUrl()); 257NavigationManager.NavigateTo(DashboardUrls.ConsoleLogsUrl()); 260NavigationManager.NavigateTo(DashboardUrls.StructuredLogsUrl()); 263NavigationManager.NavigateTo(DashboardUrls.TracesUrl()); 266NavigationManager.NavigateTo(DashboardUrls.MetricsUrl());
Components\Layout\MobileNavMenu.razor.cs (10)
41() => NavigateToAsync(DashboardUrls.ResourcesUrl()), 43LinkMatchRegex: new Regex($"^{DashboardUrls.ResourcesUrl()}$") 48() => NavigateToAsync(DashboardUrls.ConsoleLogsUrl()), 50LinkMatchRegex: GetNonIndexPageRegex(DashboardUrls.ConsoleLogsUrl()) 56() => NavigateToAsync(DashboardUrls.StructuredLogsUrl()), 58LinkMatchRegex: GetNonIndexPageRegex(DashboardUrls.StructuredLogsUrl()) 63() => NavigateToAsync(DashboardUrls.TracesUrl()), 65LinkMatchRegex: GetNonIndexPageRegex(DashboardUrls.TracesUrl()) 70() => NavigateToAsync(DashboardUrls.MetricsUrl()), 72LinkMatchRegex: GetNonIndexPageRegex(DashboardUrls.MetricsUrl())
Components\Pages\ConsoleLogs.razor.cs (2)
82public string BasePath => DashboardUrls.ConsoleLogBasePath; 446return DashboardUrls.ConsoleLogsUrl(serializable.SelectedResource);
Components\Pages\Login.razor.cs (1)
102return ReturnUrl ?? DashboardUrls.ResourcesUrl();
Components\Pages\Metrics.razor.cs (2)
30public string BasePath => DashboardUrls.MetricsBasePath; 244var url = DashboardUrls.MetricsUrl(
Components\Pages\Resources.razor.cs (2)
299NavigationManager.NavigateTo(DashboardUrls.ResourcesUrl(), new NavigationOptions { ReplaceHistoryEntry = true }); 436toastParameters.OnPrimaryAction = EventCallback.Factory.Create<ToastResult>(this, () => NavigationManager.NavigateTo(DashboardUrls.ConsoleLogsUrl(resource: resource.Name)));
Components\Pages\StructuredLogs.razor.cs (2)
48public string BasePath => DashboardUrls.StructuredLogsBasePath; 377var url = DashboardUrls.StructuredLogsUrl(
Components\Pages\TraceDetail.razor.cs (1)
130NavigationManager.NavigateTo(DashboardUrls.TraceDetailUrl(TraceId), new NavigationOptions { ReplaceHistoryEntry = true });
Components\Pages\Traces.razor.cs (2)
45public string BasePath => DashboardUrls.TracesBasePath; 272return DashboardUrls.TracesUrl(
Components\ResourcesGridColumns\UnreadLogErrorsBadge.razor.cs (1)
57return DashboardUrls.StructuredLogsUrl(resource: _applicationName, logLevel: "error");
Model\ValidateTokenMiddleware.cs (1)
77context.Response.Redirect(DashboardUrls.ResourcesUrl());