Skip to content

saineshwar/Aspire_RabbitMQ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐇 Integrating RabbitMQ with .NET Aspire

This repository demonstrates how to integrate RabbitMQ with .NET Aspire, a powerful and modern framework for building scalable, cloud-native applications.

🚀 What is .NET Aspire?

.NET Aspire is a cloud-native development stack for building distributed applications in .NET. It provides tools for service discovery, observability, configuration, and integration with popular cloud services.

📦 Why RabbitMQ?

RabbitMQ is a lightweight, open-source message broker that supports multiple messaging protocols. It’s ideal for:

  • Decoupling microservices
  • Handling background tasks
  • Asynchronous communication
  • Event-driven architectures

📘 Full Tutorial

Read the step-by-step integration guide here:
🔗 How to Integrate .NET Aspire with RabbitMQ

📚 What You'll Learn:

  • Running RabbitMQ using Docker and .NET Aspire
  • Setting up Aspire to connect with RabbitMQ using builder.AddRabbitMQ(...)
  • Publishing and consuming messages using MassTransit
  • Viewing messages and health via RabbitMQ Management UI

🧰 Tech Stack

  • .NET 8 / .NET Aspire
  • ASP.NET Core
  • RabbitMQ
  • MassTransit (message bus abstraction)
  • Docker

🛠️ Getting Started

Prerequisites

Run the Project

git clone https://github.com/saineshwar/Aspire_RabbitMQ.git
cd aspire-rabbitmq-integration
dotnet run --project AspireApp

About

Aspire_RabbitMQ

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published