Ir al contenido

Buscar en el Ecosistema EricksonLopez.*

Escribe el nombre de una librería, ID de paquete NuGet, tipo .NET o concepto arquitectónico para buscar en el portal.

Configuración e Integraciones — Webhooks

Configura tiempos de espera/protocolos del emisor, middleware ASP.NET Core y almacenes distribuidos Redis en 1.0.0.

  • WebhookSenderOptions: Expone Timeout, AttemptTimeout, TotalTimeout, MaxPayloadSizeBytes, EnableSsrfProtection, AllowPrivateNetworks, DangerousAllowInsecureHttp, SsrfProtection y Protocol (WebhookSenderProtocol) validados con .ValidateOnStart().
  • WebhookReceiverOptions: Expone RoutePath, SecretKey, MaxPayloadSizeBytes, TimestampTolerance y Protocol (WebhookReceiverProtocol) validados con .ValidateOnStart().
  • Middleware vs filtro Minimal API: Usa app.UseWebhookReceiver() para enrutamiento por middleware o .RequireWebhookSignature() en endpoints/grupos Minimal API.

AddRedisWebhookReplayDetector(...) y AddRedisWebhookDeadLetterSink(...) viven en namespace Microsoft.Extensions.DependencyInjection; y exigen un singleton IConnectionMultiplexer (StackExchange.Redis) en el contenedor DI.