Soenneker.Blazor.Utils.Navigation
4.0.1102
Prefix Reserved
dotnet add package Soenneker.Blazor.Utils.Navigation --version 4.0.1102
NuGet\Install-Package Soenneker.Blazor.Utils.Navigation -Version 4.0.1102
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Blazor.Utils.Navigation" Version="4.0.1102" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Blazor.Utils.Navigation" Version="4.0.1102" />
<PackageReference Include="Soenneker.Blazor.Utils.Navigation" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Blazor.Utils.Navigation --version 4.0.1102
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Blazor.Utils.Navigation, 4.0.1102"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Blazor.Utils.Navigation@4.0.1102
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Blazor.Utils.Navigation&version=4.0.1102
#tool nuget:?package=Soenneker.Blazor.Utils.Navigation&version=4.0.1102
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Blazor.Utils.Navigation
Can work side-by-side existing Blazor NavigationManager usage, and still work with navigate back
Installation
dotnet add package Soenneker.Blazor.Navigation
Usage
- Register
INavigationUtilwithinProgram.csor wherever your registering your services:
public static async Task Main(string[] args)
{
...
builder.Services.AddNavigationUtil();
}
- Warm it up so it can begin recording navigation history. Call after the
WebAssemblyHosthas been built:
public static async Task Main(string[] args)
{
...
WebAssemblyHost host = builder.Build();
host.Services.WarmupNavigation();
}
- Inject
INavigationUtilwithin pages/components where you need to access navigation methods:
@using Soenneker.Blazor.Navigation.Abstract
@inject INavigationUtil NavigationUtil
Navigating back
NavigationUtil.NavigateBack();
Navigating
// within the SPA client
NavigationUtil.NavigateTo("/users");
// forcing a page load
NavigationUtil.NavigateTo("/users", true);
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.AspNetCore.Components.WebAssembly.Authentication (>= 10.0.5)
- Microsoft.AspNetCore.WebUtilities (>= 10.0.5)
- Soenneker.Extensions.String (>= 4.0.665)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Blazor.Utils.Navigation:
| Package | Downloads |
|---|---|
|
Soenneker.Blazor.Utils.Session
A Blazor utility for automatic navigation after JWT expiration |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.1102 | 735 | 3/31/2026 |
| 4.0.1101 | 93 | 3/31/2026 |
| 4.0.1100 | 430 | 3/22/2026 |
| 4.0.1099 | 297 | 3/19/2026 |
| 4.0.1098 | 193 | 3/19/2026 |
| 4.0.1097 | 382 | 3/15/2026 |
| 4.0.1096 | 371 | 3/13/2026 |
| 4.0.1095 | 264 | 3/13/2026 |
| 4.0.1094 | 204 | 3/13/2026 |
| 4.0.1093 | 93 | 3/13/2026 |
| 4.0.1092 | 228 | 3/13/2026 |
| 4.0.1091 | 87 | 3/12/2026 |
| 4.0.1090 | 97 | 3/12/2026 |
| 4.0.1089 | 91 | 3/12/2026 |
| 4.0.1085 | 148 | 3/12/2026 |
| 4.0.1083 | 240 | 3/12/2026 |
| 4.0.1082 | 93 | 3/12/2026 |
| 4.0.1081 | 304 | 3/12/2026 |
| 4.0.1080 | 550 | 3/11/2026 |
| 4.0.1079 | 322 | 3/11/2026 |
Loading failed
Update dependency Soenneker.Extensions.String to 4.0.665 (#1536)