dotnet/aspnetcore

Follow links when disconnecting

Open

#9 964 ouverte le 4 mai 2019

Voir sur GitHub
 (9 commentaires) (0 réactions) (0 assignés)C# (10 653 forks)batch import
affected-mediumarea-blazorenhancementfeature-blazor-servergood first issuehelp wantedseverity-major

Métriques du dépôt

Stars
 (37 933 stars)
Métriques de merge PR
 (Merge moyen 16j 9h) (258 PRs mergées en 30 j)

Description

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.

Guide contributeur