SapphireDb.RedisSync 3.1.5-alpha

Redis sync module for SapphireDb

This is a prerelease version of SapphireDb.RedisSync.
Install-Package SapphireDb.RedisSync -Version 3.1.5-alpha
dotnet add package SapphireDb.RedisSync --version 3.1.5-alpha
<PackageReference Include="SapphireDb.RedisSync" Version="3.1.5-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SapphireDb.RedisSync --version 3.1.5-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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

SapphireDb.RedisSync

SapphireDb.HttpSync

Client

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

ng-sapphiredb - Angular client

Author

Morris Janatzek (morrisjdev)

Licenses

SapphireDb - MIT License

sapphiredb-js - MIT License

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

SapphireDb.RedisSync

SapphireDb.HttpSync

Client

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

ng-sapphiredb - Angular client

Author

Morris Janatzek (morrisjdev)

Licenses

SapphireDb - MIT License

sapphiredb-js - MIT License

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.1.5-alpha 126 10/26/2020
3.1.4-alpha 90 10/26/2020
3.1.3-alpha 47 10/26/2020
3.1.2-alpha 81 10/26/2020
3.1.0-alpha 95 8/2/2020
3.0.0 9,007 7/25/2020