Here you can find the C# code examples for RabbitMQ tutorials.
To successfully use the examples you will need a running RabbitMQ server.
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.
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/Receive.csproj
dotnet run -p Send/Send.csproj
dotnet run -p Worker/Worker.csproj
dotnet run -p NewTask/NewTask.csproj
dotnet run -p ReceiveLogs/ReceiveLogs.csproj
dotnet run -p EmitLog/EmitLog.csproj
dotnet run -p ReceiveLogsDirect/ReceiveLogsDirect.csproj info
dotnet run -p EmitLogDirect/EmitLogDirect.csproj
dotnet run -p ReceiveLogsTopic/ReceiveLogsTopic.csproj anonymous.info
dotnet run -p EmitLogTopic/EmitLogTopic.csproj
dotnet run -p RPCServer/RPCServer.csproj
dotnet run -p RPCClient/RPCClient.csproj
dotnet run -p PublisherConfirms/PublisherConfirms.csproj
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。