ServiceBus.Core
3.9.0
dotnet add package ServiceBus.Core --version 3.9.0
NuGet\Install-Package ServiceBus.Core -Version 3.9.0
<PackageReference Include="ServiceBus.Core" Version="3.9.0" />
<PackageVersion Include="ServiceBus.Core" Version="3.9.0" />
<PackageReference Include="ServiceBus.Core" />
paket add ServiceBus.Core --version 3.9.0
#r "nuget: ServiceBus.Core, 3.9.0"
#:package ServiceBus.Core@3.9.0
#addin nuget:?package=ServiceBus.Core&version=3.9.0
#tool nuget:?package=ServiceBus.Core&version=3.9.0
ServiceBus.Core
The contracts of a message bus client: publishers, subscribers, messages, events and HTTP over the bus, independent from the broker. Your code depends on these contracts; an implementation package supplies the broker, today ServiceBus.Core.Rabbit for RabbitMQ.
dotnet add package ServiceBus.Core.Rabbit
You normally install an implementation, which brings this package with it.
What it contains
| Area | Types |
|---|---|
| Publishing | IPublisher, IAsyncPublisher, IRestPublisher, IAsyncRestPublisher |
| Subscribing | ISubscriber, IAsyncSubscriber, IRunnableSubscriber, IConsumer, IAsyncConsumer, IRoutingBridgeBound |
| Messages | IMessage, IMessage<TData>, Message<TData>: Id, Route, Data, Created, Ttl, Persistent, Properties |
| Events | MessageDeliverEventArgs<TData> (Message, Acknowledged, Requeue), MessageExceptionEventArgs, RetryExceptionEventArgs<TData>, ChannelEventArgs, IMessageDecoderEventArgs |
| Handlers | IDelegateHandler<TArgs>, DelegateHandler<TArgs>: synchronous and asynchronous handlers, safe to add or remove while an event is being raised |
| HTTP over the bus | RestRequest, RestResponse, HttpRestRequest, HttpRestResponse, HttpMethods, IHttpRestMessageSerializer |
A subscriber raises Received for every message. A message is acknowledged unless a handler sets Acknowledged = false; with Requeue = true it is delivered again, as the retry policy of the implementation decides.
Notes
IMessage.Idis the identifier the sender chooses. It is what an answer of the broker can be matched with (seeChannelEventArgs.Publicationsin the implementation package).IMessage.Tagis obsolete and no longer set by the publishers.- Targets:
net8.0,net9.0,net10.0.netstandard2.1andnet6.0are no longer targets: applications on them stay on the earlier releases.
See the documentation and the repository README.md for the packages and how they fit together.
| Product | Versions 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. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. |
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ServiceBus.Core:
| Package | Downloads |
|---|---|
|
ServiceBus.Core.Rabbit
This is a custom library which implements ServiceBus.Core contracts, using RabbitMq as underlying service bus layer. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.9.0 | 70 | 11/20/2026 |
| 3.8.1 | 1,345 | 1/22/2026 |
| 3.7.1 | 2,640 | 4/12/2025 |
| 3.6.1 | 500 | 4/3/2025 |
| 3.5.1 | 665 | 3/6/2025 |
| 3.4.2 | 437 | 2/25/2025 |
| 3.4.1 | 1,011 | 10/16/2024 |
| 3.3.1 | 421 | 10/2/2024 |
| 3.2.1 | 405 | 9/11/2024 |
| 3.1.1 | 1,388 | 3/21/2024 |
| 2.2.2 | 1,760 | 9/12/2023 |
| 2.2.1 | 392 | 9/11/2023 |
| 2.1.1 | 348 | 7/17/2023 |
| 1.2.15 | 1,858 | 7/13/2023 |
| 1.2.14 | 554 | 4/22/2023 |
| 1.0.14 | 7,706 | 4/8/2022 |
| 1.0.13 | 3,648 | 10/31/2021 |
| 1.0.12 | 4,212 | 8/26/2021 |
| 1.0.11 | 559 | 8/26/2021 |
| 1.0.10 | 6,564 | 11/19/2020 |