architecture
C# and .NET Design Patterns Articles, Tutorials & News
C# and .NET Design Patterns articles, tutorials, and news from the DotNetNews archive.
336 articles Updated
This DotNetNews topic collects C# design patterns material from the daily archive. C# and .NET Design Patterns is a recurring focus for C# and .NET developers working in the Microsoft ecosystem. The page is for people who already ship C# and need a faster way to find relevant posts.
Expect publisher tutorials, release notes, architecture write-ups, and field notes linked from DotNetNews issues. Start here is a short editorial shortlist for C# and .NET Design Patterns; the archive list is chronological and larger. Nothing here claims every article was production-tested by the editors.
Recurring subtopics in recent issues include C# design patterns, .NET design patterns, Gang of Four C#, and software patterns .NET. Secondary angles such as C# design patterns and .NET design patterns appear when the archive actually covered them. Related hubs such as SOLID Principles in C# and Clean Architecture in .NET cover adjacent problems.
Each card points at the original publisher URL and the DotNetNews issue that carried it, so you can read the article in context or jump straight to the source.
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
Chad Green explores how intentional design patterns determine whether serverless architectures deliver on their promises of scalability, resilience, and cost efficiency.
-
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.
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.