LocalStorage
DnetIndexedDb
Our great sponsors
LocalStorage | DnetIndexedDb | |
---|---|---|
13 | 3 | |
1,001 | 96 | |
2.6% | - | |
0.0 | 0.0 | |
about 2 months ago | about 1 year ago | |
C# | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
LocalStorage
-
Is there any way to link Blazor Webassembly PWA to an SQL database? if so how?
if its like less than 30 items u can just use https://github.com/Blazored/LocalStorage
-
Nightclub Website
Blazored LocalStorage - for Tokens and Authentication Stuff
-
Github
The library make use of Blazored LocalStorage for storing cache data.
-
How to store client side data in a Blazor WASM app in 2021?
If you only need key/value, I've been using this one. https://github.com/Blazored/LocalStorage
- Pre-fetch data for next page
-
Advanced Blazor State Management Using Fluxor, part 6 - Persisting State
To begin, let's note that the localStorage API is a JavaScript API, and isn't directly available to be called by our Blazor code. We need to either write our own JSInterop code to interact with localStorage, or we can take advantage of a library somebody else has already written. I'm going to use the excellent Blazored.LocalStorage.
DnetIndexedDb
-
Making a Blazor app run on Web browser, Windows, Linux, Android, iOS and macOS
Blazor WASM was the first, original version. I wanted an app that can work offline, so I decided to save user data in IndexedDB. My first choice for an IndexedDB NuGet was https://github.com/Reshiru/Blazor.IndexedDB.Framework because it was recommended by Steve Sanderson in https://blog.stevensanderson.com/2019/08/03/blazor-indexeddb/ - and it was the worst mistake in the whole project. The NuGet loads all the data from IndexedDB into memory every time you open a connection. That made the app unusably slow after one year of use. I made a few improvements in my own version https://github.com/Jinjinov/IndexedDB.Blazor but I never solved the loading problem. I decided to rewrite the whole project from scratch, using the much better IndexedDB NuGet https://github.com/amuste/DnetIndexedDb . The original project is available at https://github.com/Jinjinov/TheLastTime and as a PWA https://old.ididit.today/ as a lesson on what mistakes to avoid.
-
How to store client side data in a Blazor WASM app in 2021?
https://github.com/amuste/DnetIndexedDb - 62 stars - 5 contributors - last commit on Jun 25, 2021
What are some alternatives?
MudBlazor - Blazor Component Library based on Material design with an emphasis on ease of use. Mainly written in C# with Javascript kept to a bare minimum it empowers .NET developers to easily debug it if needed.
ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
Blazor.IndexedDB.Framework - A framework for blazor which acts as an interface to IndexedDB
BlazorDB - Use IndexedDB in Blazor WebAssembly (WASM)
Fluxor - Fluxor is a zero boilerplate Flux/Redux library for Microsoft .NET and Blazor.
Blazor.IndexedDB - A Blazor library for accessing IndexedDB
ant-design-blazor - 🌈A set of enterprise-class UI components based on Ant Design and Blazor WebAssembly.
Modal - A powerful and customizable modal implementation for Blazor applications.
awesome-blazor-browser - A Blazor WebAssembly app for browsing the "Awesome Blazor" resources.
HITS.LIB.Sqlite - A data access layer for Sqlite using Microsoft.Data.Sqlite.Core.