Skip to content

Latest commit

 

History

History
 
 

dotnet

Dotnet C# code for RabbitMQ tutorials

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

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 -p the code. Alternatively you could use Visual Studio and NuGet package, 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.

First run the recompile.sh script. This will run dotnet restore and build each project which is required before they can be run. Alternatively or if you are on windows cd into each project and run dotnet restore manually.

dotnet run -p Receive
dotnet run -p Send
dotnet run -p Worker
dotnet run -p NewTask
dotnet run -p ReceiveLogs
dotnet run -p EmitLog
dotnet run -p ReceiveLogsDirect info
dotnet run -p EmitLogDirect
dotnet run -p ReceiveLogsTopic anonymous.info
dotnet run -p EmitLogTopic
dotnet run -p RPCServer
dotnet run -p RPCClient