Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9128895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:37:24+00:00 2026-06-17T07:37:24+00:00

Im trying to write my first CQRS application and I’m having trouble making a

  • 0

Im trying to write my first CQRS application and I’m having trouble making a simple view involving a grid that is bound to a collection of T (an aggregate root.)

I’ve done extensive googling and I can’t find any ideas on modeling a user experience for this list, using CQRS.

1) One idea is to have a command for Creating, Editing, and Removing each T from the list, and use a custom implementation of a BindingList to know when these actions have occured.

2) Another option is to wait for the user to make all changes necessary, and somehow analyze the differences between the original aggregate root and the edited, and send a series of commands for these changes all at once.

My problem with number one is that I’m using Identity columns instead of Guids (so the client is NOT generating an Id for a new T) so if the user decides to delete a model they just created, before the client’s create command is processed on the server, how can I tell the server what model to delete?

Number two seems very complicated because I would have to figure out how to assess added, deleted, and edited items in order to send the batch of commands.

Thoughts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T07:37:25+00:00Added an answer on June 17, 2026 at 7:37 am

    There is no reason to model CRUD (Create, Read, Update, Delete) operations with CQRS. Not even in a pet project or for practice purposes.. If it’s CRUD then handle it the simplest way possible.

    Features like user management, master data entry etc. very often belong to their own Bounded Context that shouldn’t use CQRS.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to write my first simple mvc app. I have a Main View
I am trying to write my first Android app, and I'm having trouble. I
I'm trying to write a simple program that prints the first Stirling's approximation for
I'm trying to write my first iPhone app and i'm having some trouble with
I am trying to write my first app- a simple application where the user
I am trying to write a simple script that convert the first field of
I'm trying to write my first Azure application with Visual Studio 2008. Whenever I
I'm trying to write my first semi advanced bash script that will take input
I am trying to write my first true multi layered application and I was
I'm trying to write my first Perl program. If you think that Perl is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.