Concierge.Platform.WriteClient 1.0.2

dotnet add package Concierge.Platform.WriteClient --version 1.0.2
                    
NuGet\Install-Package Concierge.Platform.WriteClient -Version 1.0.2
                    
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.WriteClient" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Concierge.Platform.WriteClient" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Concierge.Platform.WriteClient" />
                    
Project file
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.WriteClient --version 1.0.2
                    
#r "nuget: Concierge.Platform.WriteClient, 1.0.2"
                    
#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.WriteClient@1.0.2
                    
#: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.WriteClient&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Concierge.Platform.WriteClient&version=1.0.2
                    
Install as a Cake Tool

Concierge.Platform.WriteClient

Peer-signed HTTP client for creating and mutating org nodes on PlatformService. Use this from mall-admin (or any other service) when synchronous, actionable failure handling is required — the write-direction counterpart to Thiso.Sync.Client's read-direction reconciliation client.

See docs/contracts/platform-write-client-sdk.md for the full contract.

Registration

services.AddConciergePlatformWriteClient(options =>
{
    options.PlatformBaseUrl = new Uri(configuration["Platform:BaseUrl"]!.TrimEnd('/'));
    options.PeerSigning(signing =>
    {
        signing.ClientKey = configuration["Concierge:AuthClient:PeerSignatureSigning:ClientKey"]!;
        signing.PrivateKeyPem = configuration["Concierge:AuthClient:PeerSignatureSigning:PrivateKeyPem"]!;
    });
});

Usage

public sealed class OrgProvisioner(IPlatformOrgNodeWriteClient writer)
{
    public async Task ProvisionSiteAsync(CancellationToken cancellationToken)
    {
        var id = Guid.NewGuid();
        var response = await writer.CreateNodeAsync(
            new CreateOrgNodeRequest(
                id,
                "site",
                parentId: Guid.Parse("…"),
                isTenant: false,
                code: "MALL-1",
                name: new LocalizedNameDto("Trung tâm A", "Mall A"),
                siteTypeId: 1),
            idempotencyKey: Guid.NewGuid(),
            cancellationToken);

        await writer.RenameNodeAsync(
            id,
            new RenameOrgNodeRequest(new LocalizedNameDto("Tên mới"), response.StructureVersion),
            cancellationToken: cancellationToken);
    }
}

Every write sends an Idempotency-Key header (caller-supplied or auto-generated). Version conflicts surface as OrgNodeVersionConflictException with CurrentVersion populated when the server includes it.

Product 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.

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
1.0.2 193 9/10/2026
1.0.1 56 9/10/2026
1.0.0 55 9/10/2026