MediatR 12.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-browser 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)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1.8K)

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 (157)

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

Repository Stars
Clean Architecture Solution Template for ASP.NET Core
Clean Architecture Solution Template: A starting point for Clean Architecture with ASP.NET Core
Full Modular Monolith application with Domain-Driven Design approach.
Sample ASP.NET Core 8.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.
Distributed Application Framework for .NET
Version Downloads Last updated
12.2.0 8,943,560 11/17/2023
12.1.1 10,420,049 7/10/2023
12.0.1 12,881,633 2/23/2023
11.1.0 10,677,558 11/19/2022
11.0.0 13,124,954 9/30/2022
10.0.1 31,440,314 1/10/2022
10.0.0 786,496 1/6/2022
9.0.0 51,714,369 10/8/2020
8.1.0 10,171,794 7/27/2020
8.0.2 2,147,985 6/30/2020
8.0.1 9,653,957 2/27/2020
8.0.0 8,045,795 12/30/2019
7.0.0 11,525,628 4/30/2019
6.0.0 6,113,246 12/10/2018
5.1.0 2,904,843 7/30/2018
5.0.1 887,443 6/1/2018
5.0.1-alpha-0002 40,933 4/5/2018
5.0.1-alpha-0001 3,418 4/5/2018
4.1.0 1,902,943 3/20/2018
4.0.1 1,012,527 12/4/2017
4.0.0 147,265 11/30/2017
4.0.0-alpha-0002 3,447 11/30/2017
4.0.0-alpha 4,784 11/29/2017
3.0.1 1,316,144 3/7/2017
3.0.0 291,560 1/4/2017
2.1.0 715,056 7/1/2016
2.1.0-beta-19 4,102 5/23/2016
2.0.2 343,208 8/5/2015
2.0.1 4,982 8/5/2015
2.0.0 9,214 8/4/2015
2.0.0-beta-005 5,320 7/2/2015
2.0.0-beta-004 17,467 4/20/2015
2.0.0-beta-003 4,446 4/20/2015
2.0.0-beta-002 3,626 4/19/2015
2.0.0-beta-001 5,839 2/16/2015
1.0.0 57,579 12/16/2014
0.5.0 11,439 7/7/2014
0.4.0 3,942 6/16/2014
0.3.0 4,755 3/20/2014
0.2.0 4,809 3/6/2014
0.1.0 94,251 3/4/2014