Blazor + RPC workaround

.net asp.net blazor c# signalr

Question

I believe that Blazor is a very cool thing. But, as I understand, a lot has not been realized yet. I would like to start using it, despite the fact that this is a pilot project. In this regard, I have a question: how can I make any RPC bundle? As I understand it, the .NET implementation of SignalR can not be used, but are there any workarounds? Thank you UPD: https://github.com/aspnet/Blazor/issues/20

Accepted Answer

I would wait for the release of 0.4.0: https://github.com/aspnet/Blazor/milestone/7

In this release support for SignalR is included, which the Blazor team is actively working on right now: https://github.com/aspnet/Blazor/issues/20

I think that any workaround would require to create your own Javascript interop, which is much more work than waiting on SignalR support.




Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why