SapphireDb.RedisSync
3.1.0-alpha
See the version list below for details.
dotnet add package SapphireDb.RedisSync --version 3.1.0-alpha
NuGet\Install-Package SapphireDb.RedisSync -Version 3.1.0-alpha
<PackageReference Include="SapphireDb.RedisSync" Version="3.1.0-alpha" />
paket add SapphireDb.RedisSync --version 3.1.0-alpha
#r "nuget: SapphireDb.RedisSync, 3.1.0-alpha"
// Install SapphireDb.RedisSync as a Cake Addin #addin nuget:?package=SapphireDb.RedisSync&version=3.1.0-alpha&prerelease // Install SapphireDb.RedisSync as a Cake Tool #tool nuget:?package=SapphireDb.RedisSync&version=3.1.0-alpha&prerelease
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.
Installation
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: https://www.nuget.org/packages/SapphireDb.RedisSync/
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"));
services.AddSapphireDb(...)
.AddContext<MyDbContext>(cfg => ...)
.AddRedisSync(redisSyncConfguraiton);
}
}
Documentation
Check out the documentation for more details: Documentation
Implementations/Packages
Server
SapphireDb - Server for Asp.Net Core
Client
sapphiredb - JS client (JS, NodeJs, React, Svelte, ...)
ng-sapphiredb - Angular client
Author
Licenses
SapphireDb - MIT License
sapphiredb-js - MIT License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- SapphireDb (>= 3.1.0-alpha)
- StackExchange.Redis (>= 2.1.58)
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 | 312 | 6/16/2021 |
3.1.7-alpha | 245 | 3/10/2021 |
3.1.6-alpha | 235 | 3/9/2021 |
3.1.5-alpha | 368 | 10/26/2020 |
3.1.4-alpha | 332 | 10/26/2020 |
3.1.3-alpha | 265 | 10/26/2020 |
3.1.2-alpha | 294 | 10/26/2020 |
3.1.0-alpha | 327 | 8/2/2020 |
3.0.0 | 18,089 | 7/25/2020 |