MediatRstyle
MediatRstyle is a mediator-based software design approach that emphasizes decoupled communication through explicit request and notification messages, inspired by the MediatR library commonly used in .NET. It is not a formal specification but a descriptive term for an implementation style that centers a central mediator to coordinate handling of requests and notifications.
Core concepts include a central mediator that receives requests or notifications, handlers that implement business logic,
Message types in MediatRstyle typically include requests (encompassing commands and queries) and notifications. A request is
Advantages of this style include loose coupling between components, improved testability, and clearer separation of concerns.
Common use cases include domain-driven design, CQRS, and event-driven architectures where components should remain independent of
Relation to MediatR: the term describes approaches similar to MediatR’s API and workflow without implying a