LiteBus.Events 0.16.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package LiteBus.Events --version 0.16.0
                    
NuGet\Install-Package LiteBus.Events -Version 0.16.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="LiteBus.Events" Version="0.16.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LiteBus.Events" Version="0.16.0" />
                    
Directory.Packages.props
<PackageReference Include="LiteBus.Events" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LiteBus.Events --version 0.16.0
                    
#r "nuget: LiteBus.Events, 0.16.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.
#:package LiteBus.Events@0.16.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LiteBus.Events&version=0.16.0
                    
Install as a Cake Addin
#tool nuget:?package=LiteBus.Events&version=0.16.0
                    
Install as a Cake Tool

LiteBus is an easy-to-use and ambitious in-process mediator providing the foundation to implement Command Query Separation (CQS). It is implemented with minimal reflection and instead utilizes covariance and contravariance to provide its core functionality.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on LiteBus.Events:

Package Downloads
LiteBus.Events.Extensions.MicrosoftDependencyInjection

LiteBus is a lightweight, flexible in-process mediator for implementing Command Query Separation (CQS) patterns in .NET applications.

LiteBus

LiteBus is a lightweight, flexible in-process mediator for implementing Command Query Separation (CQS) patterns in .NET applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.1.0 1,761 8/5/2025
3.0.0 1,765 7/21/2025
2.2.3 145 7/18/2025
2.2.2 130 7/18/2025
2.2.1 550 7/8/2025
2.2.0 190 7/8/2025
2.1.0 260 7/1/2025
2.0.0 1,933 4/29/2025
1.1.0 194 4/24/2025
1.0.0 125 4/19/2025
0.25.1 213 4/17/2025
0.25.0 202 4/13/2025
0.24.4 186 4/10/2025
0.24.3 2,636 5/2/2024
0.24.2 198 4/16/2024
0.24.1 176 1/30/2024
0.23.1 1,682 1/11/2024
0.23.0 215 12/23/2023
0.22.0 181 12/23/2023
0.21.0 174 12/18/2023
0.20.2 218 12/8/2023
0.20.1 206 12/5/2023
0.20.0 914 12/5/2023
0.19.1 222 11/25/2023
0.19.0 193 11/23/2023
0.18.4 206 11/23/2023
0.18.3 200 11/23/2023
0.18.2 206 11/22/2023
0.18.1 640 11/6/2023
0.18.0 224 11/1/2023
0.17.1 176 10/20/2023
0.16.0 265 9/26/2023
0.15.1 2,349 6/23/2023
0.15.0 270 6/23/2023
0.14.1 271 6/22/2023
0.14.0 564 11/30/2022
0.13.0 811 10/7/2022
0.12.0 4,641 1/6/2022
0.11.3 4,121 12/27/2021
0.11.2 556 12/27/2021
0.11.1 559 12/26/2021
0.11.0 580 12/23/2021
0.10.2 558 12/22/2021
0.10.1 565 12/20/2021
0.10.0 645 12/15/2021
0.9.1 1,076 10/25/2021
0.9.0 736 10/25/2021
0.8.1 3,169 10/9/2021
0.8.0 1,830 9/7/2021
0.7.0 954 8/19/2021
0.6.3 1,081 8/9/2021
0.6.2 726 8/9/2021
0.6.1 724 8/9/2021
0.6.0 754 8/9/2021
0.5.0 775 7/8/2021
0.4.0 1,045 4/13/2021
0.3.1 723 4/13/2021
0.2.1 730 4/9/2021
0.2.0 723 4/6/2021
0.1.0 876 3/17/2021

v.0.16.0
⦁ Introduced execution context using AsyncLocal functionality, accessible through AmbientExecutionContext.
⦁ Renamed `RegisterFrom` to `RegisterFromAssembly` in module builders.
⦁ Standardized namespace for all files in the `LiteBus.Messaging.Abstractions` project to `LiteBus.Messaging.Abstractions`, irrespective of folder path.
⦁ Removed `HandleContext` as a parameter from post and pre handlers.

v.0.15.1
⦁ Removed `IEvent` constraint from event handlers, allowing objects to be passed as events without implementing the `IEvent` interface.

v.0.15.0
⦁ Added overload method to event publisher for passing an object as a message.
⦁ Removed `LiteBus` prefix from module constructor names.

v.0.14.1
⦁ Upgraded dependency packages.

v.0.14.0
⦁ Upgraded to .NET 7.

v.0.13.0
⦁ Replaced `ICommandBase` with `ICommand`.
⦁ Replaced `IQueryBase` with `IQuery`.
⦁ Renamed `ILiteBusModule` to `IModule`.
⦁ Removed methods `RegisterPreHandler`, `RegisterHandler`, and `RegisterPostHandler`, replacing them with `Register`.
⦁ Removed superfluous base interfaces.

v.0.12.0
⦁ Added support to message registry for registering any class type as a message.

v.0.11.3
⦁ Fixed bug: Execute error handlers instead of pre handlers during error phase.

v.0.11.2
⦁ Fixed bug: Considered the count of indirect error handlers when determining if an exception should be rethrown.

v.0.11.1
⦁ Disabled nullable reference types.
⦁ Ensured error handlers cover errors in pre and post handlers.

v.0.11.0
⦁ Introduced non-generic message registration overloads for events, queries, and messaging configuration.
⦁ Removed the sample project.
⦁ Added unit tests for events and queries.