SapphireDb.HttpSync 3.1.2-alpha

Http sync module for SapphireDb

This is a prerelease version of SapphireDb.HttpSync.
There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package SapphireDb.HttpSync -Version 3.1.2-alpha
dotnet add package SapphireDb.HttpSync --version 3.1.2-alpha
<PackageReference Include="SapphireDb.HttpSync" Version="3.1.2-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SapphireDb.HttpSync --version 3.1.2-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SapphireDb.HttpSync, 3.1.2-alpha"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SapphireDb.HttpSync as a Cake Addin
#addin nuget:?package=SapphireDb.HttpSync&version=3.1.2-alpha&prerelease

// Install SapphireDb.HttpSync as a Cake Tool
#tool nuget:?package=SapphireDb.HttpSync&version=3.1.2-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

SapphireDb.HttpSync - Http sync module for SapphireDb

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

If you only have a predefined (and small) number of instances and don't need dynamic scaling you can use this option. SapphireDb will sync changes through a http-interface and send them to all other known instances.

Installation

Install package

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

PM> Install-Package SapphireDb.HttpSync

You can also install the extension using Nuget package manager. The project can be found here: https://www.nuget.org/packages/SapphireDb.HttpSync/

Register services and update pipeline

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

public class Startup
{
  public void ConfigureServices(IServiceCollection services)
  {
    HttpSyncConfiguration httpSyncConfiguration = new HttpSyncConfiguration(Configuration.GetSection("HttpSync"));

    services.AddSapphireDb(...)
      .AddContext<MyDbContext>(cfg => ...)
      .AddHttpSync(httpSyncConfiguration);
  }

  public void Configure(IApplicationBuilder app)
  {
    //Add Middleware
    app.UseSapphireDb();
    app.UseSapphireHttpSync();
  }
}

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.HttpSync - Http sync module for SapphireDb

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

If you only have a predefined (and small) number of instances and don't need dynamic scaling you can use this option. SapphireDb will sync changes through a http-interface and send them to all other known instances.

Installation

Install package

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

PM> Install-Package SapphireDb.HttpSync

You can also install the extension using Nuget package manager. The project can be found here: https://www.nuget.org/packages/SapphireDb.HttpSync/

Register services and update pipeline

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

public class Startup
{
  public void ConfigureServices(IServiceCollection services)
  {
    HttpSyncConfiguration httpSyncConfiguration = new HttpSyncConfiguration(Configuration.GetSection("HttpSync"));

    services.AddSapphireDb(...)
      .AddContext<MyDbContext>(cfg => ...)
      .AddHttpSync(httpSyncConfiguration);
  }

  public void Configure(IApplicationBuilder app)
  {
    //Add Middleware
    app.UseSapphireDb();
    app.UseSapphireHttpSync();
  }
}

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.7-alpha 48 3/10/2021
3.1.6-alpha 45 3/9/2021
3.1.5-alpha 156 10/26/2020
3.1.4-alpha 151 10/26/2020
3.1.3-alpha 108 10/26/2020
3.1.2-alpha 142 10/26/2020
3.1.0-alpha 142 8/2/2020
3.0.0 249 7/25/2020
Show less