This is a proof of concept (POC) project demonstrating how to use RabbitMQ with Docker on Windows and C# with .NET Core. The project includes a simple producer that sends messages to a RabbitMQ queue and a consumer that receives and processes those messages.
- Program.cs # Main entry point of the application
- Producer.cs # Contains the code for the RabbitMQ producer
- Consumer.cs # Contains the code for the RabbitMQ consumer
- RabbitMQPOC.csproj # .NET Core project file
- README.md # Project documentation
- .NET Core SDK (version 3.1 or later)
- Docker Desktop for Windows
- Basic knowledge of C# and RabbitMQ
- Pull the RabbitMQ Docker image:
docker pull rabbitmq:3-management
- Run the docker container
docker run -d --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3-management
- Run the project (two instances: one for producer and one for consumer)
dotnet run