[Components] Feedback & Reconnect Logic (broken if state is lost) & Internationalization
See original GitHub issueHello, currently I’m toying around with Razor Components Server-Side and found the following things when using it with Razor Pages:
- If the Server looses a Connection all Messages will be in englisch, currently there should be a way to change that.
- reconnect will actually make the whole page unusable, mostly only certain “widgets” should be made unusable. i.e. only the RenderComponentAsync might be unavailable so the rest of the page can still be visible.
- reconnect does not work if the state on the signalr is completly lost, the reconnect button just does not work. (if that would be configurable, one could decide to just throw away everything and re-render, this is ok, if the page just contains a small widget that isn’t so necessary, or if it is a Datepicker, i.e. the state might be not that necessary)
- automatic reconnect is not possible (https://docs.microsoft.com/en-us/aspnet/core/blazor/hosting-models?view=aspnetcore-3.0#improved-signalr-connection-lifetime-handling)
withAutomaticReconnectis not available.
I Basically created a small Home Razor Page and tried to run it from Razor Pages (Home.cshtml + Home.cshtml.cs and added endpoints.MapRazorPages()):
Hase
@(await Html.RenderComponentAsync<Counter>())
<script src="_framework/blazor.server.js" autostart="false"></script>
<script>
Blazor.start({
configureSignalR: function (builder) {
builder.configureLogging(2); // LogLevel.Information
// builder.withAutomaticReconnect(); // this breaks the site
}
});
</script>
Most stuff is working, it’s just these “small” issues. Besides that it’s just awesome.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
WebLogic Server Known and Resolved Issues
If a deployment plan has overrides of non-configurable elements, WebLogic Server does not currently reject the elements or fail to parse them.
Read more >Bound services overview
A bound service is the server in a client-server interface. It lets components such as activities bind to the service, send requests, ...
Read more >RFC 7530: Network File System (NFS) Version 4 Protocol
The CLOSE operation also provides for the release of state accumulated by OPEN. ... or it can break the transport connection and reconnect...
Read more >A geographic relational perspective on the ...
Rooted in relational thinking in economic geography, a geographic relational lens combines insights from research on foreign investment, social ...
Read more >the changing logic of internationalization in german universities
The qualitative dissertation project focuses on the consequences of the changing logic of internationalization for actors within the landscape of German ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Ah, thanks for pointing that out! This content is misplaced (my bad!) and should be part of the SignalR docs. @guardrex
Thanks for contacting us, @schmitch. To avoid mixing contexts, please file separate issues per each item on your list, which still require attention.