You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue
When trying to call this._context = this._canvasReference.CreateCanvas2d(); in a server-side Blazor app you get the following exception: Unable to cast object of type 'Microsoft.AspNetCore.Blazor.Server.Circuits.RemoteJSRuntime' to type 'Microsoft.JSInterop.IJSInProcessRuntime'.
Issue
When trying to call
this._context = this._canvasReference.CreateCanvas2d();
in a server-side Blazor app you get the following exception:Unable to cast object of type 'Microsoft.AspNetCore.Blazor.Server.Circuits.RemoteJSRuntime' to type 'Microsoft.JSInterop.IJSInProcessRuntime'.
It seems related to the "Calling JavaScript from .NET" section of:
Blazor 0.5.0 experimental release now available.
To Reproduce
It happens when you try the Sample in a server-side Blazor app.
The text was updated successfully, but these errors were encountered: