Skip to content

Search EricksonLopez.* Ecosystem

Type a library name, NuGet package ID, .NET type, or architectural concept to search across the portal.

Configuration & Integrations — Resilience

L2StableNuGet: v2.0.0Local HEAD: v3.0.0AOT: Full

Compose HTTP client policies, endpoint protections, Mediator behaviors, and OpenTelemetry tracing across the 7 packages.

From EricksonLopez.Resilience.AspNetCore.Extensions:

  • httpClientBuilder.AddResiliencePolicy("policy-name") / AddStandardResilienceHandler(...) — attaches ResilienceDelegatingHandler to outgoing HttpClient calls.
  • endpointBuilder.RequireResilience("policy-name") and app.UseResilience() — applies named resilience policies to Minimal API endpoints.
  • services.AddCircuitBreakerCheck() — exposes circuit breaker health checks.
  • Mediator (EricksonLopez.Resilience.Mediator.Extensions + .Contracts): Call services.AddResiliencePipelineBehavior() and implement IResilientRequest { string ResiliencePolicy { get; } } on commands or queries (replaces obsolete EricksonLopez.Mediator.Polly).
  • OpenTelemetry (EricksonLopez.Resilience.OpenTelemetry): Chain .WithTelemetry() on pipeline builders to emit ResilienceActivitySource spans and ResilienceMeter metrics.