EasyNetQ.Serialization.SystemTextJson 8.0.0-beta99

Prefix Reserved
This is a prerelease version of EasyNetQ.Serialization.SystemTextJson.
dotnet add package EasyNetQ.Serialization.SystemTextJson --version 8.0.0-beta99
                    
NuGet\Install-Package EasyNetQ.Serialization.SystemTextJson -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.SystemTextJson" 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.SystemTextJson" Version="8.0.0-beta99" />
                    
Directory.Packages.props
<PackageReference Include="EasyNetQ.Serialization.SystemTextJson" />
                    
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.SystemTextJson --version 8.0.0-beta99
                    
#r "nuget: EasyNetQ.Serialization.SystemTextJson, 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.SystemTextJson&version=8.0.0-beta99&prerelease
                    
Install EasyNetQ.Serialization.SystemTextJson as a Cake Addin
#tool nuget:?package=EasyNetQ.Serialization.SystemTextJson&version=8.0.0-beta99&prerelease
                    
Install EasyNetQ.Serialization.SystemTextJson 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 (5)

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

Package Downloads
TinyFx.Extensions.RabbitMQ

EasyNetQ封装

NetFusion.Integration.RabbitMQ

Plug-in providing message-publisher allowing commands and domain-events to be published to RabbitMQ. Also provides attributes used to binds in-process message handlers to RabbitMq queues to be invoked when messages arrives on queue.

Marquitos.Events.RabbitMQ

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

AiUo.Extensions.RabbitMQ

EasyNetQ封装

Merviche.Hare

Possibly a better api for building rabbitmq consumers.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.0-beta99 10,807 3/7/2025
8.0.0-beta98 44,033 6/12/2024
8.0.0-beta97 100 6/7/2024
8.0.0-beta96 6,332 3/15/2024
8.0.0-beta95 7,141 10/22/2023
8.0.0-beta94 3,533 6/18/2023
8.0.0-beta93 135 6/17/2023
8.0.0-beta92 131 6/17/2023
8.0.0-beta91 135 6/11/2023
8.0.0-beta90 165 5/8/2023
8.0.0-beta9 172 3/21/2023
8.0.0-beta8 1,457 2/20/2023
8.0.0-beta6 196 1/29/2023
8.0.0-beta5 178 1/20/2023
8.0.0-beta4 274 1/5/2023
8.0.0-beta3 171 12/29/2022
8.0.0-beta2 186 12/16/2022
8.0.0-beta10 156 3/21/2023
8.0.0-beta1 163 12/15/2022
8.0.0-alpha9 181 12/14/2022
8.0.0-alpha8 169 11/30/2022
8.0.0-alpha7 186 11/12/2022
8.0.0-alpha6 183 10/29/2022
7.8.0 321,923 12/16/2023
7.7.0 9,996 11/19/2023
7.6.0 18,836 10/12/2023
7.5.5 71,987 7/20/2023
7.5.4 210 7/19/2023
7.5.3 7,044 6/15/2023
7.5.2 68,405 5/14/2023
7.5.1 961 5/4/2023
7.5.0 14,406 3/25/2023
7.4.3 20,762 2/3/2023
7.4.1 981 1/31/2023
7.4.0 1,099 1/29/2023
7.3.12 31,005 1/23/2023
7.3.11 330 1/22/2023
7.3.10 360 1/19/2023
7.3.9 2,176 1/17/2023
7.3.8 4,564 1/4/2023
7.3.7 4,456 12/22/2022
7.3.6 389 12/19/2022
7.3.5 2,715 11/30/2022
7.3.4 344 11/30/2022
7.3.3 353 11/24/2022
7.3.2 923 11/15/2022
7.3.1 389 11/12/2022
7.3.0 9,746 10/29/2022
7.3.0-alpha3 181 10/15/2022
7.3.0-alpha1 167 10/15/2022