← all tags
Aug 05, 2025·10 min read
Architecting C# Domain Models for Human and AI Collaboration
I went down a rabbit hole of extreme encapsulation in C# only to find a more pragmatic path. Discover the journey from a complex domain model to a simpler one that provides powerful guardrails for AI development tools like GitHub Copilot.
C#Domain-Driven DesignArchitecture+3 more
Jul 22, 2025·6 min read
Keep Your Domain Clean: Deserializing with Private Setters in C#
Ever created a perfectly encapsulated C# domain object with private setters, only to find System.Text.Json can't deserialize data back into it? You don't have to expose your setters! Let's explore a clean solution.
C#.NETSystem.Text.Json+2 more