MediatR 12.2.0

.NET 6.0 .NET Standard 2.0
dotnet add package MediatR --version 12.2.0
NuGet\Install-Package MediatR -Version 12.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MediatR" Version="12.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MediatR --version 12.2.0
#r "nuget: MediatR, 12.2.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MediatR as a Cake Addin
#addin nuget:?package=MediatR&version=12.2.0

// Install MediatR as a Cake Tool
#tool nuget:?package=MediatR&version=12.2.0

Simple, unambitious mediator implementation in .NET

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1.6K)

Showing the top 5 NuGet packages that depend on MediatR:

Package Downloads

MediatR extensions for ASP.NET Core


An extension for Autofac-IoC to use MediatR and CQRS with ease.


open source custom dotnet extension library


Elsa is a set of workflow libraries and tools that enable lean and mean workflowing capabilities in any .NET Core application. This package provides abstractions and models that are used by Elsa.Core and other related packages. You don't need to reference this package separately if you reference any other Elsa package.


Elsa is a set of workflow libraries and tools that enable lean and mean workflowing capabilities in any .NET Core application. This package contains the core of Elsa. Tip: reference the `Elsa` package instead of this one.

GitHub repositories (150)

Showing the top 5 popular GitHub repositories that depend on MediatR:

Repository Stars
Cross-platform .NET sample microservices and container based application that runs on Linux Windows and macOS. Powered by .NET 7, Docker Containers and Azure Kubernetes Services. Supports Visual Studio, VS for Mac and CLI based environments with Docker CLI, dotnet CLI, VS Code or any other code editor. Moved to
Clean Architecture Solution Template for ASP.NET Core
Clean Architecture Solution Template: A starting point for Clean Architecture with ASP.NET Core
Sample ASP.NET Core 7.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.
Full Modular Monolith application with Domain-Driven Design approach.
Version Downloads Last updated
12.2.0 111,518 11/17/2023
12.1.1 4,942,860 7/10/2023
12.0.1 9,043,994 2/23/2023
11.1.0 8,106,396 11/19/2022
11.0.0 10,127,121 9/30/2022
10.0.1 27,027,931 1/10/2022
10.0.0 667,636 1/6/2022
9.0.0 46,335,995 10/8/2020
8.1.0 9,220,818 7/27/2020
8.0.2 1,965,351 6/30/2020
8.0.1 8,970,930 2/27/2020
8.0.0 7,535,954 12/30/2019
7.0.0 10,858,295 4/30/2019
6.0.0 5,700,171 12/10/2018
5.1.0 2,765,096 7/30/2018
5.0.1 833,865 6/1/2018
5.0.1-alpha-0002 38,558 4/5/2018
5.0.1-alpha-0001 2,157 4/5/2018
4.1.0 1,761,972 3/20/2018
4.0.1 969,136 12/4/2017
4.0.0 135,909 11/30/2017
4.0.0-alpha-0002 2,059 11/30/2017
4.0.0-alpha 2,542 11/29/2017
3.0.1 1,236,223 3/7/2017
3.0.0 272,954 1/4/2017
2.1.0 668,630 7/1/2016
2.1.0-beta-19 2,777 5/23/2016
2.0.2 330,312 8/5/2015
2.0.1 3,527 8/5/2015
2.0.0 7,610 8/4/2015
2.0.0-beta-005 3,971 7/2/2015
2.0.0-beta-004 15,919 4/20/2015
2.0.0-beta-003 3,148 4/20/2015
2.0.0-beta-002 2,314 4/19/2015
2.0.0-beta-001 4,473 2/16/2015
1.0.0 53,088 12/16/2014
0.5.0 8,452 7/7/2014
0.4.0 2,627 6/16/2014
0.3.0 3,417 3/20/2014
0.2.0 3,371 3/6/2014
0.1.0 63,516 3/4/2014