Getting Started With MassTransit (Beginner Friendly)

preview_player
Показать описание

MassTransit is an open-source distributed application framework for .NET. It provides a messaging abstraction on top of the supported message transports. MassTransit lets you focus on adding business value instead of worrying about messaging complexity.

Health checks provide a way to monitor and verify the health of various components of an application, including databases, APIs, caches, and external services. Let's see how to implement health checks in ASP.NET Core. MassTransit supports many message transport technologies. Here are a few that are popular:

- RabbitMQ
- Azure Service Bus
- Amazon SQS
- Kafka

In today's video, I'll show you how to install and configure MassTransit in .NET. We'll connect MassTransit to a few message brokers - RabbitMQ and Azure Service Bus. And we will also cover how to publish and consume messages with MassTransit.

Using MassTransit with RabbitMQ and Azure Service Bus

Join my weekly .NET newsletter:

Read my Blog here:

Chapters
0:00 Installing MassTransit
0:51 What MassTransit does for you
1:45 Configuring MassTransit
3:41 Publishing messages with MassTransit
6:49 Consuming messages with MassTransit
11:18 Adding different message transports
Рекомендации по теме
Комментарии
Автор

man this is exactly what i needed yesterday 😂

myuuiii
Автор

Amazing bro! That was exactly what I needed!
And BTW glad to see you have replied to almost every comment!

muhammadaqib
Автор

To the point and easy to follow. Thanks for this!

MattOsbun
Автор

One thing I would like to see is how to set up a durable message queue in case there are network issues between you and where you are publishing and how to correctly handle it without data loss. An additional requirement might be that message ordering is important, so just resending "dead letter" messages is not the best idea.

funkydiddykong
Автор

Millan, in this example you are using, your communication is in the same solution. Does MassTransit support communication between different solutions?

felipemarques
Автор

Have you considered the implications of using MassTransit in a high-throughput, low-latency environment like high-frequency trading?

OscarAgreda
Автор

How can I seamlessly switch between RabbitMQ for my local development and Azure Service Bus for production without having to change the configuration code?

hosaus
Автор

Great video! I'm curious which theme you are using in VS?

GlobeTrotter-wick
Автор

If I want send a message to an azure service bus topic why do I need to create and register a consumer?

cmonstokeST
Автор

why when i seperate the project the publisher is publishing but the consumer never Consume i am using rabbitmq?

MohamedibnAhmed
Автор

Milan, are you planning to extend your course with Messaging?

mkmerlinyt
Автор

im sometimes wondering if people even read docs, looks like they dont, according to all those comments : (

mostrealtutu
Автор

Could you help me how to config dead-letter in Masstransit 😢

_NguyenHaoTien
Автор

Very helpful video.
But I've a question, is it recommended to use the Inmemory process in modularMonolith??

eliezerbwana
Автор

Noice. How about a comparison video between MassTransit and Wolverine? Wolverine is the new hotness on the block and looks very promising for decoupled systems. Especially when integrated with MartenDB, Wolverine looks like a must use tool.

joga_bonito_aro
welcome to shbcf.ru