Comments (3)
Hi @adrianwright109. The browsers session storage is only capable of storing string values. So that is the only thing you need to factor in here. I'm curious if you've hit any speed issues with the default serialization or if you're just expecting them?
from sessionstorage.
I'm more worried about exceeding the browser's session storage limit as these Telerik grids can have up to 10,000 rows in them. Potentially 10,000 rows could be selected and serializing a list of that many into a JSON string could exceed the limit. Unfortunately the grid needs the full objects to set the selected items, not just an ID.
Other option which I might have to do is store a unique ID into session storage then retrieve them from session storage and the use them to query the database to build up the list of selected items from the IDs.
from sessionstorage.
I see what you're saying. Session storage will hold up to around 5MB. I think storing the ID's with a call back to the DB is probably a more robust option.
As there isn't anything to do here I'm going to close this issue.
from sessionstorage.
Related Issues (20)
- Is this a good use library to store the JWT and deal with AuthenticationStateProvider? HOT 1
- [Bug] Session Storage Limit HOT 6
- [Feature Request] Cancellation Token support HOT 1
- Could the dependency on bUnit.Core be removed? HOT 1
- [Bug]GetItemAsync and SetItemAsync throw System.Threading.Tasks.TaskCanceledException: 'A task was canceled.' HOT 2
- [Feature Request] .NET6 HOT 2
- [Feature Request] TestExtensions - ISyncSessionStorageService HOT 1
- [Question] Serialize internal properties? HOT 1
- "Duplicate Tab" issue. HOT 1
- Session ID HOT 3
- [Bug]Different Blazor Server apps on same web server can share session values HOT 3
- [Bug] SetItemAsync throws Microsoft.JSInterop.JSDisconnectedException: JavaScript interop calls cannot be issued at this time. HOT 1
- AddBlazoredSessionStorage() add public setter for options.JsonSerializerOptions
- [Bug] SessionStorage Value Not Persisting on Page Refresh HOT 1
- How do I removed a variable stored in local storage from a Blazor Server App? HOT 3
- [Question] Does accessing session storage work in `OnInitializedAsync` with render mode `Server(prerender=false)`?
- blazored.sessionstorage is missing NuGet package README file
- session.GetItemAsync("authToken") - does not return the value nor does it throw an exception
- [Question] Get sessions values in ASP Controllers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sessionstorage.