最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin4浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论