Excalibur.Saga.SqlServer 3.0.0-alpha.120

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

Excalibur.Saga.SqlServer

SQL Server implementation of saga state persistence for the Excalibur framework.

Part Of

This package is included in the following metapackages:

Metapackage Tier What It Adds
Excalibur.SqlServer Complete Everything for SQL Server: ES + Outbox + Inbox + Saga + LE + Audit + Compliance + Data

Tip: Install Excalibur.SqlServer for a production-ready SQL Server stack with a single package reference.

Installation

dotnet add package Excalibur.Saga.SqlServer

Features

  • SqlServerSagaStore - Dapper-based saga state persistence
  • MERGE-based upsert for atomic save operations
  • Connection factory pattern for multi-database scenarios
  • Optimistic concurrency with ROWVERSION
  • AOT-compatible with full Native AOT support
  • NO Entity Framework Core dependency

Usage

// Register SQL Server saga store via ISagaBuilder
services.AddExcaliburSaga(saga =>
{
    saga.UseSqlServer(sql =>
    {
        sql.ConnectionString = connectionString;
    });
});

// Or register individually
services.AddSqlServerSagaStore(sql =>
{
    sql.ConnectionString = connectionString;
});

// Or with connection factory
services.AddSqlServerSagaStore(sp =>
    () => new SqlConnection(GetConnectionString(sp)));

// Or use with IDispatchBuilder
builder.UseSqlServerSagaStore(sql => { sql.ConnectionString = connectionString; });

Configuration

services.AddSqlServerSagaStore(sql =>
{
    sql.ConnectionString = connectionString;
    sql.SchemaName = "dispatch";
    sql.TableName = "sagas";
});

services.AddSqlServerSagaTimeoutStore(sql =>
{
    sql.ConnectionString = connectionString;
    sql.SchemaName = "dbo";
    sql.TableName = "SagaTimeouts";
});

Database Schema

Run the SQL scripts in /sql/ folder to create required tables (defaults):

  • dispatch.sagas - Saga state storage with concurrency control
  • dbo.SagaTimeouts - Saga timeouts for delayed execution
  • Excalibur.Saga - Core saga abstractions
  • Excalibur.Data.Abstractions - Data access patterns

License

This project is multi-licensed under:

See LICENSE for details.

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 Excalibur.Saga.SqlServer:

Package Downloads
Excalibur.SqlServer

Complete SQL Server metapackage for Excalibur: event sourcing, outbox, inbox, sagas, leader election, audit logging, compliance, and data access in a single package reference.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.0-alpha.120 0 4/8/2026
3.0.0-alpha.118 0 4/8/2026
3.0.0-alpha.85 44 4/3/2026
3.0.0-alpha.84 48 3/31/2026
3.0.0-alpha.83 37 3/31/2026
3.0.0-alpha.82 38 3/31/2026
3.0.0-alpha.80 46 3/30/2026
3.0.0-alpha.79 44 3/29/2026
3.0.0-alpha.76 42 3/29/2026
3.0.0-alpha.75 45 3/27/2026
3.0.0-alpha.74 42 3/27/2026
3.0.0-alpha.70 42 3/26/2026
3.0.0-alpha.68 37 3/25/2026
3.0.0-alpha.66 37 3/25/2026
3.0.0-alpha.64 40 3/25/2026
3.0.0-alpha.62 39 3/24/2026
3.0.0-alpha.59 38 3/24/2026
3.0.0-alpha.51 44 3/19/2026
3.0.0-alpha.48 45 3/18/2026
3.0.0-alpha.45 40 3/17/2026
Loading failed