I am just thinking that, Since Blazor Webassembly can running in browser independently(off-line), how can it access database without a WebAPI?
Can Blazor Webassembly use sqlite in browser directly?
You can use in browser DBs IndexedDB, Web SQL or local storage throught JSInteropt
How can it access database without a WebAPI?
It can't access any database without a Web Api. You can only access the JavaScript localStorage and sessionStorage Apis, using JSInterop. Right now Blazor does not support such adventures, but I'm not much acquainted with products created by third parties and the community... perhaps they've created something that can be useful for you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With