IxIFlow.Webhooks 1.0.0

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

IxIFlow.Webhooks

Outgoing webhook delivery for IxIFlow outbox events. This is a separate package because core already uses hosting but does not depend on Microsoft.Extensions.Http; webhooks add that dependency for IHttpClientFactory. Core's dependencies stay unchanged.

services.AddIxIFlow()
    .ConfigureOutbox(concurrency: 8)
    .AddWebhook(new WebhookEndpoint(
        "orders", new Uri("https://receiver.example/workflow-events"),
        configuration["Webhooks:Orders:Secret"]!, [OutboxEvent.WorkflowCompleted]));

Import IxIFlow.Core, IxIFlow.Extensions and IxIFlow.Webhooks. The example compiles in DocumentationExamples.cs. Names are durable endpoint identities, limited to 92 characters, and must be unique on a host. URLs must be absolute HTTP(S) without embedded credentials; at least one event type is required. A disabled endpoint remains disabled on re-registration, including after a host restart. Configuration is trusted application configuration. Secrets use whsec_ plus base64 for 24–64 random bytes. Endpoints select exact event type names. New publisher names receive only future completions. Use ReplayRetainedOutboxEvents("webhook:orders") on the builder for explicit replay, or UnregisterOutboxPublisher("webhook:orders") to retire a subscription and give up its pending deliveries.

The publisher signs the exact UTF-8 CloudEvents structured JSON body, using webhook-id, webhook-timestamp and webhook-signature (v1 HMAC-SHA256). The event ID and body stay fixed through retries; each claim supplies fresh store time for the attempt timestamp. The event contains a completion summary: instance, workflow, version, correlation, terminal status, revision and a bounded error kind. It excludes exception text, checkpoint internals and workflow data. Endpoint string representations redact the secret.

Delivery starts immediately, then retries after 5 seconds, 5 minutes, 30 minutes, 2 hours, 5 hours, 10 hours, 14 hours, 20 hours and 24 hours. Retries add positive random jitter of at most 5%, capped at one minute, through an injectable Random. Failure of the tenth attempt gives up that delivery. Retry-After can extend a delay, up to 30 days, bounded by the host's remaining retry horizon (30 days from the first claim by default). All 2xx responses deliver; 410 atomically disables the endpoint in the store and gives up its pending deliveries. Other statuses and transport failures retry. Requests time out after 30 seconds; the builder disables HTTP redirects. Each attempt creates a named client from IHttpClientFactory; handlers use a five-minute pooled connection lifetime. The host renews delivery leases while requests run.

Incoming HTTP triggers are supplied by IxIFlow.AspNetCore; see the incoming webhooks guide.

The schedule and signing format follow Standard Webhooks. The body follows CloudEvents JSON format 1.0.2.

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.0 84 11/3/2026