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 — Mediator

L2StableNuGet: v2.0.0Local HEAD: v3.2.0AOT: Partial

Configure DI lifetimes, HTTP endpoint bindings, telemetry, rate limiting, and validation across published 2.0.0 satellites.

  • AddEricksonLopezMediator(ServiceLifetime lifetime = ServiceLifetime.Scoped): Emitted by EricksonLopez.Mediator.Generator (v2.0.0 changed the default from Singleton to Scoped per BC-001 / ADR-037).
  • EricksonLopez.Mediator.AspNetCore: MapCommand<TCommand, TResponse>(pattern) and MapQuery<TQuery, TResponse>(pattern) on IEndpointRouteBuilder (Minimal API binding carries [RequiresUnreferencedCode]).
  • EricksonLopez.Mediator.OpenTelemetry: services.AddMediatorOpenTelemetry(options => { ... }) + MediatorMetrics.
  • EricksonLopez.Mediator.RateLimiting: services.AddMediatorRateLimiting() backed by System.Threading.RateLimiting.
  • EricksonLopez.Mediator.FluentValidation: AddMediatorFluentValidation(), AddMediatorFluentValidationValidator<TValidator, TRequest>() (AOT-safe), and AddMediatorFluentValidatorsFromAssembly(...) ([RequiresUnreferencedCode], IsAotCompatible=false).
  • EricksonLopez.Mediator.Result: IResultFactory<TResponse> and InputSafetyPipelineBehavior<,>.
  • EricksonLopez.Mediator.Testing: FakeMediator (SetupCommand, SetupQuery, SetupNotification, SetupStream, ShouldHaveReceived<T>, ShouldNotHaveReceived<T>, ReceivedCount<T>, Reset).

Unpublished & Deprecated Notes: EricksonLopez.Mediator.Caching (AddMediatorCaching, ICacheableRequest) exists only in local 3.2.0 HEAD (not on NuGet). EricksonLopez.Mediator.Polly is [Obsolete] — use EricksonLopez.Resilience.Mediator instead.