A while ago, the HTMX team published an approach to improve locality of behavior and cohesion in server side rendered views. This post describes how this can be implemented using ASP.NET Core Razor views.
If you're using Alpine.js in ASP.NET Razor Views or Pages, you might want to pass some C# values to Alpine's x-data attribute. Here's how.
For B2B SaaS it's quite common to have subdomains per tenant. There are several ways to implement this and by accident I stumpled upon a fairly simple solution using nginx and Docker.
Sometimes you need a screenshot of an application window in a particular size. Of course, Linux has a commandline tool for this.
Deconstructing C# records with positional parameters is easy. But how do you deconstruct a C# record with properties?