

#MASSTRANSIT ON DOCKER CODE#
So lets look at the important parts of the code that make this work. See below that as a message from one of the three clients submits the message, it appears near-instantly on all websites (the console app doesn’t receive messages, only sends.) I actually ran each running website under two browsers (Chrome and Firefox) just to demonstrate a more real-world app this could be. The code is actually ready out-of-the-box (or repo) by checking it out of Github here: MassTransit/Sample-SignalRīasically run the Docker Compose script, get RabbitMQ up and running, and then dotnet run the two websites and console app. You can find the description to the project here: I found that MassTransit itself has a sample application showing integration with the SignalR backplane. Not to be cut short, I searched the interwebs for a similar tutorial that is more recent.

It was at this moment that I realized that the article was from 2015 and enough breaking changes to MassTransit, Autofac, and other libraries had occurred that I was not going to be able to complete this tutorial.
