Top "Cqrs" questions

Command-Query Responsibility Segregation (CQRS) is an architectural pattern which separates commands (that change the data) from queries (that read the data).

What is the difference between a saga, a process manager and a document-based approach?

What I understand is that all three concepts are related to long-running transactions. A process manager is, to my understanding, …

cqrs
Difference between CQRS vs CQS

I am learning what is CQRS pattern and came to know there is also CQS pattern. When I tried to …

cqrs command-query-separation ncqrs
Add validation to a MediatR behavior pipeline?

I'm using ASP.NET Core, the built-in container, and MediatR 3 which supports "behavior" pipelines: public class MyRequest : IRequest<string&…

c# asp.net-core cqrs fluentvalidation mediatr
CQRS: Command Return Values

There seems to be endless confusion about whether commands should or should not have return values. I would like to …

design-patterns architecture cqrs command-pattern
Communicating between two Bounded Contexts in DDD

I have few different Bounded Contexts in the domain. The validation of a CRUD operation is built in each Bounded …

domain-driven-design cqrs domain-events bounded-contexts
Why are commands and events separately represented?

What is the difference between commands and events in architectures that emphasize events? The only distinction I can see is …

events command cqrs event-driven-design
How do I register and use a MediatR pipeline handler, for ASP.NET Core?

I'm using ASP.NET Core, the latest MediatR, and MediatR extension for Core's DI. I'm trying to set up a …

asp.net-core cqrs mediatr
Framework suggestion for CQRS and EventSourcing

Are there any other Java frameworks for CQRS and Event Sourcing other than Axon Framework? I am specifically looking for …

java domain-driven-design cqrs event-sourcing axon
What are the disadvantages of using Event sourcing and CQRS?

Event sourcing and CQRS is great because it gets rids developers being stuck with one pre-modelled database which the developer …

cqrs event-sourcing
CQRS Event Sourcing: Validate UserName uniqueness

Let's take a simple "Account Registration" example, here is the flow: User visit website Click "Register" button and fill form, …

domain-driven-design cqrs event-sourcing unique