Escendit.Extensions.Hosting.RabbitMQ.StreamProtocol
0.2.0
dotnet add package Escendit.Extensions.Hosting.RabbitMQ.StreamProtocol --version 0.2.0
NuGet\Install-Package Escendit.Extensions.Hosting.RabbitMQ.StreamProtocol -Version 0.2.0
<PackageReference Include="Escendit.Extensions.Hosting.RabbitMQ.StreamProtocol" Version="0.2.0" />
paket add Escendit.Extensions.Hosting.RabbitMQ.StreamProtocol --version 0.2.0
#r "nuget: Escendit.Extensions.Hosting.RabbitMQ.StreamProtocol, 0.2.0"
// Install Escendit.Extensions.Hosting.RabbitMQ.StreamProtocol as a Cake Addin #addin nuget:?package=Escendit.Extensions.Hosting.RabbitMQ.StreamProtocol&version=0.2.0 // Install Escendit.Extensions.Hosting.RabbitMQ.StreamProtocol as a Cake Tool #tool nuget:?package=Escendit.Extensions.Hosting.RabbitMQ.StreamProtocol&version=0.2.0
RabbitMQ Client Extensions for .NET and Orleans
Escendit.Extensions.Hosting.RabbitMQ.StreamProtocol is a NuGet package that provides the ability to register
StreamSystem
. Utilize Web Applications with this package.
Installation
To install Escendit.Extensions.Hosting.RabbitMQ.StreamProtocol, run the following command in the Package Manager Console:
Install-Package Escendit.Extensions.Hosting.RabbitMQ.StreamProtocol
Usage
There are several ways to register contracts that can be used in an application:
Register and use default StreamSystem
with the newly named ConnectionOptions
registration.
Host
.CreateDefaultBuilder()
.AddRabbitMqStreamSystemAsDefault(...)
.NET 8
var streamSystem = serviceProvider.GetRequiredKeyedService<StreamSystem>("Default");
.NET 7
var streamSystem = serviceProvider.GetRequiredServiceByKey<object?, StreamSystem>("Default");
Register and use StreamSystem
with the newly named ConnectionOptions
registration.
Host
.CreateDefaultBuilder()
.AddRabbitMqStreamSystem("name", ...)
.NET 8
var streamSystem = serviceProvider.GetRequiredKeyedService<StreamSystem>("name");
.NET 7
var streamSystem = serviceProvider.GetRequiredServiceByKey<object?, StreamSystem>("name");
Contributing
If you'd like to contribute to rabbitmq-dotnet-extensions, please fork the repository and make changes as you'd like. Pull requests are warmly welcome.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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. |
-
net7.0
- Escendit.Extensions.DependencyInjection.RabbitMQ.StreamProtocol (>= 0.2.0)
- Microsoft.Extensions.Hosting (>= 7.0.1)
-
net8.0
- Escendit.Extensions.DependencyInjection.RabbitMQ.StreamProtocol (>= 0.2.0)
- Microsoft.Extensions.Hosting (>= 8.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Escendit.Extensions.Hosting.RabbitMQ.StreamProtocol:
Package | Downloads |
---|---|
Escendit.AspNetCore.Builder.RabbitMQ.StreamProtocol
RabbitMQ Stream Client Web Application Extensions. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.2.0 | 237 | 12/8/2023 |
0.1.0-rc.171 | 78 | 12/8/2023 |
0.1.0-rc.169 | 71 | 12/8/2023 |
0.1.0-rc.166 | 71 | 12/8/2023 |
0.1.0-rc.160 | 67 | 12/7/2023 |