How to cqrs with message bus

saschadev

Der Sascha

Posted on February 12, 2020

How to cqrs with message bus

Hey, I try to create an application with the cqrs pattern in. Net. So I use mediatr as command and query invoker.

This works very well for now. But I think that is to right coupled Between the Modules. Because I have one base application that serve some webapi Controllers and using nuget (satelite) pakages that contains the desired command and query Object and also the handler. These package will be tested independently.

So my idea was to use any Bus system(asb, rabbitmq..) for "sending" messages (command and queries) between the Module.

Is there any kind of good toolkit / Pattern /Way for this?

Or are I am on a wrong path for this and do a wrong descision?

💖 💪 🙅 🚩
saschadev
Der Sascha

Posted on February 12, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

How to cqrs with message bus
cqrs How to cqrs with message bus

February 12, 2020