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
                    
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="Pervaxis.Genesis.Idempotency" Version="3.4.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Pervaxis.Genesis.Idempotency" Version="3.4.4" />
                    
Directory.Packages.props
<PackageReference Include="Pervaxis.Genesis.Idempotency" />
                    
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 Pervaxis.Genesis.Idempotency --version 3.4.4
                    
#r "nuget: Pervaxis.Genesis.Idempotency, 3.4.4"
                    
#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 Pervaxis.Genesis.Idempotency@3.4.4
                    
#: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=Pervaxis.Genesis.Idempotency&version=3.4.4
                    
Install as a Cake Addin
#tool nuget:?package=Pervaxis.Genesis.Idempotency&version=3.4.4
                    
Install as a Cake Tool

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

Version Downloads Last Updated
3.4.4 152 6/8/2026
3.4.2 125 6/8/2026
3.4.1 130 6/7/2026
3.4.0 127 6/6/2026
3.3.0 128 6/6/2026
3.2.0 120 6/5/2026