EasyNetQ.Serialization.NewtonsoftJson 8.0.1

Prefix Reserved
dotnet add package EasyNetQ.Serialization.NewtonsoftJson --version 8.0.1
                    
NuGet\Install-Package EasyNetQ.Serialization.NewtonsoftJson -Version 8.0.1
                    
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.1" />
                    
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.1" />
                    
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.1
                    
#r "nuget: EasyNetQ.Serialization.NewtonsoftJson, 8.0.1"
                    
#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.
#:package EasyNetQ.Serialization.NewtonsoftJson@8.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=EasyNetQ.Serialization.NewtonsoftJson&version=8.0.1
                    
Install as a Cake Addin
#tool nuget:?package=EasyNetQ.Serialization.NewtonsoftJson&version=8.0.1
                    
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 is compatible.  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 is compatible.  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.1 409 12/29/2025
8.0.0-beta99 630 3/7/2025
8.0.0-beta98 23,806 6/12/2024
8.0.0-beta97 177 6/7/2024
8.0.0-beta96 17,980 3/15/2024
8.0.0-beta95 434 10/22/2023
8.0.0-beta94 1,074 6/18/2023
8.0.0-beta93 278 6/17/2023
8.0.0-beta92 276 6/17/2023
8.0.0-beta91 278 6/11/2023
8.0.0-beta90 517 5/8/2023
8.0.0-beta9 297 3/21/2023
8.0.0-beta8 285 2/20/2023
8.0.0-beta6 340 1/29/2023
8.0.0-beta5 295 1/20/2023
8.0.0-beta4 330 1/5/2023
8.0.0-beta3 316 12/29/2022
8.0.0-beta2 308 12/16/2022
8.0.0-beta10 308 3/21/2023
8.0.0-beta1 288 12/15/2022
8.0.0-alpha9 320 12/14/2022
8.0.0-alpha8 317 11/30/2022
8.0.0-alpha7 302 11/12/2022
8.0.0-alpha6 333 10/29/2022
8.0.0-alpha5 411 10/5/2022
8.0.0-alpha4 366 10/1/2022
8.0.0-alpha3 367 9/26/2022
8.0.0-alpha2 372 9/21/2022
8.0.0-alpha1 373 9/19/2022
7.8.0 356,778 12/16/2023
7.7.0 65,173 11/19/2023
7.6.0 16,986 10/12/2023
7.5.5 27,456 7/20/2023
7.5.4 326 7/19/2023
7.5.3 28,684 6/15/2023
7.5.2 5,215 5/14/2023
7.5.1 6,592 5/4/2023
7.5.0 8,373 3/25/2023
7.4.3 98,964 2/3/2023
7.4.1 970 1/31/2023
7.4.0 832 1/29/2023
7.3.12 20,978 1/23/2023
7.3.11 494 1/22/2023
7.3.10 583 1/19/2023
7.3.9 10,639 1/17/2023
7.3.8 9,033 1/4/2023
7.3.7 1,231 12/22/2022
7.3.6 585 12/19/2022
7.3.5 8,613 11/30/2022
7.3.4 504 11/30/2022
7.3.3 3,354 11/24/2022
7.3.2 25,941 11/15/2022
7.3.1 910 11/12/2022
7.3.0 2,149 10/29/2022
7.3.0-alpha3 262 10/15/2022
7.3.0-alpha1 306 10/15/2022
7.2.1 5,738 10/9/2022
7.2.1-alpha1 323 10/6/2022
7.2.0 12,439 9/17/2022
7.2.0-alpha1 394 9/15/2022
7.1.1-alpha1 369 9/14/2022
7.1.0 1,496 9/13/2022
7.0.4 785 9/7/2022
7.0.3 716 9/5/2022
7.0.3-alpha1 293 9/5/2022
7.0.2 654 9/5/2022
7.0.1 1,877 8/27/2022
7.0.0 181,983 7/23/2022
7.0.0-rc5 426 6/28/2022
7.0.0-rc4 323 6/27/2022
7.0.0-rc3 445 6/20/2022
7.0.0-rc2 531 6/9/2022
7.0.0-rc1 356 6/9/2022
7.0.0-beta9 331 6/8/2022
7.0.0-beta8 348 6/7/2022
7.0.0-beta7 354 6/5/2022
7.0.0-beta6 356 5/24/2022
7.0.0-beta5 1,106 11/18/2021
7.0.0-beta4 396 11/9/2021
7.0.0-beta3 426 11/6/2021
7.0.0-beta2 463 9/29/2021
7.0.0-beta1 3,101 9/13/2021