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