SimpleUseAspireRabbitMQ 1.2.0-preview

This is a prerelease version of SimpleUseAspireRabbitMQ.
There is a newer version of this package available.
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                
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="1.2.0-preview" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleUseAspireRabbitMQ --version 1.2.0-preview                
#r "nuget: SimpleUseAspireRabbitMQ, 1.2.0-preview"                
#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=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 .

  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 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