Skip to content

Files

This branch is 428 commits behind rabbitmq/rabbitmq-tutorials:main.

dotnet

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 29, 2023
Jan 29, 2023
Jan 29, 2023
Jan 29, 2023
Jan 29, 2023
Apr 29, 2023
Jan 29, 2023
Jan 29, 2023
Jan 29, 2023
Jan 29, 2023
Jan 29, 2023
Jan 29, 2023
Jan 29, 2023
Apr 1, 2020
Jan 29, 2023
Jan 29, 2023

Dotnet C# code for RabbitMQ tutorials

Here you can find the C# code examples for RabbitMQ tutorials using .NET 7.0.

You will also find a solution file for Visual Studio 2022.

To successfully use the examples you will need a running RabbitMQ server.

Requirements

Requirements on Windows

We're using the command line (start->run cmd.exe) to compile and run the code. Alternatively you could use Visual Studio, but this set of tutorials assumes the command line.

Requirements on Linux

Code

Each command is best run in a separate console/terminal instance run from the root of the tutorial directory.

dotnet run --project Receive/Receive.csproj
dotnet run --project Send/Send.csproj
dotnet run --project Worker/Worker.csproj
dotnet run --project NewTask/NewTask.csproj
dotnet run --project ReceiveLogs/ReceiveLogs.csproj
dotnet run --project EmitLog/EmitLog.csproj
dotnet run --project ReceiveLogsDirect/ReceiveLogsDirect.csproj info
dotnet run --project EmitLogDirect/EmitLogDirect.csproj
dotnet run --project ReceiveLogsTopic/ReceiveLogsTopic.csproj anonymous.info
dotnet run --project EmitLogTopic/EmitLogTopic.csproj
dotnet run --project RPCServer/RPCServer.csproj
dotnet run --project RPCClient/RPCClient.csproj
dotnet run --project PublisherConfirms/PublisherConfirms.csproj