blazor-js-components icon indicating copy to clipboard operation
blazor-js-components copied to clipboard

Call dotNet methode from Javascript with extends BlazorJSComponents.Component

Open Oncleweb opened this issue 1 month ago • 0 comments

Hello, Thank-you for this component.

I cannot know how to call dotNet method with [JSInvokable] attribute. I don't know how to send DotNetObjectReference<> object to the javascript object.

I have an error "DotNetObjectReference" is not serializable.

How to do ? Do you have a way to send the DotNetObjectReference ? A way to call the dotNet methode into an instance object ?

I hope you can help me.

BR Patrice

Oncleweb avatar Oct 29 '25 09:10 Oncleweb