
MediatR vs Mediator vs Plain Handler Classes
Compare licensed MediatR, the source-generated Mediator library, and plain handlers with Scrutor decorators on the same endpoints, validation, and logging.
Battle-tested guides, production cheat sheets, and high-throughput backend recipes built on 12+ years of mission-critical engineering experience.

Compare licensed MediatR, the source-generated Mediator library, and plain handlers with Scrutor decorators on the same endpoints, validation, and logging.

A case study: inventory AutoMapper and MediatR usage, price the license against a rewrite, then move to Mapperly and plain handlers one feature at a time.

Add a JWT Authorize button to Swagger UI or Scalar in ASP.NET Core: bearer scheme, locks only on [Authorize] endpoints, Swashbuckle 10 and .NET 10 code.

Decide how Store.Api turns entities into responses and requests into updates, now that AutoMapper is commercial.

Go from a one-sentence request to a small, tested program without guessing what the business meant.