-
Notifications
You must be signed in to change notification settings - Fork 10.3k
[Components] Feedback & Reconnect Logic (broken if state is lost) & Internationalization #9737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You can customize the UI to display different text. See https://docs.microsoft.com/en-us/aspnet/core/blazor/hosting-models?view=aspnetcore-3.0#reconnection-to-the-same-server for details.
We're not certain what you mean. Could you please provide some specific repro steps that demonstrate the problem you are seeing?
Yes, this is expected, but we do plan to improve the UI to clarify when the state on the server has been lost: #10496. We are also working on providing guidance for how to manage state with server-side Blazor apps in the next milestone: #9734.
It sounds like you're trying to use the SignalR automatic reconnect feature, but Blazor itself deals with automatic reconnect. |
actually than the docs are misleading: https://docs.microsoft.com/en-us/aspnet/core/blazor/hosting-models?view=aspnetcore-3.0#improved-signalr-connection-lifetime-handling btw. another cool feature would be to have an application that uses either server-side or client-side depending if the client can support wasm. of course that means that some services needs to be different on client/server side but I guess that can be done via DI. |
Ah, thanks for pointing that out! This content is misplaced (my bad!) and should be part of the SignalR docs. @guardrex |
@danroth27 actually I wish that at least example (bootstrap, pseudo):
with |
Thanks for contacting us, @schmitch. |
Hello, currently I'm toying around with Razor Components Server-Side and found the following things when using it with Razor Pages:
withAutomaticReconnect
is 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()
):Most stuff is working, it's just these "small" issues.
Besides that it's just awesome.
The text was updated successfully, but these errors were encountered: