dotnet/aspnetcore

Follow links when disconnecting

开放

#9,964 创建于 2019年5月4日

 (9 条评论) (0 个反应) (0 位负责人)C# (10,653 个派生)batch import
affected-mediumarea-blazorenhancementfeature-blazor-servergood first issuehelp wantedseverity-major

仓库指标

星标
 (37,933 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

As soon as you have lost contact with blazor.server.js, any transition to the links of the prejudice causes the error 'blazor.server.js:1 Uncaught (in promise) Error: Cannot send data if the connection is not in the 'Connected' State.'

I suggest in the absence of communication with the server to perform the usual transition by reference, without using server rendering. In this case, you do not need to display a window about disconnect, and the normal reconnection will be performed with the page reloading.

贡献者指南