Can seem to get the JSRuntime working in my Blazor application

MIchael 6 Reputation points
2022-06-25T16:35:56.853+00:00

I keep getting the following error

System.ArgumentException: 'Cannot instantiate implementation type 'Microsoft.JSInterop.JSRuntime' for service type 'Microsoft.JSInterop.IJSRuntime'.'

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,395 questions
{count} vote