-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Doc proposal for persisting state in server-side Blazor #13259
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
@danroth27 @SteveSandersonMS Done! ... but I need the answers to 👇 before wrapping it up and submitting it.
|
@SteveSandersonMS The topic is almost ready. Can you answer ☝️ those questions for me to put the final touches on it? |
Thanks @guardrex! I'm just working on getting
If that's not in docs already, then we're missing some docs. If you don't mind filing a docs issue, we can assign it to the appropriate dev to get the definitive info.
The As for the broader concepts of using localStorage, you can definitely do that from client-side Blazor using some other package, but it's not what this doc attempts to address. This doc is only about the specific concerns for server-side Blazor as its statefulness is very different to client-side Blazor where it's impossible to "drop the connection". |
Thanks ...
I'll ping you for review on this one because I did work extensively with phrasing. We want to make sure that I didn't break your meaning in the process. I'll have it submitted in a few hours after I get back from the 💪 gym. |
As a result of dotnet/aspnetcore#11793, I've written up some detailed guidance about why you need to persist state in server-side Blazor, and how to do it. This is in a gist at https://gist.github.com/SteveSandersonMS/ba16f6bb6934842d78c89ab5314f4b56.
Is it possible to convert this into a doc page? I hope the content is in decent shape already, though I'm sure you'll want to put it through the usual copyediting and stylistic changes needed to fit in with the rest of the docs. cc @guardrex
Note that the gist refers to a package called
ProtectedBrowserStorage
that hasn't yet been published, but is in a PR at aspnet/AspLabs#198. Hopefully we'll publish the package soon (though it will remain experimental for now).The text was updated successfully, but these errors were encountered: