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 ArticleSelf 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 ArticleSelf 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 ArticleLogging MediatR Requests
With the MediatR v3, there is the ability to create your own request pipelines. To help out of the box, there are some predefined behaviors to help out with commen tasks such as pre and post request....
View ArticleExplore DDD 2017 Review
I just returned from Denver, Colorado, where the first Explore DDD conference was held. I originally heard about it earlier in the year on Twitter via the organizer Paul Rayner and decided to submit a...
View ArticleBrighter MySQL Command Store
I’ve been wanting to explore Brighter for awhile, probably over a year. I figured I’d try something new this time around and actually explore it by contributing to the project itself. I noticed there...
View ArticlePractical Microsoft Orleans
I’ve been wanting to take a deeper dive into Microsoft Orleans for awhile now. With the next release targeting .NET Standard 2.0, it felt like an great time to do it. This is the first blog post in a...
View ArticleFind MediatR Requests without Handlers
You’ve run into it. MediatR throwing an InvalidOperationException when you didn’t have a matching handler for a request. There’s a fairly simple solution to prevent this: Find MediatR Requests...
View ArticleeShopOnContainers a Microservice based .NET Core Sample Application
Finding good sample applications if pretty difficult, if not impossible. Most are small Todo style applications that are generally very CRUD based. Thankfully Microsoft has created the...
View ArticleMediator 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 ArticleMicroBus: 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 ArticleDeveloping 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 ArticleQueries 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 ArticleBuilding 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 ArticleCQRS Myths: 3 Most Common Misconceptions
Although Command Query Responsibility Segregation (CQRS) seems to be a term a lot of developers are aware of, I do think the majority have the wrong definition. Like many terms in the software...
View ArticleCQRS without Multiple Data Sources
One of the most common misconceptions about CQRS is it implies Eventual Consistency. That you must have different data sources for your commands and queries. Meaning you will have a use one data...
View ArticleIs a REST API with CQRS Possible?
If you’re developing an HTTP API (what most would call REST) how does that fit alongside a Task-Based UI and CQRS? How can you create a REST API with CQRS? For starters, resources don’t need to map to...
View ArticleShould you use the Repository Pattern? With CQRS, Yes and No!
The repository pattern is polarizing. Some developers swear you should always use it to abstract data access logic while others think it’s unnecessary if you’re using an ORM. So should you use it? My...
View ArticleCQRS & Event Sourcing Code Walk-Through
Want to see an example of how CQRS & Event Sourcing work together? Here’s a code walk-through that illustrates sending commands to your domain that stores Events in an Event Store. The Events are...
View ArticleEventual Consistency is a UX Nightmare
Eventual Consistency is the term most people refer to when they are reading from a different data source from where they perform a write. Usually leads to a bad user experience where a user performs...
View Article