hello-world-rabbitmq-dotnet

Hello World RabbitMQ

📚 A repository to learn and explore the basics of RabbitMQ with C# .NET.

wakatime Maintainability Test Coverage CodeFactor GitHub license GitHub last commit


About

This repository demonstrates how to integrate RabbitMQ, a powerful message broker, with .NET applications. It provides simple examples of publishing and consuming messages to help you understand the core concepts of RabbitMQ.


Features


Prerequisites

To follow along with this repository, you’ll need:

  1. RabbitMQ Server: Download and install RabbitMQ from here. Ensure the server is running locally or accessible remotely.
  2. .NET SDK: Install the latest .NET SDK from dotnet.microsoft.com.
  3. Docker (Optional): If you prefer, you can run RabbitMQ via Docker:

    docker run -d --hostname rabbitmq --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3-management
    

Getting Started

  1. Clone the repository:

    git clone https://github.com/GuilhermeStracini/hello-world-rabbitmq.git
    cd hello-world-rabbitmq
    
  2. Build and run the solution:

    dotnet build
    dotnet run
    
  3. Follow the console output to understand how messages are sent to and received from RabbitMQ.


Resources


License

This repository is licensed under the MIT License.


Contributing

Contributions are welcome! Please feel free to submit issues or pull requests to improve this project.