Using absurd-sql approach to support blazor wasm #440
gentledepp
started this conversation in
Ideas
Replies: 3 comments 10 replies
-
/cc @SteveSanderson |
Beta Was this translation helpful? Give feedback.
0 replies
-
@gentledepp See https://github.com/SteveSandersonMS/BlazeOrbital for a sample app that already does this. |
Beta Was this translation helpful? Give feedback.
10 replies
-
See also #472 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello @ericsink!
I recently came across absurd-sql
Essentially, this guy is using the emscripten transpiled version of sqlite in the browser.
Normally, this would be in-memory only, but he managed to tweak the sqlite code to use the IndexDb as a file store.
While this sounds absurd this is 10 times faster than indexdb and actually works!
You can read his in-depth explanations here: https://jlongster.com/future-sql-web
Now, as SQLitePCL.raw is the foundation of all sqlite ORMs I know of (Microsoft.Data.SQLite => so even EF Core, sqlite-net-pcl, etc.) it would be awesome if there was a way to add support for absurt-sql somehow.
What I am thinking of is using Blazor WASM with full offline and persisted SQLite support.
This would be a game changer, as suddely, we could write completely offline capable apps for the browser - or even port them there.
Moreover we could write PWAs and, thus, deliver mobile applications without ever touching any app store or play store.
This means: Faster deployment for custom apps to customers.
Do I sound like I have lost my mind, or does this kind of make sense to you?
Thank you for your time - any insights of you are very well appreciated!
Beta Was this translation helpful? Give feedback.
All reactions