LiteMessageBus 1.0.0-Preview-2
dotnet add package LiteMessageBus --version 1.0.0-Preview-2
NuGet\Install-Package LiteMessageBus -Version 1.0.0-Preview-2
<PackageReference Include="LiteMessageBus" Version="1.0.0-Preview-2" />
paket add LiteMessageBus --version 1.0.0-Preview-2
#r "nuget: LiteMessageBus, 1.0.0-Preview-2"
// 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
LiteMessageBus
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.
Installation: For now, the library is published on myget.org only.
- Follow this tutorial to add https://www.myget.org/F/message-bus as new feed.
- Intall package using nuget package manager.
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.
- By default
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 |
-
.NETStandard 2.0
- System.Reactive (>= 4.2.0)
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 | 492 | 10/23/2019 |
1.0.0-Preview-1 | 276 | 10/18/2019 |