{"id":24271833,"url":"https://github.com/soenneker/soenneker.blazor.utils.navigation","last_synced_at":"2026-06-17T02:00:46.134Z","repository":{"id":157763477,"uuid":"633634357","full_name":"soenneker/soenneker.blazor.utils.navigation","owner":"soenneker","description":"A Blazor WebAssembly library that features navigate back, login/logout, reload and more","archived":false,"fork":false,"pushed_at":"2026-06-13T21:46:16.000Z","size":1843,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-13T23:22:48.068Z","etag":null,"topics":["blazor","csharp","dotnet","navigation","utils"],"latest_commit_sha":null,"homepage":"https://soenneker.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/soenneker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"soenneker","thanks_dev":"soenneker"}},"created_at":"2023-04-28T00:17:10.000Z","updated_at":"2026-06-13T21:46:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"9e5bdbbe-2bf9-4354-a084-f7d479d89ea9","html_url":"https://github.com/soenneker/soenneker.blazor.utils.navigation","commit_stats":null,"previous_names":[],"tags_count":164,"template":false,"template_full_name":null,"purl":"pkg:github/soenneker/soenneker.blazor.utils.navigation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soenneker%2Fsoenneker.blazor.utils.navigation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soenneker%2Fsoenneker.blazor.utils.navigation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soenneker%2Fsoenneker.blazor.utils.navigation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soenneker%2Fsoenneker.blazor.utils.navigation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soenneker","download_url":"https://codeload.github.com/soenneker/soenneker.blazor.utils.navigation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soenneker%2Fsoenneker.blazor.utils.navigation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34430688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blazor","csharp","dotnet","navigation","utils"],"created_at":"2025-01-15T17:59:44.648Z","updated_at":"2026-06-17T02:00:46.059Z","avatar_url":"https://github.com/soenneker.png","language":"C#","funding_links":["https://github.com/sponsors/soenneker","https://thanks.dev/soenneker"],"categories":[],"sub_categories":[],"readme":"[![](https://img.shields.io/nuget/v/Soenneker.Blazor.Utils.Navigation.svg?style=for-the-badge)](https://www.nuget.org/packages/Soenneker.Blazor.Utils.Navigation/)\n[![](https://img.shields.io/github/actions/workflow/status/soenneker/soenneker.blazor.utils.navigation/publish-package.yml?style=for-the-badge)](https://github.com/soenneker/soenneker.blazor.utils.navigation/actions/workflows/publish-package.yml)\n[![](https://img.shields.io/nuget/dt/Soenneker.Blazor.Utils.Navigation.svg?style=for-the-badge)](https://www.nuget.org/packages/Soenneker.Blazor.Utils.Navigation/)\n[![](https://img.shields.io/github/actions/workflow/status/soenneker/soenneker.blazor.utils.navigation/codeql.yml?label=CodeQL\u0026style=for-the-badge)](https://github.com/soenneker/soenneker.blazor.utils.navigation/actions/workflows/codeql.yml)\n\n# ![](https://user-images.githubusercontent.com/4441470/224455560-91ed3ee7-f510-4041-a8d2-3fc093025112.png) Soenneker.Blazor.Utils.Navigation\n\nCan work side-by-side existing Blazor [NavigationManager](https://learn.microsoft.com/en-us/aspnet/core/blazor/fundamentals/routing?view=aspnetcore-7.0) usage, and still work with navigate back\n\n## Installation\n\n```\ndotnet add package Soenneker.Blazor.Navigation\n```\n\n## Usage\n\n1. Register `INavigationUtil` within `Program.cs` or wherever your registering your services:\n\n```csharp\npublic static async Task Main(string[] args)\n{\n    ...\n    builder.Services.AddNavigationUtil();\n}\n```\n\n2. Warm it up so it can begin recording navigation history. Call after the `WebAssemblyHost` has been built:\n\n```csharp\npublic static async Task Main(string[] args)\n{\n    ...\n    WebAssemblyHost host = builder.Build();\n\n    host.Services.WarmupNavigation();\n}\n```\n\n3. Inject `INavigationUtil` within pages/components where you need to access navigation methods:\n\n\n```csharp\n@using Soenneker.Blazor.Navigation.Abstract\n@inject INavigationUtil NavigationUtil\n```\n\n\n### Navigating back \n```csharp\nNavigationUtil.NavigateBack();\n```\n\n### Navigating\n```csharp\n// within the SPA client\nNavigationUtil.NavigateTo(\"/users\");\n\n// forcing a page load\nNavigationUtil.NavigateTo(\"/users\", true);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoenneker%2Fsoenneker.blazor.utils.navigation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoenneker%2Fsoenneker.blazor.utils.navigation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoenneker%2Fsoenneker.blazor.utils.navigation/lists"}