// the find
davidfowl/DotNetCodingPatterns
A collection of coding patterns in no particular order
A loosely organized collection of .NET coding patterns written by David Fowler, one of the ASP.NET Core architects. It covers real patterns from the framework internals — not textbook examples. The audience is intermediate to advanced .NET developers who want to understand idiomatic modern C#.
The patterns come directly from someone who built ASP.NET Core, so they reflect how the framework actually works internally rather than how blog posts say it works. The examples are terse and concrete — no scaffolding, just the pattern. Topics like ValueTask usage, IAsyncEnumerable, and channel-based pipelines are exactly what trips people up in real codebases.
Two markdown files is not a collection — this repo stopped before it started. Last pushed mid-2024 and shows no signs of continued development. No index, no grouping by topic, no search — if it ever grew to 50 patterns it would be unusable. The lack of any explanation of *when* to use each pattern versus just showing the code leaves the 'why' entirely to the reader.