Bit.Bsqlite.Storage.IndexedDb 11.0.0-pre-10

This is a prerelease version of Bit.Bsqlite.Storage.IndexedDb.
dotnet add package Bit.Bsqlite.Storage.IndexedDb --version 11.0.0-pre-10
                    
NuGet\Install-Package Bit.Bsqlite.Storage.IndexedDb -Version 11.0.0-pre-10
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bit.Bsqlite.Storage.IndexedDb" Version="11.0.0-pre-10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bit.Bsqlite.Storage.IndexedDb" Version="11.0.0-pre-10" />
                    
Directory.Packages.props
<PackageReference Include="Bit.Bsqlite.Storage.IndexedDb" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Bit.Bsqlite.Storage.IndexedDb --version 11.0.0-pre-10
                    
#r "nuget: Bit.Bsqlite.Storage.IndexedDb, 11.0.0-pre-10"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Bit.Bsqlite.Storage.IndexedDb@11.0.0-pre-10
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Bit.Bsqlite.Storage.IndexedDb&version=11.0.0-pre-10&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Bit.Bsqlite.Storage.IndexedDb&version=11.0.0-pre-10&prerelease
                    
Install as a Cake Tool

Bit.Bsqlite.Storage.IndexedDb

IndexedDB storage for bit Bsqlite, backed by wa-sqlite's IDBBatchAtomicVFS.

This is the backend that reaches browsers OPFS does not, and the only one that can run outside a dedicated worker. Use it as the fallback behind OPFS, or on its own when reach matters more than download size.

Install

dotnet add package Bit.Bsqlite.Storage.IndexedDb
new BsqliteIndexedDbStorageProvider(jsRuntime)   // ProviderName == "indexeddb"

Capabilities

Engine build Async-capable — JSPI where available, Asyncify otherwise
Persistent Yes
Multiple connections Yes
Concurrent reads No — see below
Relaxed durability Yes
Page size changeable No
Execution contexts Dedicated worker, window, shared worker, service worker

The page-size limit is declared, not documented-and-hoped: the core reads Capabilities and rejects a PRAGMA page_size that the backend cannot honour, rather than letting it be silently ignored.

On concurrent reads: IDBBatchAtomicVFS can support them, but bit-bsqlite-idb-vfs.js registers it without a lock policy, so WebLocksMixin applies its exclusive default and a read takes the same lock a write does. Readers therefore queue behind each other, and the capability says so. Multiple connections are still supported — they serialize rather than run in parallel.

On download size: the engine build is picked at runtime from the selected provider plus a JSPI probe. JSPI costs about 0.9% over the synchronous build; Asyncify costs about 107%. Browsers with JSPI pay almost nothing for this backend.

MIT. Part of bit Bsqlite.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.0-pre-10 49 10/18/2026