#dotnet2014-08-24Luisterbieb Windows Phone App#software-development#dotnet2017-12-04School Assignment: Magic Squares#software-development#dotnet2018-01-22.NET core application not logging output to Docker#software-development#dotnet#devops2018-04-23Scaffolding an existing SQL database with Entity Framework Core in 5 minutes#software-development#dotnet#sql#data-storage2018-05-12How to move data from MSSQL to ElasticSearch at galactic speeds#software-development#dotnet#data-storage2018-09-10How to add JWT Bearer auth to GraphQL subscriptions on ASP.NET Core 2.1?#software-development#dotnet#graphql2018-09-19Personal Notes: Writing performant code with C##software-development#dotnet2018-09-21Converting .NET Ticks to MSSQL DateTime and back#software-development#dotnet#sql2018-10-08Retrieving all polygons that overlap a single point#software-development#dotnet2018-11-07Stream processing SQL-stored data in C##software-development#dotnet#sql2018-12-26Cursor based pagination with C# and SQL Server#software-development#dotnet#sql#graphql2019-02-12How to create GraphQL data loaders for Entity Framework?#software-development#dotnet#graphql#data-storage2019-02-25Representing coordinates in a human readable way#software-development#dotnetIn 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.2019-03-06How can I use cursor based pagination on SQL Server with C#?#software-development#dotnet#sql#data-storage2019-03-08Implementing pagination with GraphQL.NET and Relay#software-development#dotnet#sql#graphql#data-storageI 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.2019-03-11How to automatically load graph types in the DI container.#software-development#dotnet#graphql2019-03-30Entity Framework Core: insert or update, the lazy way#software-development#dotnet#data-storage2019-05-27Rendering Razor views by supplying a model instance#software-development#dotnet#email2019-10-24GraphQL API Design: Cursor#software-development#dotnet#graphql2019-12-16GraphQL.NET: Authorization#software-development#dotnet#graphql2019-12-25Using the RazorViewToStringRenderer with Asp.Net Core 3#software-development#dotnet#email2020-01-07How to send emails from asp.net core using Razor templates?#software-development#dotnet#email2020-01-15Solution wide config files with .NET Core#software-development#dotnet2020-03-12Asynchronous streams in C# and scrolling through ElasticSearch with NEST#software-development#dotnet#data-storage2020-03-22GraphQL.NET: Runtime object type is not a possible type for interface#software-development#dotnet#graphql2020-07-05How to collect location data with Telegram and .NET Core?#software-development#dotnet2020-07-22An algorithm for interpolating or extrapolating two lists#software-development#dotnet#algorithmsHaving 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.2020-07-23High performance 2D radius search#software-development#dotnet#algorithms2020-08-14A Blueprint to Start With Stripe Subscriptions (using .NET)#software-development#dotnet2021-01-19Change tracking on detached entities using Entity Framework Core#software-development#dotnet2021-01-31Accessing the filesystem with an asp.net core app run on Docker#software-development#dotnet#data-storageI ran a bunch of experiments to figure out how to access the filesystem from a .NET app running on Docker.2021-02-02Rolling back migrations to a previous version of Entity Framework Core#software-development#dotnetI 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.2022-01-20Creating event sourced aggregates with C##software-development#dotnetThe 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.2022-01-27Coarse commands emitting granular events#software-development#dotnetIn 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.2022-01-27Can I map one command to multiple events?#software-development#dotnetSince 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.2022-01-27More transparent command to event transformation#software-development#dotnetAn improvement upon the previously proposed event sourced aggregate where command provides type information about its returned domain events.2022-01-31What makes an event sourced domain?#software-development#dotnetIn an effort to generalize event sourcing to the whole domain I try to adapt concepts previously developed for aggregates to other domain objects such as services, process managers, sagas and repositories.2022-07-24What is Event Sourcing?#software-development#dotnetThis post attempts to explain event sourcing through examples showing what it is and what it is not, while highlighting some of the strengths and reasons for using it.2022-07-25How to effectively observe the runtime behaviour of your core domain#software-development#dotnetLogging statements have no place in the domain. There are multiple better alternatives you should use instead!2023-01-22Using the object capability security model in C# CRUD applications#software-development#dotnet#web-development#securityThis post shows an example about how object capabilities can be used in a CRUD application to defer authorization to individual models.