21 writes to ReplaceHistoryEntry
Aspire.Dashboard (18)
Components\Controls\DashboardNotAuthorized.razor.cs (1)
34
NavigationManager.NavigateTo(loginUrl, new NavigationOptions {
ReplaceHistoryEntry
= true });
Components\IPageWithSessionAndUrlState.cs (1)
147
ReplaceHistoryEntry
= true,
Components\Layout\ResourcesLayout.razor.cs (2)
1284
NavigationManager.NavigateTo(GetSelectionUrl(selection), new NavigationOptions {
ReplaceHistoryEntry
= true });
1305
NavigationManager.NavigateTo(GetTabUrl(ResourceTab.Overview, resourceNames), new NavigationOptions {
ReplaceHistoryEntry
= true });
Components\Legacy\Pages\Resources.razor.cs (1)
675
NavigationManager.NavigateTo(DashboardUrls.ResourcesUrl(), new NavigationOptions {
ReplaceHistoryEntry
= true });
Components\Legacy\Pages\StructuredLogs.razor.cs (1)
248
NavigationManager.NavigateTo(DashboardUrls.StructuredLogsUrl(), new NavigationOptions {
ReplaceHistoryEntry
= true });
Components\Legacy\Pages\Terminals.razor.cs (2)
209
NavigationManager.NavigateTo(url, new NavigationOptions {
ReplaceHistoryEntry
= true });
284
NavigationManager.NavigateTo(DashboardUrls.ResourcesUrl(), new NavigationOptions {
ReplaceHistoryEntry
= true });
Components\Legacy\Pages\TraceDetail.razor.cs (1)
244
NavigationManager.NavigateTo(DashboardUrls.TraceDetailUrl(TraceId), new NavigationOptions {
ReplaceHistoryEntry
= true });
Components\Pages\GraphRedirect.razor.cs (1)
24
NavigationManager.NavigateTo(DashboardUrls.ResourceListUrl(), new NavigationOptions {
ReplaceHistoryEntry
= true });
Components\Pages\Home.razor.cs (1)
53
NavigationManager.NavigateTo(url, new NavigationOptions {
ReplaceHistoryEntry
= true });
Components\Pages\ParametersRedirect.razor.cs (1)
16
NavigationManager.NavigateTo(DashboardUrls.ResourceListUrl(), new NavigationOptions {
ReplaceHistoryEntry
= true });
Components\Pages\Resources.razor.cs (2)
703
NavigationManager.NavigateTo(DashboardUrls.ParametersUrl(), new NavigationOptions {
ReplaceHistoryEntry
= true });
746
NavigationManager.NavigateTo($"/{BasePath}", new NavigationOptions {
ReplaceHistoryEntry
= true });
Components\Pages\StructuredLogs.razor.cs (1)
320
NavigationManager.NavigateTo(ResourcesLayout?.GetTabUrl(ResourceTab.StructuredLogs) ?? DashboardUrls.StructuredLogsUrl(), new NavigationOptions {
ReplaceHistoryEntry
= true });
Components\Pages\Terminals.razor.cs (2)
233
NavigationManager.NavigateTo(url, new NavigationOptions {
ReplaceHistoryEntry
= true });
311
NavigationManager.NavigateTo(DashboardUrls.ResourcesUrl(), new NavigationOptions {
ReplaceHistoryEntry
= true });
Components\Pages\TraceDetail.razor.cs (1)
265
NavigationManager.NavigateTo(ResourcesLayout?.GetTraceDetailUrl(TraceId) ?? DashboardUrls.TraceDetailUrl(TraceId), new NavigationOptions {
ReplaceHistoryEntry
= true });
Microsoft.AspNetCore.Components (1)
NavigationManager.cs (1)
143
ReplaceHistoryEntry
= replace,
Microsoft.AspNetCore.Components.WebAssembly.Authentication (2)
RemoteAuthenticatorViewCore.cs (2)
24
new() {
ReplaceHistoryEntry
= true, ForceLoad = false };
413
Navigation.NavigateTo(Navigation.ToAbsoluteUri(ApplicationPaths.RemoteProfilePath).AbsoluteUri, new NavigationOptions {
ReplaceHistoryEntry
= true, ForceLoad = true });
5 references to ReplaceHistoryEntry
Aspire.Dashboard.Components.Tests (2)
Controls\DashboardNotAuthorizedTests.cs (1)
44
Assert.True(navigationManager.LastNavigationOptions is {
ReplaceHistoryEntry
: true });
Model\PageWithSessionAndUrlStateTests.cs (1)
30
Assert.True(page.Navigation.LastNavigationOptions?.
ReplaceHistoryEntry
);
Microsoft.AspNetCore.Components.Server (1)
Circuits\RemoteNavigationManager.cs (1)
230
=> RequestingNavigation(logger, uri, options.ForceLoad, options.
ReplaceHistoryEntry
);
Microsoft.AspNetCore.Components.Web (2)
Generated\361d1da7f942c932\WebRendererSerializerContext.NavigationOptions.g.cs (2)
80
Getter = static obj => ((global::Microsoft.AspNetCore.Components.NavigationOptions)obj).
ReplaceHistoryEntry
,
143
writer.WriteBoolean(PropName_ReplaceHistoryEntry, ((global::Microsoft.AspNetCore.Components.NavigationOptions)value).
ReplaceHistoryEntry
);