Concierge.Platform.SyncClient
1.0.3
dotnet add package Concierge.Platform.SyncClient --version 1.0.3
NuGet\Install-Package Concierge.Platform.SyncClient -Version 1.0.3
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="Concierge.Platform.SyncClient" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Concierge.Platform.SyncClient" Version="1.0.3" />
<PackageReference Include="Concierge.Platform.SyncClient" />
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 Concierge.Platform.SyncClient --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Concierge.Platform.SyncClient, 1.0.3"
#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 Concierge.Platform.SyncClient@1.0.3
#: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=Concierge.Platform.SyncClient&version=1.0.3
#tool nuget:?package=Concierge.Platform.SyncClient&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Concierge.Platform.SyncClient
Consumer-side sync SDK for THISO platform change alerts. Binds a durable queue, runs a cold-start reconciliation scan, reacts to alerts with narrow fetches, and guards against stale overwrites.
See docs/contracts/sync-client-sdk.md for the full contract.
Registration
services.AddThisoSync(cfg =>
{
cfg.PlatformBaseUrl(configuration["Platform:BaseUrl"]!);
cfg.UseNpgsql(configuration.GetConnectionString("Default")!);
cfg.RabbitMqConnectionString(configuration["RabbitMQ:Url"]!);
cfg.PeerSigning(options =>
{
options.ClientKey = configuration["Concierge:AuthClient:PeerSignatureSigning:ClientKey"]!;
options.PrivateKeyPem = configuration["Concierge:AuthClient:PeerSignatureSigning:PrivateKeyPem"]!;
});
cfg.ServiceKey("policy");
cfg.Entity("org_node")
.BindsRoutingKeys("org.#")
.ReconciliationPath("/api/v1/org/reconciliation/nodes")
.Scope(SyncScope.AllTenants)
.AppliesWith<OrgNodeApplier>();
});
Apply migrations on startup (opt-in):
services.AddThisoSyncSchemaMigration();
In-process commands
From the consuming service's Program.cs:
var exit = await SyncCommandLine.TryExecuteAsync(args, app.Services);
if (exit.HasValue) return exit.Value;
dotnet run -- sync reconcile --entity org_node --scope all
dotnet run -- sync status
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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.
-
net10.0
- Concierge.Auth.Client.PeerSignature (>= 1.1.0)
- Microsoft.EntityFrameworkCore (>= 10.0.11)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.11)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Http (>= 10.0.11)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.11)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 10.0.3)
- RabbitMQ.Client (>= 7.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.