Category "cqrs"

CQRS and cross cutting concerns like ABAC for authorization reasons

Let's assume a monolithic web service. The architectural design is based on the DDD and divides the domain into sub-domains. These are structured according to t

How Implement CRQS in DDD

If someone tries to implement the CQRS pattern without repository in DDD, in which layer should it be done? Infrastructure or Application Layer?

DDD - Concurrency with quantity

Hi everyone, I'm a little bit lost with a problem thinking in ddd way. Imagine you have an application to sell concert ticket. So you have an entity which is ca

CQRS, Is it bad practice using the same class/model for write and read

So let's say I have a product order system. I have several classes that may look like this. data class CreateOrderCommand( val productId: String, val produ

System.ObjectDisposedException: 'Instances cannot be resolved and nested lifetimes cannot be created from this LifetimeScope

I have an async controller and I am trying to call two different Async functions from it. like this public async void Approvefiles(string[] data) {

Return response with errors instead of throwing exception in validation pipeline mediatr 3

I am currently working with Pipeline behavior in Mediatr 3 for request validation. All the examples that I came across were throwing ValidationException if any

CQRS why not just have elasticsearch for both read and write?

I am thinking of having a CQRS architecture for my project. This means having a read and a write database and an update process to keep both databases in sync.

Implement CQRS using EventStore with ElasticSearch

I am currently learning CQRS implementation using ElasticSearch and EventStore. So, I decided to use EventStore for saving the serious of event streams into Eve

CQRS (Lagom) elasticsearch read-side

I've read that ElasticSearch isn't the most reliable in terms of durability, but I would like to use it to store data on the read-side for optimal searching. If

Fluent validation divide bussines validation from auth validaton

I'm using ASP, CQRS + MediatR and fluent validation. I want to implement user role validation, but I don't want to mix it with business logic validation. Do you

Using Kafka as a (CQRS) Eventstore. Good idea?

Although I've come across Kafka before, I just recently realized Kafka may perhaps be used as (the basis of) a CQRS, eventstore. One of the main points that Ka