CQRS
In CQRS, should my read side return DTOs or ViewModels?
I\'m having a debate with my coworkers in the design of the read side of a CQRS application. Option 1: The application read side of my CQRS application returns DTOs, e.g:[详细]
2023-04-12 11:22 分类:问答CQRS How to handle tasks of users / Stale data
I understand that data is always stale. What is a way to handle a workflow task, like Approve Invoice. This task is allowed to execute once by the user. When this is processed by an async service it[详细]
2023-04-12 10:27 分类:问答JOlivier EventStore difference and usage of StreamRevision and CommitSequence?
When looking to JOlivers \"EventStore\", I see that StreamRevision and CommitSequence are the same if you only commit 1 event. And it is the StreamRevision that is used to select events with.[详细]
2023-04-10 20:49 分类:问答Is a document/NoSQL database a good candidate for storing a balance sheet?
If I were to create a basic personal accounting system (because I\'m like that - it\'s a hobby project about a domain I\'m familiar enough with to avoid getting bogged-down in requirements), would a N[详细]
2023-04-08 20:00 分类:问答CommonDomain/EventStore Interface Fetching
I\'d like to access my aggregate root by an interface it implements: repository.GetById[[IMyInterface]](id);[详细]
2023-04-06 15:47 分类:问答About the query side of CQRS [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-04-06 07:46 分类:问答The purpose of services in Greg Young's CQRS implementation
I decided to get acquainted with a concrete CQRS implementation on the example of Greg Young\'s implementation[详细]
2023-04-06 03:30 分类:问答NES (.NET Event Sourcing) sample exception (using NServiceBus 2.0)
I\'m using the NES sample which works out of the box. Then I have swapped the NServiceBus 2.5 version with an older 2.0 but this results in the following error when starting the MVC application:[详细]
2023-04-05 19:46 分类:问答NEventStore CommonDomain: Why does EventStoreRepository.GetById open a new stream when an aggregate doesn't exist?
Please explain the reasoning behind making EventStoreRepository.GetById create a new stream when an aggregate doesn\'t exist. This behavior appears to give GetById a dual responsibility which in my ca[详细]
2023-04-05 07:37 分类:问答NES (.NET Event Sourcing) running older NSB alright?
We have an older installation running with NSB 2.0. I know NES is released for 2.5 but since it\'s just a layer on top I figure it should be possible to try NES with NSB 2.0. Also, for various reasons[详细]
2023-04-04 06:29 分类:问答