MediatR

Free + paid options.NETgithub.com

Best for: Request/handler pattern (CQRS)

Overview

In-process mediator: send a request object and MediatR calls its handler, often used for CQRS-style code. Newer versions need a licence key; there is a free Community licence for smaller companies and non-profits.

Strengths

  • Well known, many examples

Drawbacks

  • Newer versions need a licence key
  • Adds indirection many apps don't need

Alternatives to MediatR

See all 20 →

Microsoft Learn: .NET

Learning C# and .NET from the source
Free

Microsoft's official .NET and C# documentation, with free tutorials and learning paths from a first console app up to cloud apps.

ASP.NET Core docs

Building web APIs in .NET
Free

Official ASP.NET Core documentation: minimal APIs, controllers, middleware, authentication and hosting, with tutorials for each.

Entity Framework Core

The default data layer for most .NET apps
Free

Microsoft's ORM for .NET. Map C# classes to tables, query with LINQ, and manage schema changes with migrations. Works with SQL Server, PostgreSQL (via Npgsql), SQLite and others.