SimpleUseAspireRabbitMQ 1.2.0-preview
See the version list below for details.
dotnet add package SimpleUseAspireRabbitMQ --version 1.2.0-preview
NuGet\Install-Package SimpleUseAspireRabbitMQ -Version 1.2.0-preview
<PackageReference Include="SimpleUseAspireRabbitMQ" Version="1.2.0-preview" />
paket add SimpleUseAspireRabbitMQ --version 1.2.0-preview
#r "nuget: SimpleUseAspireRabbitMQ, 1.2.0-preview"
// Install SimpleUseAspireRabbitMQ as a Cake Addin #addin nuget:?package=SimpleUseAspireRabbitMQ&version=1.2.0-preview&prerelease // Install SimpleUseAspireRabbitMQ as a Cake Tool #tool nuget:?package=SimpleUseAspireRabbitMQ&version=1.2.0-preview&prerelease
Simple RabbitMQ Use In Aspire.NET
This is a simple FrameWork of how to use RabbitMQ in Aspire .NET .Asp.net core .
Install RabbitMQClint on your Aspire.Host project and Add rabbitmq container please verify your rabbitmq container is WithReference in your project like this:
Install this framework on your project.
Add the ExtensionFunctions in your program.cs file.
Use IEventBus to publish messages.
Use IEventHandler/IEventJsonHandler/IEventStringHandler to subscribe to messages. in this framework,you should paste the EventAttribute in your event class. like this:
Note: your eventHandler's class only should have one parameter: IServiceProvider,you can use it to get any service in your eventHandler.
like this:
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. |
-
net8.0
- Aspire.RabbitMQ.Client (>= 8.0.0-preview.7.24251.11)
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 |
---|---|---|
2.0.0 | 96 | 5/23/2024 |
1.2.0-preview | 55 | 5/12/2024 |
1.1.3-preview | 53 | 5/2/2024 |
1.1.2-preview | 41 | 5/2/2024 |
1.1.1-preview | 48 | 5/2/2024 |
1.1.0-preview | 49 | 5/2/2024 |
1.0.1-preview | 64 | 5/1/2024 |
1.0.0-preview | 68 | 5/1/2024 |