Excalibur.EventSourcing.Sqlite
10.0.0-alpha.13
dotnet add package Excalibur.EventSourcing.Sqlite --version 10.0.0-alpha.13
NuGet\Install-Package Excalibur.EventSourcing.Sqlite -Version 10.0.0-alpha.13
<PackageReference Include="Excalibur.EventSourcing.Sqlite" Version="10.0.0-alpha.13" />
<PackageVersion Include="Excalibur.EventSourcing.Sqlite" Version="10.0.0-alpha.13" />
<PackageReference Include="Excalibur.EventSourcing.Sqlite" />
paket add Excalibur.EventSourcing.Sqlite --version 10.0.0-alpha.13
#r "nuget: Excalibur.EventSourcing.Sqlite, 10.0.0-alpha.13"
#:package Excalibur.EventSourcing.Sqlite@10.0.0-alpha.13
#addin nuget:?package=Excalibur.EventSourcing.Sqlite&version=10.0.0-alpha.13&prerelease
#tool nuget:?package=Excalibur.EventSourcing.Sqlite&version=10.0.0-alpha.13&prerelease
Excalibur.EventSourcing.Sqlite
Lightweight SQLite event store and snapshot store for Excalibur event sourcing.
When to Use
- Local development -- no Docker or database server needed
- Testing -- fast, in-process event sourcing with zero infrastructure
- Embedded scenarios -- single-file database for desktop/CLI applications
- Prototyping -- quick iteration without database setup
Usage
services.AddExcalibur(x => x.AddEventSourcing(es =>
{
es.UseSqlite(options =>
{
options.ConnectionString = "Data Source=events.db";
});
}));
Tables are auto-created on first use.
Not For Production
This package is designed for development and testing.
For production workloads, use Excalibur.EventSourcing.SqlServer or Excalibur.EventSourcing.Postgres.
Schema
Both tables are created automatically on first use, so nothing is required to get started.
For a database you provision yourself — one built ahead of time, shipped read-only, or managed by a
migration tool — the canonical DDL ships in the package as scripts/001_CreateEventStoreSchema.sql.
It is derived from the same statements the store issues at runtime, so a database provisioned either
way has the same shape. Defaults: tables Events and Snapshots, both settable through the
SqliteEventStore and SqliteSnapshotStore constructors.
If you run catch-up subscriptions, scripts/002_CreateSubscriptionCheckpointSchema.sql creates the
SubscriptionCheckpoints table they record their position in.
The scripts only ever create missing tables; they do not alter an existing one. A database provisioned by an earlier prerelease has no in-place upgrade path; re-provision it from these scripts.
Both sit under scripts/ in the package; a restore puts them at
~/.nuget/packages/excalibur.eventsourcing.sqlite/<version>/scripts/.
A single-tenant host's convergence of untenanted rows onto its own tenant identity depends on how the host is configured, which SQL cannot see, so the store does that step at startup rather than in the script.
License
This project is multi-licensed under:
See LICENSE for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net10.0
- Ben.Demystifier (>= 0.4.1)
- CloudNative.CloudEvents (>= 2.8.0)
- CloudNative.CloudEvents.SystemTextJson (>= 2.8.0)
- Cronos (>= 0.12.0)
- Dapper (>= 2.1.72)
- Excalibur.Data.Abstractions (>= 10.0.0-alpha.13)
- Excalibur.Dispatch.Abstractions (>= 10.0.0-alpha.13)
- Excalibur.Dispatch.Serialization.MemoryPack (>= 10.0.0-alpha.13)
- Excalibur.EventSourcing (>= 10.0.0-alpha.13)
- FluentValidation (>= 12.1.1)
- FluentValidation.DependencyInjectionExtensions (>= 12.1.1)
- IdentityModel (>= 7.0.0)
- JsonNet.ContractResolvers (>= 2.0.0)
- Medo.Uuid7 (>= 3.2.0)
- MemoryPack (>= 1.21.4)
- Microsoft.Data.Sqlite (>= 10.0.7)
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Caching.Memory (>= 10.0.10)
- Microsoft.Extensions.Configuration (>= 10.0.10)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.10)
- Microsoft.Extensions.Configuration.CommandLine (>= 10.0.10)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 10.0.10)
- Microsoft.Extensions.Configuration.Json (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.10)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Hosting (>= 10.0.10)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Http (>= 10.0.10)
- Microsoft.Extensions.Logging (>= 10.0.10)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Logging.Console (>= 10.0.10)
- Microsoft.Extensions.ObjectPool (>= 10.0.10)
- Microsoft.Extensions.Options (>= 10.0.10)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.10)
- Microsoft.Extensions.Options.DataAnnotations (>= 10.0.10)
- Microsoft.IdentityModel.Tokens (>= 8.17.0)
- NCrontab (>= 3.4.0)
- OpenTelemetry (>= 1.15.3)
- OpenTelemetry.Api (>= 1.15.3)
- OpenTelemetry.Extensions.Hosting (>= 1.15.3)
- Polly (>= 8.6.6)
- SQLitePCLRaw.bundle_e_sqlite3 (>= 3.0.3)
- SQLitePCLRaw.core (>= 3.0.3)
- SQLitePCLRaw.provider.e_sqlite3 (>= 3.0.3)
- System.IdentityModel.Tokens.Jwt (>= 8.17.0)
- System.IO.Hashing (>= 10.0.7)
- System.Threading.RateLimiting (>= 10.0.7)
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 |
|---|---|---|
| 10.0.0-alpha.13 | 30 | 9/29/2026 |
| 10.0.0-alpha.12 | 44 | 9/25/2026 |
| 10.0.0-alpha.11 | 56 | 9/15/2026 |
| 10.0.0-alpha.10 | 71 | 9/6/2026 |
| 10.0.0-alpha.9 | 64 | 8/31/2026 |
| 10.0.0-alpha.8 | 81 | 8/14/2026 |
| 10.0.0-alpha.7 | 68 | 8/13/2026 |
| 10.0.0-alpha.6 | 75 | 8/11/2026 |
| 10.0.0-alpha.5 | 69 | 8/10/2026 |
| 10.0.0-alpha.4 | 69 | 8/10/2026 |
| 3.0.0-alpha.216 | 87 | 6/30/2026 |
| 3.0.0-alpha.215 | 69 | 6/23/2026 |
| 3.0.0-alpha.214 | 81 | 6/23/2026 |
| 3.0.0-alpha.208 | 73 | 6/11/2026 |
| 3.0.0-alpha.207 | 137 | 6/11/2026 |
| 3.0.0-alpha.205 | 74 | 6/10/2026 |
| 3.0.0-alpha.204 | 71 | 6/8/2026 |
| 3.0.0-alpha.203 | 71 | 6/8/2026 |
| 3.0.0-alpha.202 | 70 | 6/8/2026 |
| 3.0.0-alpha.201 | 74 | 6/8/2026 |
Release notes and versioning policy: https://docs.excalibur-dispatch.dev/docs/migration/version-upgrades