Rwx.EventBus.Abstractions 0.3.1

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

Rwx.EventBus.Abstractions

Integration-event, publisher, handler, transport, inbox, topology, and telemetry contracts for optional messaging.

Install

dotnet add package Rwx.EventBus.Abstractions --version 0.1.0

Application code publishes through IIntegrationEventPublisher and handles events with IIntegrationEventHandler<TEvent> from Rwx.EventBus.Events. A messaging host registers handlers explicitly:

using Rwx.EventBus.DependencyInjection;

builder.Services.AddIntegrationEventHandlers(typeof(OrderPlacedHandler).Assembly);

Rwx.EventBus.RabbitMq provides the RabbitMQ transport. Pair the abstraction with Rwx.Persistence.EfCore's inbox registration when duplicate-delivery protection is required.

A handler that needs the raw transport headers of the event it is processing (e.g. the OrgId/UserId/DepartmentId metadata Rwx.Security's AddRwxEventBusSecurityEnrichment() adds on publish) can inject IncomingEventContext, populated per delivery before handlers run:

public sealed class OrderPlacedHandler(IncomingEventContext incomingEvent) : IIntegrationEventHandler<OrderPlaced>
{
    public Task Handle(OrderPlaced integrationEvent, CancellationToken cancellationToken)
    {
        Guid? publisherOrgId = incomingEvent.TryGetGuid(EventBusMetadataHeaders.OrgId);
        // ...
    }
}

Boundaries

Delivery is at-least-once. Handlers must be idempotent and must not reference a transport SDK directly.

IncomingEventContext headers are contextual metadata from a message a peer service published, not an authenticated identity: never feed them into ICurrentPrincipalAccessor or an authorization decision. Use them for correlation, filtering, or audit logging only; authenticate and authorize independently wherever a handler needs to trust who is behind an org or user id.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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 (10)

Showing the top 5 NuGet packages that depend on Rwx.EventBus.Abstractions:

Package Downloads
Rwx.Security

Package Description

Rwx.Outbox

Package Description

Rwx.EventBus.RabbitMq

Package Description

Rwx.Outbox.Persistence.EfCore

Package Description

Rwx.Persistence.EfCore

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.1 467 7/26/2026
0.3.0 288 7/20/2026
0.2.2 299 7/14/2026
0.2.1 249 7/13/2026
0.1.1 231 7/12/2026
0.1.0 232 7/12/2026