Blazor : System.InvalidOperationException: 'RemoteNavigationManager' has not been initialized
I'm using Blazor Server on a ASP.NET Core MVC 3.1 website for some components that need Blazor power. Everything works fine, however, I'm not able to navigate from a Blazor component to an ASP.NET MVC route. For navigation, I've set the following property : [Inject] public NavigationManager NavigationManager { get; set; } When I call NavigationManager.NavigateTo("/games/details/" + gameId, true), I have the following error : Error: System.InvalidOperationException: 'RemoteNavigationManager' has not been initialized. at Microsoft.AspNetCore.Components.NavigationManager.AssertInitialized() at Mi
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.