Designing for union types before C# supports them
How to design your code for union types before C# actually supports them.
I write about ASP.NET Core, AWS, APIs, testing, infrastructure, and developer tooling, grounded in problems I encounter while building real systems.
How to design your code for union types before C# actually supports them.
AWS provides the Lambda runtime primitives. AWSLambdaSharpTemplate V6 adds an opinionated .NET programming model for handlers, scopes, contexts and event-source semantics.
Use NuGet Trusted Publishing with GitHub Actions to publish packages without storing a long-lived API key.
Source generation can remove repetitive service-module registration from ASP.NET Core applications without relying on runtime reflection.
Most ASP.NET Core projects generate OpenAPI from code. This post explores the opposite approach: treating the spec as the source of truth for Minimal APIs.
AWS SSO is a great alternative to static access keys, but expired sessions can break local Aspire startup in confusing ways. Let’s automate renewing a session.
gRPC services and clients rely on protobuf contracts to align on the shape of requests and responses. NuGet can make sharing these contracts more convenient.
Manual registration of Minimal API endpoints can clutter your ASP.NET Core apps. This article explores how to automate it for a cleaner setup.
Bypassing JWT validation in .NET integration tests with custom tokens and a test-only authentication setup.
Testcontainers and Respawn can make testing ASP.NET Core endpoints using Entity Framework Core easier and more reliable.