LocalStorage
BlazorWithFluxor
Our great sponsors
LocalStorage | BlazorWithFluxor | |
---|---|---|
13 | 3 | |
1,136 | 23 | |
3.7% | - | |
3.7 | 0.0 | |
about 2 months ago | almost 3 years ago | |
C# | C# | |
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
-
Confused about security in Blazor Web Assembly App
You store the token in local storage. This is a library that will give you access to that. Blazored
-
Nightclub Website
Blazored LocalStorage - for Tokens and Authentication Stuff
-
Github
The library make use of Blazored LocalStorage for storing cache data.
-
WASM -> MAUI with a shared project
I use a library called Blazored LocalStorage for the WASM project to store client side data like preferences and auth stuff. This, it seems, is not supported in MAUI. Although MAUI starts a web server, it does not store data in the 'browser'. Instead it uses an API called "Preferences" (Which is a pretty sweet interface, props MS) but now I find myself struggling how I can use one, or the other depending on the project.
- Microsoft.JSInterop.JSDisconnectedException
-
Where do you store your jwt on the client?
I've built a few Blazor WASM apps and use Blazored LocalStorage to access it.
-
Announcing .NET Community Toolkit v8.0.0 Preview 1
For Blazor, you need to either use a third-party library to set up INPC, or do this yourself. I do the latter. For example, I have a settings class. I use https://github.com/blazored/LocalStorage to store the settings in the browser, and set them up as a singleton.
-
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
BlazorWithFluxor
-
Advanced Blazor State Management Using Fluxor, part 6 - Persisting State
Note: For demonstration purposes I have hooked in the Blazored.Toast component to pop up a Toast message whenever the CounterState is saved or retrieved, as demonstrated in the previous post in this series. For brevity's sake I'm not including that code in this post, but you can find it all in the project's repository on github.
-
Advanced Blazor State Management Using Fluxor, part 3
After all of these steps, the solution should look like this branch of the demo repository.
-
Advanced Blazor State Management Using Fluxor, part 2
Before we begin: The code for this blog series can be found on github as shown below. To check your progress for this step of the series, view the 002_Add_Fluxor_Libraries branch.
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.
redux-devtools-extension - Redux DevTools extension.
ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
Fluxor - Fluxor is a zero boilerplate Flux/Redux library for Microsoft .NET and Blazor.
Blazor.IndexedDB.Framework - A framework for blazor which acts as an interface to IndexedDB
Visual Studio Code - Visual Studio Code
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.