architecture
C# and .NET Design Patterns Articles, Tutorials & News
C# and .NET Design Patterns articles, tutorials, and news from the DotNetNews archive.
415 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 17
Newest first
-
The Socket Is Not the Toaster
medium.com Issue #544
What an interface actually is in C#, and how to know you understood it Continue reading on Coffee☕ And Code »
-
Clean Architecture in .NET: When It Helps and When It Becomes Overengineering
blog.stackademic.com Issue #544
Clean Architecture is one of those topics that almost every experienced .NET developer eventually runs into. At first, it feels like the… Continue reading on Stackademic »
-
How to Build High-Performance Distributed Systems with .NET Core — By Najeeb Ullah
medium.com Issue #542
Building large-scale enterprise applications requires deep architectural knowledge and efficient coding practices. As a Top .NET Creator…
-
How Architects (Senior Devs) Choose a Database in 2026
medium.com Issue #542
Choosing a database is one of the most impactful decisions you make in a project. Continue reading on CodeX »
-
Building Apps That Live Inside Someone Else’s Software
medium.com Issue #542
What we learned building inside Reapit’s AppMarket
-
Guidelines for Tuning Circuit Breaker Settings Effectively
medium.com Issue #541
This article explores the Circuit Breaker resilience strategy in Polly, emphasizing its use for HTTP client requests with .NET extensions…
-
On forcing all derived classes to implement a specific non-virtual method, part 1
devblogs.microsoft.com Issue #541
You may have a base class that implements only partial functionality and relies on the derived class to do the rest. How do you make sure that the derived class does the rest? For concreteness, let's ...
-
How to Choose Code Architecture in 2026
antondevtips.com Issue #538
What code architecture uses fewer AI tokens? Advantages (pros) and disadvantages (cons) of N-Layered Architecture, Clean Architecture and Vertical Slice Architecture. How to combine Clean Architecture
-
How to Manage Application Settings Using the Options Pattern in .NET
yogeshhadiya33.medium.com Issue #537
Application settings are used in almost every application. Things like API URLs, connection strings, feature flags, timeout values, and…
-
FeatureFusion: an engineering lab that extracts reusable .NET building blocks
medium.com Issue #537
I did not start with NuGet packages. I started with recurring problems in real applications, built a public lab to work on them, and…
-
You’re Already Doing Most of SOLID.
medium.com Issue #536
SOLID might be the most-written-about topic in software. I almost skipped it in my study plan for exactly that reason.
-
AutoMapper in .NET: When You May Not Need It
medium.com Issue #535
AutoMapper can remove repetitive member-to-member assignments, but it also moves mapping behavior away from ordinary C# code. That trade…
-
Mapsicle 2.1: an MPL-2.0 object mapper, and honest numbers against AutoMapper
baryodev.medium.com Issue #535
AutoMapper is the default object mapper in .NET and has been for over a decade. Since version 15 it ships under the Reciprocal Public…
-
Polymorphic Dependency Injection in .NET: The Complete Guide
medium.com Issue #535
Registering several implementations of one interface is easy. Injecting the correct implementation into each consumer — without service…
-
Abstractions via Interfaces: Decoupling External Services from Business Logic
medium.com Issue #531
Abstraction is the bridge that allows your core application logic to interact with databases and external services without becoming…
-
Pipeline Pattern: A Simple Real-World Example
c-sharpcorner.com Issue #531
When an application needs to perform several steps for the same request, putting everything into one large method can quickly make the code hard to understand and maintain. The Pipeline Pattern is a s...
-
ASP.NET Web Forms to Blazor Migration Guide
faciletechnolab.com Issue #530
How to migrate ASP.NET Web Forms to Blazor page lifecycle mapping, control conversion, state management, authentication, and phased migration strategy.
-
ASP.NET Core Architecture Patterns for High-Growth Software Products
medium.com Issue #530
Most ASP.NET Core projects don’t fail because of bad code, they fail because of those architecture choices that made sense when the…
-
Querying and Performing Transactions Across Multiple Database Schemas in a Modular Monolith
medium.com Issue #530
Building a Modular Monolith gives you clear boundaries between modules, but it also introduces a challenge: how do you query data that… Continue reading on CodeX »
-
Let’s Design Better
levelup.gitconnected.com Issue #530
A .NET BackgroundService with Distributed Systems Principles Continue reading on Level Up Coding »
-
I Spent Two Weeks Trying to Break CommandFlow, the “Pragmatic Alternative” to CQRS and MediatR
topuzas.medium.com Issue #530
A hands-on investigation into whether CommandFlow actually solves the problems it claims to solve, with real code, real comparison numbers…
-
Building a Distributed Task Queue from Scratch in C#
medium.com Issue #529
I started this project with a simple question:
-
Graceful Degradation: Architecting Resilient Enterprise Applications in C#
c-sharpcorner.com Issue #529
Graceful degradation is an architectural pattern that detects component failures and falls back to reduced functionality—ensuring core operations remain available and business continuity is preserved.
-
Event Driven Architecture and Coupling: You’re Not as Decoupled as You Think
codeopinion.com Issue #528
So, you broke apart your monolith. You introduced a message broker. You’re using event driven architecture. Events are flying everywhere. You’re decoupled now, right? But somehow nothing feels any bet...
-
I Ship to Production Every Day. Feature Flags Are Why That’s Safe.
medium.com Issue #528
How I built a code-first feature flag system for trunk-based development — with per-environment state, client-safe filtering, expiry…