LiteMessageBus 1.0.0-Preview-2

.NET Standard 2.0
This is a prerelease version of LiteMessageBus.
dotnet add package LiteMessageBus --version 1.0.0-Preview-2
NuGet\Install-Package LiteMessageBus -Version 1.0.0-Preview-2
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="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
#r "nuget: LiteMessageBus, 1.0.0-Preview-2"
#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 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


  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 only.

    1. Follow this tutorial to add 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.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on LiteMessageBus:

Package Downloads

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 492 10/23/2019
1.0.0-Preview-1 276 10/18/2019