MassTransit Message Contract Sharing using NuGet

preview_player
Показать описание
MassTransit uses a type-based routing system to connect producers and consumers so that publish/subscribe messages works across the supported message brokers. One of the common questions about using MassTransit is how to share and version message contracts in an application and/or domain. In this video, I show how to use NuGet to share a message contract assembly so that other C# .NET projects (or other .NET languages) can use those message contracts.

MassTransit

Connect on Twitter:
Рекомендации по теме
Комментарии
Автор

We are currently using a git submodule instead. Works just as well for us.

logantcooper
Автор

Regarding versioning, have you had to integrate this with IFeatureManagement, i.e. feature flagging? What would be a recommended approach? (something in the consumer definition?)

Wfmike
Автор

How do you deal with enum values that change (or additions) within contracts?

kevbite
Автор

tip: make sure you dont use struct as well as primary constructors

Wfmike