Pitstop.Infrastructure.Messaging
5.2.0
dotnet add package Pitstop.Infrastructure.Messaging --version 5.2.0
NuGet\Install-Package Pitstop.Infrastructure.Messaging -Version 5.2.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="Pitstop.Infrastructure.Messaging" Version="5.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Pitstop.Infrastructure.Messaging" Version="5.2.0" />
<PackageReference Include="Pitstop.Infrastructure.Messaging" />
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 Pitstop.Infrastructure.Messaging --version 5.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Pitstop.Infrastructure.Messaging, 5.2.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 Pitstop.Infrastructure.Messaging@5.2.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=Pitstop.Infrastructure.Messaging&version=5.2.0
#tool nuget:?package=Pitstop.Infrastructure.Messaging&version=5.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Pitstop.Infrastructure.Messaging library
This library contains helper-classes for working with messaging within the Pitstop sample solution. It contains the following items:
- The base-classes for Commands and Events.
- Interfaces that abstract functionality to publish and consume messages using a message-broker.
- Implementations for the interfaces that use RabbitMQ as message-broker.
- A helper class (MessageSerializer) for serializing and deserializing commands and events to and from JSON.
Release notes
Version 5.2.0
- Target .NET 9.
- Fix breaking changes in RabbitMQ Client 7.x (thanks to eNeRGy164 (Michaël Hompus)!).
Version 5.1.0
- Add ability to specify a virtual host for RabbitMQ
- Upgrade all NuGet references to the latest version.
Version 5.0.0
- Target .NET 8
- Upgrade all NuGet references to the latest version.
Version 4.0.0
- Target .NET 7
- Upgrade all NuGet references to the latest version.
Version 3.0.1
- Upgrade all NuGet references to the latest version.
Version 3.0.0
- Target .NET 5.0
- Upgrade all NuGet references to the latest version.
Version 2.7.1
- Upgrade all NuGet references to the latest version.
Version 2.7.0
- Add support for specifying the RabbitMQ port.
Version 2.6.0
- Add configuration support for easier DI registration.
Version 2.5.0
- Refactor RabbitMQMessagePublisher so it keeps the connection to RabbitMQ open (in stead of recreating it with every publish action).
Version 2.4.0
- Upgrade all dependencies to the latest version.
Version 2.3.0
- Add overload for connecting to RabbitMQ clusters.
Version 2.2.0
- Upgrade project to target netstandard2.1.
- Upgrade all dependencies to the latest version.
Version 2.1.0
- Upgrade all dependencies to the latest version.
Version 2.0.0
- [Breaking] Remove the use of the MessageTypes enum that contained all the available message-types. Throughout the solution, message-type is now a simple string.
- [Breaking] Remove the MessageTypes enum from all the interfaces and implementations.
- [Breaking] Remove the MessageTypes enum.
- [Breaking] Remove the MessageType parameter from the Message base-class constructor.
- Add some additional convenience-constructors to the Message, Command and Event classes that enable a developer to use them without explicitly specifying the MessageId and MessageType parameters. If omitted, MessageId is automatically filled with a new Guid and MessageType is automatically filled with name of the class.
Version 1.1.0
- Upgrade to .NET Core 2.2.
- Upgrade all dependencies to the latest version.
Version 1.0.0
Initial version.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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 was computed. 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.
-
net9.0
- Microsoft.Extensions.Configuration (>= 8.0.0)
- Microsoft.Extensions.DependencyInjection (>= 9.0.6)
- Newtonsoft.Json (>= 13.0.3)
- Polly (>= 8.4.0)
- RabbitMQ.Client (>= 7.1.2)
- Serilog (>= 4.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated | |
---|---|---|---|
5.2.0 | 193 | 6/25/2025 | |
5.2.0-Preview1 | 138 | 6/25/2025 | |
5.1.0 | 9,578 | 6/4/2024 | |
5.1.0-preview2 | 161 | 6/4/2024 | |
5.0.0 | 5,973 | 11/27/2023 | |
5.0.0-preview1 | 173 | 11/27/2023 | |
4.0.0 | 556 | 10/16/2023 | |
4.0.0-Preview01 | 142 | 10/16/2023 | |
3.0.3 | 3,583 | 12/12/2022 | |
3.0.3-Preview1 | 189 | 12/12/2022 | |
3.0.2 | 6,322 | 1/23/2022 | |
3.0.2-preview1 | 261 | 1/20/2022 | |
3.0.1 | 6,281 | 6/1/2021 | |
3.0.0 | 4,799 | 11/10/2020 | |
3.0.0-preview1 | 352 | 11/10/2020 | |
2.7.1 | 3,602 | 6/18/2020 | |
2.7.0 | 856 | 6/18/2020 | |
2.7.0-Preview2 | 402 | 6/18/2020 | |
2.7.0-Preview1 | 390 | 6/18/2020 | |
2.6.0 | 1,940 | 4/25/2020 | |
2.6.0-preview3 | 393 | 4/25/2020 | |
2.6.0-preview2 | 419 | 4/25/2020 | |
2.6.0-preview1 | 416 | 4/25/2020 | |
2.5.0 | 4,278 | 1/20/2020 | |
2.4.0 | 872 | 12/30/2019 | |
2.4.0-preview2 | 483 | 12/23/2019 | |
2.4.0-preview | 479 | 12/14/2019 | |
2.3.0 | 621 | 12/6/2019 | |
2.3.0-preview | 457 | 12/6/2019 | |
2.2.0 | 2,441 | 11/11/2019 |