C# and .NET Design Patterns Articles, Tutorials & News
C# and .NET Design Patterns articles, tutorials, and news from the DotNetNews archive.
336 articles Updated
Start here
Editor picks for Design Patterns
-
See our new Azure Cosmos DB Design Patterns
devblogs.microsoft.com Issue #495
Strong reference material for Cosmos teams that need proven modeling approaches instead of learning partitioning lessons the hard way.
-
Building a Flexible C# Rules Engine: Design Patterns and Best Practices
snehasishkonger.medium.com Issue #494
Rules engines can go sideways fast; patterns and boundaries matter more than the engine itself.
-
Design Patterns in C# — Real Enterprise Examples That Actually Work in Production
medium.com Issue #480
Helpful when patterns are tied to production tradeoffs instead of textbook diagrams.
-
When Design Patterns Become Rituals
binaryintellect.net Issue #472
Design patterns become cargo cult when teams apply them without understanding the problem.
-
Mission Possible : Implementing Design Patterns in .NET
medium.com Issue #469
A survey-style design patterns article that may be most useful for juniors or teams revisiting fundamentals.
-
Cracking the Code of Serverless Design: Patterns that Scale and Patterns that Fail
visualstudiomagazine.com Issue #407
EF Core polymorphic relationships are tricky; three approaches gives you options before you paint yourself into a corner.
-
Mastering Delegates in C#
c-sharpcorner.com Issue #297
Delegates remain a foundational C# feature, and this article shows why they still matter for extensibility and testability.
-
Avoiding Overengineering: When NOT to Use a Design Pattern in .NET
malshikay.medium.com Issue #272
A caution against overengineering that should resonate with anyone who has watched patterns get applied too early.
C# design patterns from the DotNetNews archive, curated for .NET developers who already ship production code. This is a reading list pulled from daily issues, not a substitute for the official docs on C# and .NET Design Patterns.
Use Start here for the editorial shortlist, then browse Latest or the full archive when you need more depth. Coverage leans toward C# design patterns, .NET design patterns, Gang of Four C#. Recent pieces worth opening: “Building Event-Driven Applications with Dapr: A Practical Guide” and “Self-ordering modules: discovered, Kahn-ordered, and extractable”.
Every item links out to the original publisher and back to the DotNetNews issue where it ran.
Latest
Newest Design Patterns from the archive
-
Building Event-Driven Applications with Dapr: A Practical Guidec-sharpcorner.com Issue #499
-
Dapr Workflow Engine: Building Durable Distributed Applicationsc-sharpcorner.com Issue #497
-
How to Implement the Outbox Pattern in Distributed Systemsc-sharpcorner.com Issue #496
-
See our new Azure Cosmos DB Design Patternsdevblogs.microsoft.com Issue #495
-
Building Event-Driven Systems with Apache Kafka and .NETc-sharpcorner.com Issue #495
-
Agent Skills for .NET Is Now Releaseddevblogs.microsoft.com Issue #495
Archive
Page 1 of 14
Newest first
-
Building Event-Driven Applications with Dapr: A Practical Guide
c-sharpcorner.com Issue #499
Master event-driven apps with Dapr! Learn pub/sub, state management, and observability for scalable, resilient microservices.
-
Self-ordering modules: discovered, Kahn-ordered, and extractable
medium.com Issue #497
A module declares its name and its dependencies. The framework discovers every module, sorts them with Kahn’s algorithm, and registers…
-
Dapr Workflow Engine: Building Durable Distributed Applications
c-sharpcorner.com Issue #497
Dapr Workflow Engine simplifies durable distributed applications by managing state, retries, and recovery for complex business processes.
-
Event-Driven Systems in .NET, Python, and Go: A Practitioner’s Comparison
topuzas.medium.com Issue #497
I have built event-driven systems in all three of these ecosystems, not as a research exercise but because different jobs put different…
-
How to Implement the Outbox Pattern in Distributed Systems
c-sharpcorner.com Issue #496
Ensure reliable event delivery in distributed systems with the Outbox Pattern. Achieve data consistency without complex distributed transactions.
-
See our new Azure Cosmos DB Design Patterns
devblogs.microsoft.com Issue #495
Design patterns are where good data modeling lives or dies. In a NoSQL database like Azure Cosmos DB, the difference between a schema that scales to millions of operations per second and one that figh...
-
️ Modernizing .NET — Part 32: When Four Architectures Coexist
medium.com Issue #495
A framework migration can use layered design, modular boundaries, middleware flow, and service contracts without treating them as rivals.
-
Building Event-Driven Systems with Apache Kafka and .NET
c-sharpcorner.com Issue #495
Build scalable, real-time event-driven systems with Apache Kafka and .NET. Learn core concepts, implementation, and best practices for robust distributed applications.
-
Agent Skills for .NET Is Now Released
devblogs.microsoft.com Issue #495
You can now give your .NET agents reusable packages of domain expertise - instructions, reference documents, and scripts they load only when a task needs them - through a stable, production-ready API....
-
Microsoft Agent Framework for .NET (part 1): what it is, how it works, and when to use it
code4it.dev Issue #495
Microsoft Agent Framework is Microsoft’s production-oriented framework for building AI agents and multi-agent workflows in .NET and Python. Let’s see how it works, why Microsoft created it...
-
Dependency Injection in .NET Core
medium.com Issue #494
🚀 Dependency Injection in .NET finally clicked for me… and here’s the explanation I wish someone had given me on Day 1.
-
Building a Flexible C# Rules Engine: Design Patterns and Best Practices
snehasishkonger.medium.com Issue #494
Most teams end up here for one of two reasons. Either there’s already a big C#/.NET codebase and someone’s tired of if-else logic bleeding…
-
The DI Coupling Trap: When .NET Libraries Block Their Own Capabilities
medium.com Issue #494
A pattern that shows up repeatedly in .NET library code — where a public convenience method hardcodes a dependency resolution strategy and…
-
Dependency Injection in .NET Is Easy to Get Wrong
medium.com Issue #494
Almost every weird intermittent bug I’ve dealt with in a .NET
-
Building Flexible EF Core Queries with Query Objects
c-sharpcorner.com Issue #494
Master EF Core query flexibility with Query Objects. Build reusable, composable queries for maintainable, efficient data retrieval.
-
Specifications over LINQ spaghetti: composable, reusable query intent
medium.com Issue #494
A .Where(s => s.SpeakerId == id && !s.IsDeleted && s.IsPublished) copied into nine controllers is nine places to forget the authorization…
-
Building an Intelligent Feature Flag Management Platform with ASP.NET Core
c-sharpcorner.com Issue #493
Build an intelligent feature flag platform with ASP.NET Core for safer, faster releases, A/B testing, and data-driven rollouts.
-
7 AI Engineering Patterns Every .NET Developer Should Know (With Practical Examples)
blog.gopenai.com Issue #493
Building AI applications isn’t about calling ChatGPT. It’s about designing systems that are intelligent, reliable, and scalable. Continue reading on GoPenAI »
-
Encapsulate LINQ with Extension Methods
medium.com Issue #493
LINQ is powerful and makes life easier for us developers. However, LINQ queries can unfortunately create significant coupling to the…
-
Specification Pattern in C#
ngcheehou.medium.com Issue #492
Imagine you are a developer responsible for maintaining an HR employee portal. This is the Employee class:
-
The CQRS decorator pipeline: logging, caching, and transactions without touching a handler
medium.com Issue #492
Cross-cutting concerns belong around a handler, not inside it. Here is a Scrutor-composed decorator pipeline where logging, caching, and…
-
The Hard Part of Webhooks Isn’t Sending Them — It’s Guaranteeing They Arrive
medium.com Issue #491
What I learned building a reliable webhook delivery system, and why a single timestamp ended up being my scheduler.
-
Kill the anemic domain model: rich aggregates with factory methods that return Result
medium.com Issue #490
Public setters plus logic-in-services is not a domain model, it is a database row with extra steps.
-
.NET R&D Digest (June, 2026)
olegkarasik.wordpress.com Issue #490
This issue includes bits of AI, software development, C++, C#, diagnostics, architecture and of course .NET and .NET Internals.
-
Event Sourcing in .NET: When to Use It and When to Avoid It
c-sharpcorner.com Issue #490
Explore Event Sourcing in .NET: understand its benefits, challenges, and when to use this powerful pattern for auditability and history.