EventSourcingDb 2.3.1

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

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 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 (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
Loading failed