Nucleo.EventBus.Cap 8.0.5

dotnet add package Nucleo.EventBus.Cap --version 8.0.5                
NuGet\Install-Package Nucleo.EventBus.Cap -Version 8.0.5                
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="Nucleo.EventBus.Cap" Version="8.0.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nucleo.EventBus.Cap --version 8.0.5                
#r "nuget: Nucleo.EventBus.Cap, 8.0.5"                
#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 Nucleo.EventBus.Cap as a Cake Addin
#addin nuget:?package=Nucleo.EventBus.Cap&version=8.0.5

// Install Nucleo.EventBus.Cap as a Cake Tool
#tool nuget:?package=Nucleo.EventBus.Cap&version=8.0.5                

Nucleo.EventBus.Cap

Overview

Nucleo.EventBus.Cap is a component of the Nucleo Framework that provides event bus capabilities using the CAP (C# Advanced Producer) library.

Features

  • Event Publishing: Publish events to various message brokers.
  • Event Subscription: Subscribe to events from different sources.
  • Reliability: Ensures message delivery with retry mechanisms.

Installation

To install Nucleo.EventBus.Cap, use the following NuGet command:

dotnet add package Nucleo.EventBus.Cap

Usage

Publishing Events

public class MyEvent
{
    public string Message { get; set; }
}

var eventBus = new EventBus();
eventBus.Publish(new MyEvent { Message = "Hello, World!" });

Subscribing to Events

public class MyEventHandler : IEventHandler<MyEvent>
{
    public Task Handle(MyEvent @event)
    {
        Console.WriteLine(@event.Message);
        return Task.CompletedTask;
    }
}

var eventBus = new EventBus();
eventBus.Subscribe<MyEvent, MyEventHandler>();

Contributing

Contributions are welcome! Please read the contributing guidelines before submitting a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For more information, please contact the maintainers at support@nucleo-framework.com.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.5 86 10/7/2024
8.0.4 78 10/7/2024
8.0.3 88 9/30/2024
8.0.2 84 9/30/2024
8.0.1 81 9/29/2024
8.0.0 87 9/29/2024