Bit.Besql 10.4.2

dotnet add package Bit.Besql --version 10.4.2
                    
NuGet\Install-Package Bit.Besql -Version 10.4.2
                    
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.Besql" Version="10.4.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bit.Besql" Version="10.4.2" />
                    
Directory.Packages.props
<PackageReference Include="Bit.Besql" />
                    
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.Besql --version 10.4.2
                    
#r "nuget: Bit.Besql, 10.4.2"
                    
#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.Besql@10.4.2
                    
#: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.Besql&version=10.4.2
                    
Install as a Cake Addin
#tool nuget:?package=Bit.Besql&version=10.4.2
                    
Install as a Cake Tool

bit Blazor Entity Framework Sqlite (bit Besql)

Step by step walkthrough video:

bit besql video

How to use Bit.Besql:

The usage of Bit.Besql is exactly the same as the regular usage of Microsoft.EntityFrameworkCore.Sqlite with IDbContextFactory.

To get started, simply install Bit.Besql and use services.AddBesqlDbContextFactory instead of services.AddDbContextFactory. Then add the following script:

<script src="_content/Bit.Besql/bit-besql.js"></script>

Note: Do NOT use IDbContextFactory in OnInitialized method because it relies on IJSRuntime. Use OnAfterRender method instead.

In order to download sqlite db file from browser cache storage in blazor WebAssembly run the followings in browser console:

const cache = await caches.open('bit-Besql');
const resp = await cache.match('/data/cache/Offline-Client.db');
const blob = await resp.blob();
const urlToDownload = URL.createObjectURL(blob);
window.open(urlToDownload);
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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Bit.Besql:

Package Downloads
BBH.BitBesql

A Blazor WebAssembly library for SQLite integration in browser history applications

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.4.2 552 2/10/2026
10.4.2-pre-02 83 2/10/2026
10.4.2-pre-01 115 2/8/2026
10.4.1 285 2/4/2026
10.4.1-pre-01 110 2/2/2026
10.4.0 936 1/20/2026
10.3.0 609 1/2/2026
10.3.0-pre-01 109 12/31/2025
10.2.1 1,279 12/19/2025
10.2.1-pre-03 273 12/18/2025
10.2.1-pre-02 269 12/17/2025
10.2.1-pre-01 446 12/11/2025
10.2.0 1,533 12/3/2025
10.2.0-pre-02 673 12/2/2025
10.2.0-pre-01 433 11/30/2025
10.1.1 1,629 11/21/2025
10.1.1-pre-01 304 11/21/2025
10.1.0 548 11/19/2025
10.1.0-pre-02 406 11/17/2025
10.1.0-pre-01 278 11/14/2025
Loading failed