Live Chat Icon For mobile
Live Chat Icon

Error: System.ArgumentException: Cannot instantiate implementation type ‘Microsoft.AspNetCore.Blazor.Services.UriHelperBase’ for service type ‘Microsoft.AspNetCore.Blazor.Services.IUriHelper’. Now what?

Here is the solution.

This works after adding a dependency injection for NavigationManager, and IUriHelper has been replaced with NavigationManager.

@inject NavigationManager Navigation;

Reference link:

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.