SapphireDb.RedisSync 3.0.0

.NET Core 3.1
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package SapphireDb.RedisSync --version 3.0.0
NuGet\Install-Package SapphireDb.RedisSync -Version 3.0.0
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="SapphireDb.RedisSync" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SapphireDb.RedisSync --version 3.0.0
#r "nuget: SapphireDb.RedisSync, 3.0.0"
#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.
// Install SapphireDb.RedisSync as a Cake Addin
#addin nuget:?package=SapphireDb.RedisSync&version=3.0.0

// Install SapphireDb.RedisSync as a Cake Tool
#tool nuget:?package=SapphireDb.RedisSync&version=3.0.0

SapphireDb.RedisSync - Redis sync module for SapphireDb

SapphireDb supports running in multiple instances. Each instance will synchronize with the other instances using different mechanisms.

If you want to scale dynamically you don't know the instances in advance. You therefor need a kind of message broker that distributes changes to all application instances.

SapphireDb.RedisSync provides functionality that uses Redis to achieve this goal.


Install package

To install the package execute the following command in your package manager console

PM> Install-Package SapphireDb.RedisSync

You can also install the extension using Nuget package manager. The project can be found here:

Register services

To use the SapphireDb.RedisSync you have to make some changes in your Startup.cs-File.

public class Startup
  public void ConfigureServices(IServiceCollection services)
    RedisSyncConfiguration redisSyncConfiguration = new RedisSyncConfiguration(Configuration.GetSection("RedisSync"));
      .AddContext<MyDbContext>(cfg => ...)


Check out the documentation for more details: Documentation



SapphireDb - Server for Asp.Net Core




sapphiredb - JS client (JS, NodeJs, React, Svelte, ...)

ng-sapphiredb - Angular client


Morris Janatzek (morrisjdev)


SapphireDb - MIT License

sapphiredb-js - MIT License

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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
3.1.8-alpha 233 6/16/2021
3.1.7-alpha 173 3/10/2021
3.1.6-alpha 156 3/9/2021
3.1.5-alpha 287 10/26/2020
3.1.4-alpha 247 10/26/2020
3.1.3-alpha 207 10/26/2020
3.1.2-alpha 233 10/26/2020
3.1.0-alpha 260 8/2/2020
3.0.0 17,167 7/25/2020