Category Archives: CQRS

CQRS and REST: the perfect match

In many of my applications, the UI and API gravitate towards task-oriented UIs. Instead of “editing an invoice”, I “approve an invoice”, with specialized models, behaviors and screens just for accomplishing that task. But what happens when we move from … Continue reading 

Also posted in DomainDrivenDesign, Microservices, REST | 20 Comments

MeasureUP conference

I am excited to speak at the upcoming MeasureUP conference here in Austin TX on September 26th 2015. The conference is only 10 days away and it is pretty much free (we charge a very low admission fee which includes … Continue reading 

Also posted in REST | 1 Comment

Event Sourcing applied – the Repository

In my last few posts I started by revisiting the architectural pattern Event Sourcing and looked into how we can apply this pattern. I first discussed implementation of the aggregates and then of the application services. In this post I … Continue reading 

Also posted in Fixie, Testing | 12 Comments

CQRS with MediatR and AutoMapper

CQRS is a simple pattern – two objects for command/queries where once there was one. These days just about every system I build utilizes CQRS, as it’s a natural progression from refactoring your apps around the patterns arising from reads … Continue reading 

Also posted in Architecture, AutoMapper, MediatR | 56 Comments

CQRS Workshop – Retrospective

Introduction Today I had the honor of leading the first of a series of workshops at ClearMeasure. The topic of this workshop was CQRS. After a brief introduction into the topic the attendees were working in teams of 2 to … Continue reading 

| Leave a comment

CQRS applied

In this post I have discussed CQRS, an architectural pattern from a high level perspective. CQRS is one of my favorite patterns when it comes to complex line of business applications. Let’s discuss CQRS on a specific sample. Imagine we … Continue reading 

| Leave a comment

Consistent or not that’s the question

My last post about CQRS has lead to a lively discussion around eventual consistent read models. First let me clarify what eventual consistency in the context of a read model means. A read model that needs some time to get … Continue reading 

Also posted in ASPNETMVC | 26 Comments

CQRS revisited

Introduction In my opinion Command Query Responsibility Segregation (CQRS) is one of the most useful architectural patterns when used in the context of a complex line of business application (LOB). Martin Fowler writes … At its heart is a simple … Continue reading 

| Leave a comment

Writing an Angular JS application end-2-end–Part 2

Introduction In the previous post I showed how we can use Yeoman to scaffold a new ASP.NET vNext application on Ubuntu. I then implemented a simple RESTful API and also started to implement the basics of a domain model. In … Continue reading 

| Leave a comment

AngularJS–Part 5, pushing data to the server

Introduction This is a series of posts to describe our approach to slowly migrate a Silverlight based client of a huge and complex LOB  to an HTML5/CSS3/JavaScript based client. These posts report on the lessons learnt and are meant to … Continue reading 

Also posted in TDD | 9 Comments