Skip to content

Sponsor: Do you build complex software systems? See how NServiceBus makes it easier to design, build, and manage software systems that use message queues to achieve loose coupling. Get started for free.

Learn more about Software Architecture & Design.
Join thousands of developers getting weekly updates to increase your understanding of software architecture and design concepts.


Follow @CodeOpinion

Derek Comartin

Running a .NET User Group

Back in June 2016, I posted about my experience starting a User Group.   It covered some of the basics of the very initial forming of the group and various feedback.  Since it’s now been half a year and we’ve had 6 meetups since then, I figured it was time for a post about how it’s been running a .NET User group. Speakers Originally thought the toughest part of running the user group would be getting speakers.  However, this early on in the life of the user group, it hasn’t been much of an issue. I think there is one main… Read More »Running a .NET User Group

Fat Controller CQRS Diet: Command Pipeline

This post is in my Fat Controller CQRS Diet series demonstrating how to thin your controllers by implementing commands and queries using the MediatR library. For demonstration, I’m converting the MusicStore application that’s using ASP.NET Core MVC.   All the source code is available on GitHub. If you’re new to this series, here are earlier posts in this series: Overview of Series Simple Query Simple Command Pipelines In both the new  Query and Commands handlers wrote in prior posts, there was one thing standing out that really didn’t belong. Logging For reference, here was our AddToCartHandler that did some logging at… Read More »Fat Controller CQRS Diet: Command Pipeline

Fat Controller CQRS Diet: Simple Command

This post is in my Fat Controller CQRS Diet series demonstrate how to thin your controllers by implementing commands and queries using the MediatR library. For demonstration, I’m converting the MusicStore application that’s using ASP.NET Core MVC. If you’re new to this series, here are earlier posts in this series: Overview of Series Simple Query Simple Command https://www.youtube.com/watch?v=2d-jTjmbkVUVideo can’t be loaded because JavaScript is disabled: Fat Controller CQRS Diet | Part 2 Simple Command (https://www.youtube.com/watch?v=2d-jTjmbkVU) A command is request to change the state of our domain. The first controller action we are going to rewrite is ShoppingCartController.AddToCart Here is what the method… Read More »Fat Controller CQRS Diet: Simple Command