finds.dev← search

// the find

davidfowl/DotNetCodingPatterns

★ 1,433 · updated Jun 2024

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.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →