ServiceBus.Core 3.9.0

dotnet add package ServiceBus.Core --version 3.9.0
                    
NuGet\Install-Package ServiceBus.Core -Version 3.9.0
                    
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="ServiceBus.Core" Version="3.9.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ServiceBus.Core" Version="3.9.0" />
                    
Directory.Packages.props
<PackageReference Include="ServiceBus.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ServiceBus.Core --version 3.9.0
                    
#r "nuget: ServiceBus.Core, 3.9.0"
                    
#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.
#:package ServiceBus.Core@3.9.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ServiceBus.Core&version=3.9.0
                    
Install as a Cake Addin
#tool nuget:?package=ServiceBus.Core&version=3.9.0
                    
Install as a Cake Tool

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.Id is the identifier the sender chooses. It is what an answer of the broker can be matched with (see ChannelEventArgs.Publications in the implementation package). IMessage.Tag is obsolete and no longer set by the publishers.
  • Targets: net8.0, net9.0, net10.0. netstandard2.1 and net6.0 are 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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
Loading failed