Skip to content

Search EricksonLopez.* Ecosystem

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

Migration Guides (v1 -> v2) — Mediator

Upgrade checklist from published NuGet v1.0.0 → v2.0.0 (BC-001–BC-007).

  1. Default DI lifetime changed to Scoped (BC-001 / ADR-037): AddEricksonLopezMediator() now defaults to ServiceLifetime.Scoped instead of Singleton so handlers safely consume scoped DbContext/transaction services. Pass ServiceLifetime.Singleton explicitly if singleton dispatch is desired.
  2. Migrate away from EricksonLopez.Mediator.Polly (BC-007 / ADR-036): Replace [Obsolete] EricksonLopez.Mediator.Polly with EricksonLopez.Resilience.Mediator (AddResiliencePipelineBehavior() + IResilientRequest).
  3. FluentValidation AOT isolation: Prefer generic AddMediatorFluentValidationValidator<TValidator, TRequest>() over reflection-based AddMediatorFluentValidatorsFromAssembly(...) in Native AOT apps.

Local workspace 3.2.0 (unpublished on NuGet) adds ELM013 immutable request enforcement and EricksonLopez.Mediator.Caching.