Quantcast
Channel: CQRS Archives - CodeOpinion
Browsing all 65 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Hangfire Best Practice: Invoke by ID

In my previous post, I created a few extension methods for Hangfire and MediatR in order to enqueue an IRequest. However, it was not following Hangfire Best Practice. The purpose was to have the...

View Article


Image may be NSFW.
Clik here to view.

Linking to Nancy Routes

I’ve previously blogged about Nancy.Linker, the URI Builder for NancyFX.  However, I wanted to take it a step further and give an actual example of how I handle linking to Nancy routes through my...

View Article


Image may be NSFW.
Clik here to view.

Web API: Resource Model isn’t your Data Model

I was recently reminded of some troubles I had awhile ago which were caused by exposing my data model. This tweet by Mike Amundsen brought up some thoughts that I had yet to share, and why I now...

View Article

Image may be NSFW.
Clik here to view.

Fat Controller CQRS Diet

I’ve been meaning to create a sample application that uses the MediatR library to dispatch command and queries.  All of this organizing and writing your code in vertical slices rather than layers. Why?...

View Article

Image may be NSFW.
Clik here to view.

Fat Controller CQRS Diet: Simple Query

This is a series of blog posts that demonstrate how to thin your controllers by implementing commands and queries using the MediatR library.  For demonstration, I’m converting the MusicStore...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

Fat Controller CQRS Diet: Notifications

This post is in my Fat Controller CQRS Diet series. It demonstrates how to thin your controllers by implementing commands and queries using the MediatR library. I’m converting the MusicStore...

View Article


Image may be NSFW.
Clik here to view.

Fat Controller CQRS Diet: Vertical Slices

This post is in my Fat Controller CQRS Diet series. It demonstrates how to thin your controllers by implementing commands and queries using the MediatR library.  Specifically in this post, I’ll look at...

View Article


Image may be NSFW.
Clik here to view.

Fat Controller CQRS Diet: Trade-offs

In my Fat Controller CQRS Diet series, I’ve shown the mediator pattern and the MediatR library. After a recent discussion with Reid Evans, he made me realize I haven’t really described the trade-offs....

View Article

Image may be NSFW.
Clik here to view.

MediatR Behaviors

I was happy and surprised to see that MediatR v3.0 was released yesterday.  One of the new features, which I was really looking forward to are pipeline behaviors. A pipeline behavior is an...

View Article

Image may be NSFW.
Clik here to view.

Conference Speaking Experience: CodeMash 2017

At some point in 2016 I decided I wanted to submit talks to a few large conferences.  I’ve done talks at various small user groups, but nothing more than 30 people. The main reason to submit to larger...

View Article

Image may be NSFW.
Clik here to view.

Mediator between Integration Boundaries

If you have followed my Fat Controller CQRS Diet series, you will see that I use the mediator pattern. More specifically I use MediatR library in all the code examples. I recently gave a talk at...

View Article


Image may be NSFW.
Clik here to view.

MicroBus: In-Process Mediator

I’ve blogged about the mediator pattern a lot.  Primarily because it’s been a good fit in several of the applications I’ve developed over the last few years. Mediator Pattern For those completely...

View Article

Image may be NSFW.
Clik here to view.

Developing Features not Layers

Developing and thinking about features not layers is something I’ve moved towards over the last several years. I’ve mentioned it in several blog posts and I don’t think I ever explicitly created a post...

View Article


Image may be NSFW.
Clik here to view.

Queries with Mediator and Command Patterns

I recently got a really great comment from my post on using Query Objects instead of Repositories.  Although that blog post is now 2 years old, I still use the same concepts today in my applications....

View Article

Image may be NSFW.
Clik here to view.

Building a Self Descriptive HTTP API in ASP.NET Core

We have all been doing “web services” forever.  My first introduction was in the late 90’s with XML-RPC and WDDX.  Followed up soon after with SOAP.  Good times.  Oh and remember WS-*.  Don’t remind...

View Article


Image may be NSFW.
Clik here to view.

Self Descriptive HTTP API in ASP.NET Core: Hypermedia

This post is in my Self Descriptive HTTP API in ASP.NET Core series. It demonstrates how to design an HTTP API like a regular HTML website. Bringing the concepts of links and actions to your API allows...

View Article

Image may be NSFW.
Clik here to view.

Self Descriptive HTTP API in ASP.NET Core: Siren

This post is in my Self Descriptive HTTP API in ASP.NET Core series. It demonstrates how to design an HTTP API like a regular HTML website. Bringing the concepts of links and actions to your API allows...

View Article

Image may be NSFW.
Clik here to view.

Self Descriptive HTTP API in ASP.NET Core: HATEOAS

This post is in my Self Descriptive HTTP API in ASP.NET Core series. It demonstrates how to design an HTTP API like a regular HTML website. Bringing the concepts of links and actions to your API allows...

View Article
Browsing all 65 articles
Browse latest View live