HelixBus.MessageBus.Abstractions 1.2.1

dotnet add package HelixBus.MessageBus.Abstractions --version 1.2.1
                    
NuGet\Install-Package HelixBus.MessageBus.Abstractions -Version 1.2.1
                    
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="HelixBus.MessageBus.Abstractions" Version="1.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HelixBus.MessageBus.Abstractions" Version="1.2.1" />
                    
Directory.Packages.props
<PackageReference Include="HelixBus.MessageBus.Abstractions" />
                    
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 HelixBus.MessageBus.Abstractions --version 1.2.1
                    
#r "nuget: HelixBus.MessageBus.Abstractions, 1.2.1"
                    
#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 HelixBus.MessageBus.Abstractions@1.2.1
                    
#: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=HelixBus.MessageBus.Abstractions&version=1.2.1
                    
Install as a Cake Addin
#tool nuget:?package=HelixBus.MessageBus.Abstractions&version=1.2.1
                    
Install as a Cake Tool

HelixBus.MessageBus.Abstractions

Core abstractions for the HelixBus MessageBus system.
Provides minimal interfaces for requests, handlers, notifications, and pipeline behaviors to enable a clean CQRS/mediator architecture.


🚀 Features

  • IRequest<TResponse> / IRequestHandler<TRequest,TResponse> for query/command handling
  • INotification / INotificationHandler<TNotification> for events
  • Pipeline behavior interface: IPipelineBehavior<TRequest,TResponse>
  • Minimal, dependency-free abstractions
  • Fully compatible with source generators for compile-time mapping

📦 Installation

dotnet add package HelixBus.MessageBus.Abstractions

🛠 Usage Example

Define a Request

public record GetUserQuery(int Id) : IRequest<UserDto>;

Define a Handler

public class GetUserQueryHandler : IRequestHandler<GetUserQuery, UserDto>
{
    public Task<UserDto> Handle(GetUserQuery request, CancellationToken cancellationToken)
    {
        return Task.FromResult(new UserDto(request.Id, "John Doe"));
    }
}

Define a Notification

public class UserCreated : INotification
{
    public int UserId { get; init; }
}

public class UserCreatedHandler : INotificationHandler<UserCreated>
{
    public Task Handle(UserCreated notification, CancellationToken cancellationToken)
    {
        Console.WriteLine($"User created: {notification.UserId}");
        return Task.CompletedTask;
    }
}

💡 Best Practices

  • Keep abstractions clean, free of implementation logic
  • Use source generators or DI registration for handlers
  • Use behaviors for cross-cutting concerns
  • Structure your projects by domain for Clean Architecture

📄 License

MIT License. See LICENSE file.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen 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.
  • .NETStandard 2.1

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on HelixBus.MessageBus.Abstractions:

Package Downloads
HelixBus.MessageBus.Core

Core runtime engine for HelixBus MessageBus. Handles request and notification dispatch, executes pipeline behaviors, and provides high-performance mediator functionality.

HelixBus.MessageBus.DependencyInjection

Dependency injection helpers for HelixBus MessageBus. Automatically registers handlers, notifications, and pipeline behaviors for seamless integration with ASP.NET Core DI.

HelixBus.MessageBus.Behaviors

Pipeline behavior library for HelixBus MessageBus. Provides reusable cross-cutting middleware for request/response handling, including logging, validation, caching, and transaction support.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.1 156 9/7/2026
1.2.0 201 1/5/2026
1.1.0 482 12/8/2025
1.0.1 358 12/7/2025
1.0.0 365 12/7/2025