SharpCoreDB.Extensions 2.1.0-RC.3

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

SharpCoreDB NuGet Package

This package is part of SharpCoreDB, a high-performance embedded database for .NET 10.

What's New in v1.9.5 (archived; current release v2.1.0-RC.3)

  • FluentMigrator alignment: AddSharpCoreDBFluentMigrator() now defaults both generator and processor to SQLite-compatible mode.
  • Inherits all v1.9.5 engine improvements (Auto-ROWID, GRAPH_RAG, SIMD optimization, Logging.Abstractions 10.0.7).
  • Zero breaking changes.

Documentation

For full documentation, see: https://github.com/MPCoreDeveloper/SharpCoreDB/blob/master/docs/INDEX.md

Quick Start

See the main repository for usage examples.

SharpCoreDB.Extensions v2.1.0-RC.3

Dapper Integration and ASP.NET Core Extensions

Dapper ORM integration and ASP.NET Core health check extensions for SharpCoreDB.

✨ What's New in v1.9.5 (archived; current release v2.1.0-RC.3)

  • FluentMigrator alignment: AddSharpCoreDBFluentMigrator() defaults generator and processor to SQLite-compatible mode
  • ✅ Inherits v1.9.5 engine improvements (Auto-ROWID, GRAPH_RAG SQL, SIMD optimization)
  • Microsoft.Extensions.Logging.Abstractions updated to 10.0.7
  • ✅ Zero breaking changes

🚀 Key Features

  • Dapper Integration: Lightweight ORM for SharpCoreDB
  • Health Checks: ASP.NET Core health check extensions
  • Dependency Injection: Seamless DI integration
  • Connection Pooling: Built-in connection management
  • Query Caching: Automatic query plan caching
  • FluentMigrator: Defaults to SQLite-compatible migration processing for AddSharpCoreDBFluentMigrator()

FluentMigrator Default Behavior

When you register FluentMigrator with:

services.AddSharpCoreDBFluentMigrator();

the extension now aligns both sides of the pipeline by default:

  • FluentMigrator uses the sqlite generator
  • the SharpCoreDB processor defaults ProviderSwitches to syntax=sqlite

This ensures SQLite-incompatible migration operations fail fast with clear errors instead of producing mismatched SQL behavior.

To opt into a different syntax mode, configure ProcessorOptions.ProviderSwitches explicitly after registration.

💻 Quick Example

using Dapper;
using SharpCoreDB.Extensions;

using var connection = new SharpCoreDbConnection("mydb.scdb", "password");

var users = connection.Query<User>(
    "SELECT * FROM users WHERE active = @active",
    new { active = true }
);

var userId = connection.QuerySingle<int>(
    "SELECT id FROM users WHERE email = @email",
    new { email = "user@example.com" }
);

📚 Documentation

📦 Installation

dotnet add package SharpCoreDB.Extensions --version 2.1.0-RC.3

Requires: SharpCoreDB v1.9.5+


Version: 1.9.5 | Status: ✅ Production Ready

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on SharpCoreDB.Extensions:

Package Downloads
SharpCoreDB.Provider.YesSql

YesSql provider for SharpCoreDB encrypted database engine. Built for .NET 10 with C# 14. Supports Windows, Linux, macOS, Android, iOS, and IoT/embedded devices with platform-specific optimizations.

SharpCoreDB.Functional.Dapper

Dapper adapter for SharpCoreDB.Functional with zero-dependency Option/Fin APIs and fluent functional composition for .NET 10 and C# 14.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.0-RC.3 42 9/17/2026
2.0.0.3 135 9/12/2026
2.0.0.2 204 9/4/2026
2.0.0.1 309 9/1/2026
2.0.0 119 9/1/2026
2.0.0-preview.3 77 8/30/2026
2.0.0-preview.2 72 8/30/2026
2.0.0-preview.1 77 8/29/2026
1.9.9 125 8/30/2026
1.9.8 148 8/29/2026
1.9.7 134 8/29/2026
1.9.6 134 8/28/2026
1.9.5 150 8/27/2026
1.9.4 142 8/22/2026
1.9.3 155 7/28/2026
1.9.2 211 6/7/2026
1.9.1 157 5/21/2026
1.9.0 141 5/20/2026
1.8.0 180 4/29/2026
1.7.2 193 4/28/2026
Loading failed

v2.1.0-RC.3 (2026-09-17): net11.0-only (C# 15 preview) release line - 2,897 tests green across 16 suites; the fixed-width inline capacity ships at 16 by default on both storage paths (batched multi-row INSERT measured +12 to +19 percent); the overflow arena writes a row's payloads in one append instead of one file open per value; and in-place UPDATE/DELETE with deferred index maintenance put the fixed-width fair-PK layout ahead of SQLite on UPDATE (0.8x) and DELETE (0.5x). Full details: https://github.com/MPCoreDeveloper/SharpCoreDB/blob/release/v2.1.0.0-RC.3/docs/CHANGELOG.md