C has followed a slow and steady progression from being a high-level assembler to a general-purpose language with a strong systems focus, becoming the lingua franca that ultimately holds the software universe together. In over four decades the idioms and work practices around the language have changed. But only a little. What if we look at the language from the perspective of other trends? Without trying to fake or shoehorn the language into another paradigm, what practices — big and small — can we bring to it from the worlds of C++, OOP, functional programming, TDD and others?
MassTransit is a distributed application framework and Servicebus for .Net. RabbitMq is the underlying middleware that handles low level messages initiated by MassTransit.Examples of problems MassTransit can solve are sending a message to one application to a completely separated other application. MassTransit makes it possible to subscribe to an incoming message just like you would with an event.The support for sagas is another very powerful feature of MassTransit. Sagas are mostly used for persistant workflows. The saga can sent out messages if the status of the workflow changes and multiple systems can react to that change.In this session I'll show the architecture behind messaging, how you can easily implement it using MassTransit and some advanced features like sagas.