mvcConf 2 - Ashic Mahtab: CQRS and Event Sourcing with MVC 3

Download this episode

Download Video


The session will briefly cover what CQRS and event sourcing is and what benefits they provide over traditional architectures. We will then build a simple ASP.NET MVC 3 application that will use CQRS and Event Sourcing. We will use Ncqrs to provide the underlying platform and see how CQRS and Event Sourcing simplifies software design, improves scalability and maintainability and how they fit into an ASP.NET MVC application.

Recorded live via Live Meeting as part of mvcConf 2



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      Marcel Popescu

      Fantastic video... thank you. I've been trying to get started with CQRS, but never understood how all the parts work together. This clarified it a lot.

      One question: I want to write a multiplayer game (text-based, turn-based) and I need a timer (the players have a limited time to decide on their move). I can probably figure out a way to generate commands each seconds, but how do I use the framework to retrieve all the appropriate aggregates that are supposed to handle the "clock tick" command? I can't wrap my head around this. (I understand how a command will retrieve one aggregate, but I will have multiple ongoing games, and all of them need to find out if the move time has expired.)

    • User profile image

      Great video. Nice simple example, and it would be useful to have it for download!

    • User profile image

      Awesome! Very inspiring, made me thing different about all software I wrote in the last few years.

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.