Winglet.Party.Client 0.4.0

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

Winglet.Party.Client

Typed .NET 10 client for the Winglet.Party API v1.

Package version: 0.4.0, aligned with Winglet.Client 0.2.0 and Winglet.Party.Contracts 0.2.0.

The reusable Party request and response types are owned by Winglet.Party.Contracts and are brought transitively by this package. The Client package owns HTTP, DI, routes, headers and Party-specific error semantics; Winglet.Client owns generic transport, authentication delegation, correlation and Problem Details handling. Consumers that use the contracts directly should import Winglet.Party.Contracts.

Registration

Configure Winglet:Clients:Party:BaseUrl and register the shared client pipeline:

services.AddPartyClient(configuration);

The shared Winglet.Client infrastructure supplies authentication, correlation and transport error handling. Configure its supported token provider; this package never creates or parses JWTs.

Usage

var party = await client.GetPartyAsync(partyId);
var matches = await client.SearchPartiesAsync(new Winglet.Party.Contracts.PartySearchRequest(Query: "Acme"));
await client.UpdateNameAsync(partyId, name, party.ETag!);
var check = await client.StartCheckAsync(partyId, new PartyCheckStartRequest("identity", operationId), "check-key");
var challenge = await client.StartContactPointVerificationAsync(partyId, contactId, contactPointId, "verification-key");
await client.ConfirmContactPointVerificationAsync(partyId, contactId, contactPointId, challenge.Id, new ConfirmContactPointVerificationRequest(proof));

Write operations accept an explicit If-Match ETag and applicable caller-supplied Idempotency-Key. No hidden cache or retry identity is created. PartyConflictException represents HTTP 409 and PartyConcurrencyException HTTP 412.

The client intentionally omits internal/smoke endpoints and does not add /self in this release. It also does not add generated SDK tooling, JWT handling, tenant inference or client-side polling.

Migration from 0.2.0

Winglet.Party.Client 0.2.0 remains unchanged and must not be overwritten. Upgrade to 0.4.0; add using Winglet.Party.Contracts (or fully qualify the types) for Party request/response DTOs that previously came from the Client assembly. Winglet.Client.ResourceResponse<T> remains owned by Winglet.Client. Winglet.Party.Contracts may be referenced directly when a consumer needs wire models without the HTTP client.

External Stamp creation remains intentionally omitted from the typed Client; the host exposes it, but no current service-to-service consumer requirement justifies expanding the Client surface merely for endpoint symmetry. /self is likewise delegated-human functionality rather than ordinary service-to-service usage.

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
0.4.0 84 9/8/2026
0.3.0 72 9/7/2026