Configuration & Integrations — Webhooks
L3StableNuGet: v1.0.0Local HEAD: v2.1.0AOT: Full
Configure outbound sender timeouts/protocols, ASP.NET Core receiver middleware, and Redis distributed stores in 1.0.0.
WebhookSenderOptions: ExposesTimeout,AttemptTimeout,TotalTimeout,MaxPayloadSizeBytes,EnableSsrfProtection,AllowPrivateNetworks,DangerousAllowInsecureHttp,SsrfProtection, andProtocol(WebhookSenderProtocol) validated eagerly via.ValidateOnStart().WebhookReceiverOptions: ExposesRoutePath,SecretKey,MaxPayloadSizeBytes,TimestampTolerance, andProtocol(WebhookReceiverProtocol) validated via.ValidateOnStart().- Middleware vs Minimal API filter: Call
app.UseWebhookReceiver()for path-matched middleware or.RequireWebhookSignature()on Minimal API endpoints/groups.
Redis Distributed Stores (EricksonLopez.Webhooks.Redis)
Section titled “Redis Distributed Stores (EricksonLopez.Webhooks.Redis)”AddRedisWebhookReplayDetector(...) and AddRedisWebhookDeadLetterSink(...) reside in namespace Microsoft.Extensions.DependencyInjection; and require an IConnectionMultiplexer (StackExchange.Redis) singleton registered in DI.