Skip to content

Blog

Blog

Notes from more than two decades of .NET engineering

APIs, architecture, testing, tooling and teamwork: practical lessons from real projects, with code you can use. Read the latest posts below or browse by series.

136 posts16 series70 tags

Many coding agents, one board — why I built a developer agent board

One coding agent in a terminal is a joy. Three of them in parallel means three terminals, one shared checkout, questions buried in scrollback and pull requests nobody really checked. A tour of the developer agent board I built against that, with one branch and one git worktree per task, a fixed workflow with quality gates, and a human who only gets pulled in when it matters.

Architecture tests beyond code — project layering and XAML rules with Solution.Parser

A comment in a csproj can't stop a reference that quietly drags Roslyn into a package that never needed it, and no compiler notices a typo in a WPF binding path. Two worked examples from Solution.Parser's own repository: layering rules over projects and packages, and XAML rules checked against the C# behind them.

Code rules for everyone, architecture rules included — and when a Roslyn analyzer is the better home

Solution.Parser started as a way to make Roslyn-analyzer-style rules something every developer can write. Along the way it became just as useful for architecture validation: layering, project references, packages and XAML. How the pieces fit, and when a rule should graduate to a real analyzer.

Guard clauses in one line — getting started with Argument.Check

Fifteen lines of if/throw in front of three lines of real work, exception messages that name the wrong parameter after a rename, and a debugger that stops in the guard instead of in your code. How Argument.Check turns every guard clause into one readable line that returns the checked value, and what it does for you behind that line.