I'm trying to implement CQS for the first time. But have problem with structuring the CQS part of the app.
In my project solution I have project Application:
MySolution.ApplicationProject
I created there 3 folders:
Commands
ICommand
ICommandResult
...
Handlers
...
Queries
IQuery
IQueryResult
...
And now as I want for example to create new query I have to create Query, QueryResult, QueryHandler - 3 new files, so the project is getting really big pretty fast...
I just wonder how do you structure this? Maybe I should seperate Commands/Queries/Handlers into 3 different projects?
Aucun commentaire:
Enregistrer un commentaire