Correlate 3.0.0

.NET Standard 1.3 .NET Framework 4.6
There is a newer version of this package available.
See the version list below for details.
dotnet add package Correlate --version 3.0.0
NuGet\Install-Package Correlate -Version 3.0.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="Correlate" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Correlate --version 3.0.0
#r "nuget: Correlate, 3.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Correlate as a Cake Addin
#addin nuget:?package=Correlate&version=3.0.0

// Install Correlate as a Cake Tool
#tool nuget:?package=Correlate&version=3.0.0

.NET Core support for correlation ID in ASP.NET Core and HttpClient.


  • (breaking) It is no longer a requirement for logging or diagnostics to be enabled, Correlate now just works regardless. This now allows integrations to be less dependent on the log provider (ILoggerFactory/ILogger) and makes unit testing easier (Microsoft.Extensions.Logging.Abstractions.NullLogger{T} can now be used). Note however, that for production environments, ILoggerFactory is still required, in order for the CorrelationId property to be added to each log event.
  • (breaking) Reworked CorrelationManager. It now has synchronous support for codebases that do not support asynchronous code. Also added overloads Func{T} and Func{Task{T}} allowing the return of values. New interfaces ICorrelationManager and IAsyncCorrelationManager are introduced for better separation, DI and unit testing. Reworked OnException delegate to be type safe and allowing a return value to be provided, if needed.
  • Middleware no longer calls internal method in other assembly, but now uses the new and public IAsyncCorrelationManager making it more resilient to version discrepancies.
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net46 net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Correlate:

Package Downloads

Dependency injection extensions for Correlate.


Rebus integration of Correlate to correlate message flow via any supported Rebus transport.


Hangfire integration of Correlate to add correlation id support to Hangfire background/scheduled jobs.


Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.0 75,055 7/10/2022
3.3.0 557,769 12/5/2020
3.3.0-beta0009 313 12/5/2020
3.3.0-beta0007 443 11/28/2020
3.3.0-beta0000 310 11/19/2020
3.2.0 370,652 1/16/2020
3.1.0 18,113 9/23/2019
3.0.0 30,903 7/23/2019
2.4.0 4,704 7/2/2019
2.3.0 8,602 5/11/2019
2.2.0 4,255 4/7/2019
2.1.4 5,523 3/15/2019
2.1.3 787 3/15/2019
2.1.1 1,433 3/15/2019
2.1.0 1,464 3/15/2019