More transparent command to event transformation
An improvement upon the previously proposed event sourced aggregate where command provides type information about its returned domain events.
Mapping one command to multiple events
Since it would be beneficial for commands to be able to issue multiple events reflecting its behaviour I modified an earlier approach to event sourced aggregates to allow this use-case.
Accessing the filesystem with an asp.net core app run on Docker
I ran a bunch of experiments to figure out how to access the filesystem from a .NET app running on Docker.
GraphQL.NET: Runtime object type is not a possible type for interface
Representing coordinates in a human readable way
In an attempt to make coordinates legible without resorting to maps I have tried an approach where I describe the position relative to a know point, such as a city, mountain top, or other landmark.
Scaffolding an existing SQL database with Entity Framework Core in 5 minutes
Coarse commands, emitting granular events
In order to allow an event sourced software system to evolve I believe it to be important to issue coarse commands emitting granular events. In this post I explain why.
Event sourced aggregates with C#
The aggregate is a well understood concept within DDD practices. The addition of event sourcing to the mix might however complicate things, and the once pretty domain is now in shambles. In this post I'll cover the addition of ES, while keeping the awesomeness of DDD in place.
An algorithm for interpolating or extrapolating two lists
Having my brain eat itself while trying to interpolate two data sets to one another I came up with this working, though overly complicated solution. It works, but can be implemented in a much less convoluted mess.
Asynchronous streams in C# and scrolling through ElasticSearch with NEST
Implementing pagination with GraphQL.NET and Relay
I describe the implementation of a cursor based GraphQL API following the Relay specification. Everything is covered, the specification, query composition, and even a real-world sample.
Generic data loaders for Entity Framework in GraphQL
ASP.NET Core 2.1 and GraphQL; Adding JWT Bearer validation to subscriptions
If you'd like I'll drop new content straight into your mailbox. No need to keep hitting refresh on my site.Ps. feel free to hit reply on any mail you receive from me!
Rolling back migrations to a previous version of Entity Framework Core
I discovered there was a dependency incompatibility between EF Core 5 and SqlKata. I weighted my options, and decided it would be easier to revert back to EF Core 3, than to solve this dependency compatibility issue in another way.