LiteMessageBus 1.0.0-Preview-2

This is a prerelease version of LiteMessageBus.
Install-Package LiteMessageBus -Version 1.0.0-Preview-2
dotnet add package LiteMessageBus --version 1.0.0-Preview-2
<PackageReference Include="LiteMessageBus" Version="1.0.0-Preview-2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LiteMessageBus --version 1.0.0-Preview-2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LiteMessageBus, 1.0.0-Preview-2"
#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 LiteMessageBus as a Cake Addin
#addin nuget:?package=LiteMessageBus&version=1.0.0-Preview-2&prerelease

// Install LiteMessageBus as a Cake Tool
#tool nuget:?package=LiteMessageBus&version=1.0.0-Preview-2&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

LiteMessageBus


  1. Description: A small library that helps developer to implement his/her message bus service in the system to exchange information between background tasks. This library works only on ASP.Net Core.

  2. Installation: For now, the library is published on myget.org only.

    1. Follow this tutorial to add https://www.myget.org/F/message-bus as new feed.
    2. Intall package using nuget package manager.
  3. Interfaces & classes: 3.1: ILiteMessageBusService:

    • By default ILiteMessageBusService is provided with some methods:
      • void AddMessageChannel<T>(string channelName, string eventName): To add a message channel into message bus manager instance.

      • IObservable<T> HookMessageChannel<T>(string channelName, string eventName): To catch to a message channel to listen to messages that are broadcasted through the channel with specific event names.

      • void AddMessage<T>(string channelName, string eventName, T data): Broadcast a message into a channel - event pair.

      • void DeleteMessage(string channelName, string eventName): Delete a message from a specific channel and event.

      • void DeleteMessages(): Delete messages from all channels and events.

    3.2: RxMessageBusExtensions:

    • The extension to helps developer to register an In-memory message bus service into ASP.Net Core system.

    • In Startup.cs, put services.AddInMemoryRxMessageBus() to register the service bus manager in the system.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on LiteMessageBus:

Package Downloads
LiteMessageBus.Extensions.Pusher

An extension of LiteMessageBus that implemented with Pusher message bus hosting.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0-Preview-2 322 10/23/2019
1.0.0-Preview-1 210 10/18/2019