Blazor Server app stops working after installing Microsoft.AspNetCore.SignalR.Client - Stack Overflow

I generate a brand new blazor server project in ubuntu with "dotnet new blazor -o MyBlazorAppServe

I generate a brand new blazor server project in ubuntu with "dotnet new blazor -o MyBlazorAppServer" command and it works perfectly fine when I launch it, but as soon as I install Microsoft.AspNetCore.SignalR.Client package, buttons in the project stop working and it throws : Uncaught (in promise) Error: Server returned an error on close: Connection closed with an error. at fn._processIncomingData (blazor.web.js:1:60779) at An.onreceive (blazor.web.js:1:54030) at WebSocket. (blazor.web.js:1:82175) blazor.web.js:1 Uncaught (in promise) Error: Server returned an error on close: Connection closed with an error. InvalidDataException: Reading 'target' as String failed. at fn._processIncomingData (blazor.web.js:1:60779) at An.onreceive (blazor.web.js:1:54030) at WebSocket. (blazor.web.js:1:82175) error in the console.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744898026a4599812.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信