SimpleUseAspireRabbitMQ 2.0.0

dotnet add package SimpleUseAspireRabbitMQ --version 2.0.0                
NuGet\Install-Package SimpleUseAspireRabbitMQ -Version 2.0.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="SimpleUseAspireRabbitMQ" Version="2.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleUseAspireRabbitMQ --version 2.0.0                
#r "nuget: SimpleUseAspireRabbitMQ, 2.0.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.
// Install SimpleUseAspireRabbitMQ as a Cake Addin
#addin nuget:?package=SimpleUseAspireRabbitMQ&version=2.0.0

// Install SimpleUseAspireRabbitMQ as a Cake Tool
#tool nuget:?package=SimpleUseAspireRabbitMQ&version=2.0.0                

Simple RabbitMQ Use In Aspire.NET

This is a simple FrameWork of how to use RabbitMQ in Aspire .NET .Asp.net core .

  1. Install RabbitMQClint on your Aspire.Host project and Add rabbitmq container please verify your rabbitmq container is WithReference in your project like this: RabbitMQContainer

  2. Install this framework on your project.

  3. Add the ExtensionFunctions in your program.cs file. ExtensionBuilderFunction ExtensionAppFunction

  4. Use IEventBus to publish messages.

  5. Use IEventHandler/IEventJsonHandler/IEventStringHandler to subscribe to messages. in this framework,you should paste the EventAttribute in your event class. like this: EventAttribute

Note: your eventHandler's class only should have one parameter: IServiceProvider,you can use it to get any service in your eventHandler.

like this: UseIServiceProvider

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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 98 5/23/2024
1.2.0-preview 57 5/12/2024
1.1.3-preview 56 5/2/2024
1.1.2-preview 45 5/2/2024
1.1.1-preview 51 5/2/2024
1.1.0-preview 51 5/2/2024
1.0.1-preview 66 5/1/2024
1.0.0-preview 70 5/1/2024