RabbitLight 2.3.0

dotnet add package RabbitLight --version 2.3.0
                    
NuGet\Install-Package RabbitLight -Version 2.3.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="RabbitLight" Version="2.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RabbitLight" Version="2.3.0" />
                    
Directory.Packages.props
<PackageReference Include="RabbitLight" />
                    
Project file
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 RabbitLight --version 2.3.0
                    
#r "nuget: RabbitLight, 2.3.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.
#addin nuget:?package=RabbitLight&version=2.3.0
                    
Install RabbitLight as a Cake Addin
#tool nuget:?package=RabbitLight&version=2.3.0
                    
Install RabbitLight as a Cake Tool

RabbitLight

RabbitLight is a RabbitMQ Client for .NET developed with simplicity in mind.

Messages are routed to their respective consumers using Attributes, similar to the [Route(MY-ROUTE)] attribute used on AspNetCore projects.

It also comes with Auto Scaling and Self Healing on the client side to ensure that your application is always connected to the broker, while optimizing the usage of the machine's resources with parallel processing.

To create a consumer, you just have to:

1. Create a class that inherits from ConsumerBase

2. Use [Exchange(MY-EXCHANGE)] to bind a exchange to that class

3. Add [Queue(MY-QUEUE)] to bind a queue to a method from that class

[Exchange("my-exchange")]
public class MyConsumer : ConsumerBase
{
    [Queue("my-queue")]
    public async Task MyQueue(MessageContext<MyMessage> context)
    {
        // ...
    }
}

And to publish a message:

1. Inject the context, and get the publisher:

public class ExampleController : ControllerBase
{
    private readonly IPublisher _publisher;

    public ExampleController(ExampleContext busContext)
    {
        _publisher = busContext.Publisher;
    }

    // ...
}

2. Publish a message:

await _publisher.PublishString("my-exchange", "routing-key", "Hello, World!");
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  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 was computed.  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.  net9.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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.3.0 337 2/5/2023
2.2.3 4,877 6/17/2021
2.2.2 404 4/19/2021
2.2.1 397 4/19/2021
2.2.0 424 1/30/2021
2.1.0 414 1/30/2021
2.0.0 473 11/17/2020
1.2.4 585 11/7/2020
1.2.3 474 10/28/2020
1.2.2 455 10/28/2020
1.2.1 546 10/17/2020
1.2.0 498 10/14/2020
1.1.4 544 11/7/2020
1.1.3 456 10/28/2020
1.1.2 452 10/28/2020
1.1.1 491 10/17/2020
1.1.0 475 10/14/2020
1.0.4 551 11/7/2020
1.0.3 449 10/28/2020
1.0.2 443 10/28/2020
1.0.1 497 10/17/2020
1.0.0 497 10/14/2020