Skip to content

Search EricksonLopez.* Ecosystem

Type a library name, NuGet package ID, .NET type, or architectural concept to search across the portal.

Core Concepts — Keys, Fingerprints, Leases & Errors

EricksonLopez.Idempotency guarantees deterministic replay semantics using strongly-typed keys, scoped fingerprints, and bounded leases.

  • IdempotencyKey (readonly record struct): Trimmed 1..128 characters (Empty, IsEmpty, Create(string|Guid), NewKey(), TryParse).
  • IdempotencyScope (readonly record struct): 1..64 characters (Default, Create(string), CreateNormalized(string)).
  • IdempotencyFingerprintHasher.Compute(operationName, scope, tenantId, authenticatedSubject, ReadOnlySpan<byte> payloadBytes) hashes request identity and payload bytes into a canonical digest.
  • ExecutionResponse(int statusCode, IReadOnlyDictionary<string, string[]>? headers = null, ReadOnlyMemory<byte> body = default) captures HTTP/logical status code, headers (filtered by ResponseHeadersBlocklist), and raw response body.
  • IdempotencyErrors defines InFlightConflict, FingerprintMismatch, and LeaseLost.
  • IdempotencyOptions defaults DefaultLeaseDuration to 30 seconds and DefaultRetentionDuration to 7 days (DefaultRetentionDuration must be >= DefaultLeaseDuration).