EasyNetQ.Serialization.NewtonsoftJson 8.0.0-beta99

Prefix Reserved
This is a prerelease version of EasyNetQ.Serialization.NewtonsoftJson.
dotnet add package EasyNetQ.Serialization.NewtonsoftJson --version 8.0.0-beta99
                    
NuGet\Install-Package EasyNetQ.Serialization.NewtonsoftJson -Version 8.0.0-beta99
                    
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="EasyNetQ.Serialization.NewtonsoftJson" Version="8.0.0-beta99" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EasyNetQ.Serialization.NewtonsoftJson" Version="8.0.0-beta99" />
                    
Directory.Packages.props
<PackageReference Include="EasyNetQ.Serialization.NewtonsoftJson" />
                    
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 EasyNetQ.Serialization.NewtonsoftJson --version 8.0.0-beta99
                    
#r "nuget: EasyNetQ.Serialization.NewtonsoftJson, 8.0.0-beta99"
                    
#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=EasyNetQ.Serialization.NewtonsoftJson&version=8.0.0-beta99&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=EasyNetQ.Serialization.NewtonsoftJson&version=8.0.0-beta99&prerelease
                    
Install as a Cake Tool

Build status

NuGet Status Nuget Status Nuget Status

Activity Activity Activity

EasyNetQ Logo

A Nice .NET API for RabbitMQ

Initial development was sponsored by travel industry experts 15below

Goals:

Important Update

With the release of EasyNetQ v8, the method for connecting to a RabbitMQ broker has changed. The rest of the API remains unchanged.

To make working with RabbitMQ on .NET as easy as possible.

To connect to a RabbitMQ broker in v7...

    var bus = RabbitHutch.CreateBus("host=localhost");

To connect to a RabbitMQ broker in v8...

    var serviceCollection = new ServiceCollection();
    serviceCollection.AddEasyNetQ("host=localhost").UseSystemTextJson();

    using var provider = serviceCollection.BuildServiceProvider();
    var bus = provider.GetRequiredService<IBus>();

To publish a message...

    await bus.PubSub.PublishAsync(message);

To publish a message with a 5s delay...

    await bus.Scheduler.FuturePublishAsync(message, TimeSpan.FromSeconds(5));

To subscribe to a message...

    await bus.PubSub.SubscribeAsync<MyMessage>(
        "my_subscription_id", msg => Console.WriteLine(msg.Text)
    );

Remote procedure call...

    var request = new TestRequestMessage {Text = "Hello from the client! "};
    await bus.Rpc.RequestAsync<TestRequestMessage, TestResponseMessage>(request);

RPC server...

    await bus.Rpc.RespondAsync<TestRequestMessage, TestResponseMessage>(request =>
        new TestResponseMessage{ Text = request.Text + " all done!" }
    );

Getting started

Just open EasyNetQ.sln in your preferred IDE or code editor and build. All the required dependencies for the solution file to build the software are included.

Contributors

Thanks to all the people who already contributed!

<a href="https://github.com/EasyNetQ/EasyNetQ/graphs/contributors"> <img src="https://contributors-img.web.app/image?repo=EasyNetQ/EasyNetQ" /> </a>

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 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.  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 (9)

Showing the top 5 NuGet packages that depend on EasyNetQ.Serialization.NewtonsoftJson:

Package Downloads
NanoCore

The project is inspired by years of tedious repetitions, continuously re-writing similar code-snippets and libraries, to handle common functionality, not related to the business domain, such as logging, data persistence, message queuing, documentation, validation and similar.

ShayganTadbir.Framework.Core

Package description

Indiko.Blocks.EventBus.RabbitMQ

Building Blocks EventBus RabbitMQ

StandardArchitecture.Core

Package Description

Marquitos.Events.RabbitMQ

A simple event system in top of RabbitMQ using EasyNetQ for AspNetCore applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.0.0-beta99 296 3/7/2025
8.0.0-beta98 13,929 6/12/2024
8.0.0-beta97 114 6/7/2024
8.0.0-beta96 7,118 3/15/2024
8.0.0-beta95 367 10/22/2023
8.0.0-beta94 989 6/18/2023
8.0.0-beta93 168 6/17/2023
8.0.0-beta92 170 6/17/2023
8.0.0-beta91 172 6/11/2023
8.0.0-beta90 410 5/8/2023
8.0.0-beta9 199 3/21/2023
8.0.0-beta8 182 2/20/2023
8.0.0-beta6 222 1/29/2023
8.0.0-beta5 209 1/20/2023
8.0.0-beta4 215 1/5/2023
8.0.0-beta3 213 12/29/2022
8.0.0-beta2 198 12/16/2022
8.0.0-beta10 191 3/21/2023
8.0.0-beta1 192 12/15/2022
8.0.0-alpha9 204 12/14/2022
8.0.0-alpha8 202 11/30/2022
8.0.0-alpha7 214 11/12/2022
8.0.0-alpha6 220 10/29/2022
8.0.0-alpha5 313 10/5/2022
8.0.0-alpha4 261 10/1/2022
8.0.0-alpha3 263 9/26/2022
8.0.0-alpha2 248 9/21/2022
8.0.0-alpha1 254 9/19/2022
7.8.0 239,155 12/16/2023
7.7.0 63,444 11/19/2023
7.6.0 14,254 10/12/2023
7.5.5 26,498 7/20/2023
7.5.4 241 7/19/2023
7.5.3 23,600 6/15/2023
7.5.2 5,091 5/14/2023
7.5.1 6,255 5/4/2023
7.5.0 8,025 3/25/2023
7.4.3 83,858 2/3/2023
7.4.1 871 1/31/2023
7.4.0 708 1/29/2023
7.3.12 20,874 1/23/2023
7.3.11 391 1/22/2023
7.3.10 483 1/19/2023
7.3.9 9,704 1/17/2023
7.3.8 7,311 1/4/2023
7.3.7 1,112 12/22/2022
7.3.6 480 12/19/2022
7.3.5 7,498 11/30/2022
7.3.4 388 11/30/2022
7.3.3 2,682 11/24/2022
7.3.2 23,043 11/15/2022
7.3.1 806 11/12/2022
7.3.0 2,046 10/29/2022
7.3.0-alpha3 177 10/15/2022
7.3.0-alpha1 197 10/15/2022
7.2.1 5,602 10/9/2022
7.2.1-alpha1 193 10/6/2022
7.2.0 12,160 9/17/2022
7.2.0-alpha1 278 9/15/2022
7.1.1-alpha1 265 9/14/2022
7.1.0 1,392 9/13/2022
7.0.4 641 9/7/2022
7.0.3 599 9/5/2022
7.0.3-alpha1 198 9/5/2022
7.0.2 533 9/5/2022
7.0.1 1,746 8/27/2022
7.0.0 180,162 7/23/2022
7.0.0-rc5 317 6/28/2022
7.0.0-rc4 207 6/27/2022
7.0.0-rc3 334 6/20/2022
7.0.0-rc2 417 6/9/2022
7.0.0-rc1 235 6/9/2022
7.0.0-beta9 223 6/8/2022
7.0.0-beta8 231 6/7/2022
7.0.0-beta7 237 6/5/2022
7.0.0-beta6 239 5/24/2022
7.0.0-beta5 994 11/18/2021
7.0.0-beta4 263 11/9/2021
7.0.0-beta3 323 11/6/2021
7.0.0-beta2 330 9/29/2021
7.0.0-beta1 2,971 9/13/2021