From the course: Learning RabbitMQ

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution: A simple chat application

Solution: A simple chat application - RabbitMQ Tutorial

From the course: Learning RabbitMQ

Start my 1-month free trial

Solution: A simple chat application

(upbeat music) - [Instructor] This is how I implemented the challenge. First, I'll login to my local RabbitMQ instance. In the admin section, I'll add a new user and I'll call it chat. And I've used chat as password as well. Then I need to select the user and set the permission for the virtual host. Okay, then I'll open a Visual Studio and I'll create a new console application. As the application name, I'll just call it RabbitMQ chat. And the first thing we need is the RabbitMQ client package. So I'll right click the project and select manage NuGet packages. Then in the browse section, we can search for RabbitMQ. And the first result should be the client package. And then we install that, and once it's installed, we can start our coding. Okay first, we need a connection factory. So var factory equals new connection factory. And then we can set the URL property of this factory. It should be the URL of your RabbitMQ…

Contents