.NET Aspire:

Messaging

Integrations

Event-Driven Architecture

Message Broker

Event

Event

Producer

Consumer

Consumer

Consumer

Request-Response vs Event-Driven

  • Synchronous vs Asynchronous

  • Inversion of Control

Request-Response Model                                            Event-Driven Model

Sender

Receiver

Request

Publisher

Message Broker

Consumer

Consumer

Consumer

Consumer

Consumer

Request-Response Model                                            Event-Driven Model

Sender

Receiver

Request

Publisher

Message Broker

Consumer

Consumer

Consumer

Consumer

Consumer

Service 1
Api 1

Service 2
Api 2

Service 3
Api 3

Need to know

User

API
Gateway

Subscription Service

Payments Service

Recommendation Service

New Subscriber

Success!

New Subscriber

Payment
Processed

Notification Service

Successful Subscription

linkedin.com/in/ryanninodizon
sessionize.com/ryanninodizon
youtube.com/@LearnWithJon
medium.com/@ryanninodizon
github.com/ryanninodizon

Ryan Niño Dizon

Cloud Architect @

.NET Aspire:
Messaging
integrations

  • Apache Kafka

  • RabbitMQ

  • Azure Service Bus

  • Azure Event Hubs 

  • Azure SignalR

  • ... .NET Aspire integrations

What is .NET Aspire and why do I use this?

How do I start working with .NET Aspire ?

Prerequisites

  • .NET 8.0/9.0 
  • Docker Desktop or Podman
  • Integrated Developer Environment (IDE) or code editor, such as:
    • ​Visual Studio 2022 Preview version 17.9 or higher (Optional)
    • Visual Studio Code (Optional)
    • C# Dev Kit: Extension (Optional)

       

How to deploy .NET Aspire?

.NET Aspire apps are designed to run in containerized environments. Azure Container Apps is a fully managed environment that enables you to run microservices and containerized applications on a serverless platform.

  • Azure Bicep
  • Azure CLI
  • Azure Developer CLI(azd)
linkedin.com/in/ryanninodizon
sessionize.com/ryanninodizon
youtube.com/@LearnWithJon
medium.com/@ryanninodizon
github.com/ryannninodizon

Ryan Niño Dizon

Demo! 

Cloud-Native App Development with Messaging Components

By Ryan Niño Dizon

Cloud-Native App Development with Messaging Components

  • 4