EventSourcingDb 2.3.1
dotnet add package EventSourcingDb --version 2.3.1
NuGet\Install-Package EventSourcingDb -Version 2.3.1
<PackageReference Include="EventSourcingDb" Version="2.3.1" />
<PackageVersion Include="EventSourcingDb" Version="2.3.1" />
<PackageReference Include="EventSourcingDb" />
paket add EventSourcingDb --version 2.3.1
#r "nuget: EventSourcingDb, 2.3.1"
#:package EventSourcingDb@2.3.1
#addin nuget:?package=EventSourcingDb&version=2.3.1
#tool nuget:?package=EventSourcingDb&version=2.3.1
eventsourcingdb
The official .NET client SDK for EventSourcingDB – a purpose-built database for event sourcing.
The complete documentation of this client SDK, including preconditions, EventQL, observing events, handling errors, Testcontainers, and upgrading, is available at https://www.eventfoundation.io/docs/eventsourcingdb/sdks/dotnet.
Getting Started
Install the client SDK:
dotnet add package EventSourcingDb
Create a client with the URL of your EventSourcingDB instance and the API token to use, and check whether the instance is reachable:
using EventSourcingDb;
var url = new Uri("http://localhost:3000");
var apiToken = "secret";
var client = new Client(url, apiToken);
await client.PingAsync();
Write an event:
var @event = new EventCandidate(
Source: "https://library.eventsourcingdb.io",
Subject: "/books/42",
Type: "io.eventsourcingdb.library.book-acquired",
Data: new {
title = "2001 – A Space Odyssey",
author = "Arthur C. Clarke",
isbn = "978-0756906788"
}
);
var writtenEvents = await client.WriteEventsAsync(new[] { @event });
Read the events of a subject:
await foreach (var @event in client.ReadEventsAsync(
"/books/42",
new ReadEventsOptions(Recursive: false)))
{
// Handle event
}
For everything else, see the complete documentation.
| Product | Versions 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. |
-
net10.0
- Microsoft.Extensions.Configuration (>= 10.0.14)
- Microsoft.Extensions.DependencyInjection (>= 10.0.14)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Http (>= 10.0.14)
- Microsoft.Extensions.Logging (>= 10.0.14)
- Microsoft.Extensions.Options (>= 10.0.14)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.14)
- NSec.Cryptography (>= 25.4.0)
- Testcontainers (>= 4.16.0)
-
net8.0
- Microsoft.Extensions.Configuration (>= 10.0.14)
- Microsoft.Extensions.DependencyInjection (>= 10.0.14)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Http (>= 10.0.14)
- Microsoft.Extensions.Logging (>= 10.0.14)
- Microsoft.Extensions.Options (>= 10.0.14)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.14)
- NSec.Cryptography (>= 25.4.0)
- System.IO.Pipelines (>= 10.0.14)
- Testcontainers (>= 4.16.0)
-
net9.0
- Microsoft.Extensions.Configuration (>= 10.0.14)
- Microsoft.Extensions.DependencyInjection (>= 10.0.14)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Http (>= 10.0.14)
- Microsoft.Extensions.Logging (>= 10.0.14)
- Microsoft.Extensions.Options (>= 10.0.14)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.14)
- NSec.Cryptography (>= 25.4.0)
- System.IO.Pipelines (>= 10.0.14)
- Testcontainers (>= 4.16.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on EventSourcingDb:
| Package | Downloads |
|---|---|
|
EventSourcingKit
A lightweight Event Sourcing library for .NET, built on top of EventSourcingDB. |
|
|
Kuna.Projections.Source.EventSourcingDB
EventSourcingDB event source implementation for Kuna.Projections that observes events, deserializes payloads, resolves model ids, and emits projection envelopes. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.3.1 | 0 | 11/11/2026 |
| 2.3.0 | 39 | 11/10/2026 |
| 2.2.2 | 144 | 10/24/2026 |
| 2.2.1 | 97 | 10/23/2026 |
| 2.2.0 | 99 | 10/23/2026 |
| 2.1.2 | 97 | 10/19/2026 |
| 2.1.1 | 102 | 10/19/2026 |
| 2.1.0 | 96 | 10/19/2026 |
| 2.0.1 | 99 | 10/19/2026 |
| 2.0.0 | 98 | 10/18/2026 |
| 1.10.1 | 108 | 10/18/2026 |
| 1.10.0 | 105 | 10/18/2026 |
| 1.9.1 | 139 | 10/7/2026 |
| 1.9.0 | 124 | 10/3/2026 |
| 1.8.1 | 104 | 9/29/2026 |
| 1.8.0 | 110 | 9/26/2026 |
| 1.7.5 | 105 | 9/26/2026 |
| 1.7.4 | 331 | 7/17/2026 |
| 1.7.3 | 217 | 6/27/2026 |
| 1.7.2 | 458 | 2/28/2026 |