Pervaxis.Genesis.Idempotency
3.4.4
dotnet add package Pervaxis.Genesis.Idempotency --version 3.4.4
NuGet\Install-Package Pervaxis.Genesis.Idempotency -Version 3.4.4
<PackageReference Include="Pervaxis.Genesis.Idempotency" Version="3.4.4" />
<PackageVersion Include="Pervaxis.Genesis.Idempotency" Version="3.4.4" />
<PackageReference Include="Pervaxis.Genesis.Idempotency" />
paket add Pervaxis.Genesis.Idempotency --version 3.4.4
#r "nuget: Pervaxis.Genesis.Idempotency, 3.4.4"
#:package Pervaxis.Genesis.Idempotency@3.4.4
#addin nuget:?package=Pervaxis.Genesis.Idempotency&version=3.4.4
#tool nuget:?package=Pervaxis.Genesis.Idempotency&version=3.4.4
Pervaxis.Genesis.Idempotency
Cloud-agnostic REST API idempotency framework for the Pervaxis Genesis platform.
Overview
Pervaxis.Genesis.Idempotency provides middleware, action filters, and abstractions to ensure safe retries of non-idempotent HTTP operations (POST, PATCH, DELETE). It uses an Idempotency-Key header to detect duplicate requests and return cached responses.
Installation
<PackageReference Include="Pervaxis.Genesis.Idempotency" Version="1.0.0" />
GitHub Packages feed — add the following to your
nuget.config:<add key="github" value="https://nuget.pkg.github.com/clarivex-tech/index.json" />
Registration
builder.Services.AddGenesisIdempotency(
builder.Configuration.GetSection("Idempotency"));
app.UseIdempotency();
Key Features
[Idempotent]attribute for opt-in per-endpoint idempotency- Global middleware for blanket idempotency enforcement
- Request fingerprinting to detect payload mismatches on key reuse
- Idempotency key validation (format, length, uniqueness)
- Built-in observability with structured logging, metrics, and tracing
Usage
[HttpPost]
[Idempotent]
public async Task<IActionResult> CreateOrder(CreateOrderRequest request)
{
// If the same Idempotency-Key is received again,
// the cached response is returned automatically.
var order = await _orderService.CreateAsync(request);
return CreatedAtAction(nameof(GetOrder), new { id = order.Id }, order);
}
License
Copyright © 2026 Clarivex Technologies Private Limited. All rights reserved.
| 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. |
-
net10.0
- Pervaxis.Genesis.Base (>= 3.4.4)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Pervaxis.Genesis.Idempotency:
| Package | Downloads |
|---|---|
|
Pervaxis.Genesis.Idempotency.AWS
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.