Loading user information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading user information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

CQRS with ASP.NET MVC - A Year On

1 hour, 28 minutes, 0 seconds


Right click “Save as…”

Last year, we looked at CQRS and Event Sourcing, and we primarily looked at using a framework called Ncqrs. https://channel9.msdn.com/Series/mvcConf/mvcConf-2-Ashic-Mahtab-CQRS-and-Event-Sourcing-with-MVC-3 While the concepts are great, taking on such a dependency may be worrying to some. In this session, we will look at how we can use pure and simple C# (and some F#) features to apply these patterns and achieve re-usability, modularity, aspect orientation, scalability etc. in our web applications. A lot of the concepts covered can be applied immediately to a large number of applications without requiring massive rewrites.

Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
  • The code for this session is available at https://github.com/ashic/aspConf-cqrs

    Also, if you liked the talk, please consider rating it here http://speakerrate.com/speakers/11533-ashic-mahtab

  • If all the events are replayed in memory when the application starts, how can this model scale to use multiple application servers?

  • This is just one way of doing it. For certain scenarios, you would want persisted projection data. But even without that, there are many ways of having different nodes have a subset of the projection data in memory. When starting up, they would take a hit and take longer to start up, but when started, would act pretty much like any disk backed memory store. Another option is to persist the in memory set periodically to disk. When starting up, the node would read in the persisted set into memory and play back subsequent events (and not all from the beginning of time). There are a lot of other options - you could write books on this topic. However, this a sub-90 minute talk and it's not really possible to cover everything in that limited time.

Remove this comment

Remove this thread


Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.