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?