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