Actually is there any local database implemetation for Blazor? For example, WebSQL, IndexedDB or some EntityFramwork implementation (such as SQLite)
Take a look at this please.
https://blazor.net/community.html
Creating issues to ask questions doesn't seem very helpful.
A lightweight EF provider for IndexDb might be a neat idea in the future for some web apps.
@RyoukoKonpaku any pointer to developing custom EF providers ?
Thanks for the answers, everyone!
@lohithgn sadly documentation is still a bit lacking for writing providers on EF Core, the best place to get a picture of how it's done is checking the existing implementations for providers on the ef core GitHub repo. Here's the SQLite provider for EF core for an example GitHub link. Some other links I also found useful, not too knowledgeable on this area though xD.
@lohithgn I'm sure the EF Core folks would be happy to point you in the right direction if you want to try to create an EF Core provider for IndexdDB that works in Blazor. @divega @ajcvickers
@RyoukoKonpaku @danroth27 thanks … will see what i can come up with. will wait for what @divega and @ajcvickers - if they have any pointers for me :)
@RyoukoKonpaku a bit late to the party but i'm currently trying my best to implement something like this. Because of the nature of IndexedDb i'm not using EFCore but try to make anything look and feel like it.
_Except the async part, which is neccessary (instead of using(var db = Func<>) you have to use it in an async context using(var db = async Func<>))_
It currently supports some basic stuff and will be expanded in the upcoming weeks c:
Reshiru.Blazor.IndexedDB.Framework
Maybe this helps :)
Most helpful comment
A lightweight EF provider for IndexDb might be a neat idea in the future for some web apps.