architecture
C# and .NET Design Patterns Articles, Tutorials & News
C# and .NET Design Patterns articles, tutorials, and news from the DotNetNews archive.
389 articles Updated Page 2 of 16
Browse additional C# and .NET Design Patterns articles from the DotNetNews archive.
C# and .NET Design Patterns articles
Page 2 of 16
Newest first
-
Simple Factory Design Pattern
c-sharpcorner.com Issue #515
Learn the Simple Factory Pattern: a foundational design pattern for object creation, enhancing maintainability and abstraction in your code.
-
Building Idempotent ASP.NET Core APIs for Distributed Systems
c-sharpcorner.com Issue #513
Build resilient ASP.NET Core APIs for distributed systems by implementing idempotency. Prevent duplicate data with Idempotency-Key, distributed caching, and database constraints.
-
Event-Driven Architecture in .NET Using RabbitMQ
c-sharpcorner.com Issue #513
Build production-ready .NET event-driven architectures with RabbitMQ. Learn core concepts, implementation, and testing for scalable, resilient systems.
-
Temporal Coupling: What Is It and How to Deal With It
medium.com Issue #513
Identifying Temporal Coupling and Refactoring It Step-by-step
-
Demystifying the Factory Pattern in Modern C#
c-sharpcorner.com Issue #512
Master the Factory Pattern in C# to decouple object creation, enhance extensibility, and simplify testing. Avoid tight coupling with 'new'.
-
CommandFlow: A Pragmatic Alternative to CQRS and MediatR — Appendix
medium.com Issue #512
CommandFlow — Part1 CommandFlow — Part2
-
Day 6: The Bug That Changed How I Write Code
medium.com Issue #511
Today wasn’t about learning more C# keywords — it was about understanding how good software handles problems without falling apart.
-
System Design Isn’t About Memorizing Architectures — It’s About Solving Problems
medium.com Issue #511
How to think like a software engineer when designing scalable systems.
-
Mastering the Chain of Responsibility Pattern in C#: From Basics to Advanced Scenarios
medium.com Issue #511
Learn how to implement the Chain of Responsibility pattern in C# with practical examples
-
Modular Monolith First: Why It Beats Microservices on Day One
medium.com Issue #511
Every few weeks someone asks why a new product isn’t “built on microservices.” My honest answer: on day one, you don’t know where your…
-
When to Use Microservices (And When Not To)
codewithmukesh.com Issue #510
A .NET architect's decision guide to microservices: what they actually solve, when to use them, when to avoid them, and why a modular monolith usually wins first.
-
Mastering the Strategy Pattern in Modern C#
c-sharpcorner.com Issue #510
Tired of messy switch statements? Master the Strategy Pattern in C# for modular, testable, and SOLID-compliant code. Refactor your business logic!
-
A Clean Read Replica Routing Pattern for ASP.NET Core - HackerNoon
hackernoon.com Issue #510
A Clean Read Replica Routing Pattern for ASP.NET Core HackerNoon
-
Your DI Container Is Hiding a Bug Right Now ?
medium.com Issue #509
The lifetime bug your compiler won’t catch.
-
Feature Flags in .NET: Safe Deployments Without Risk
c-sharpcorner.com Issue #509
Master .NET feature flags for safe deployments. Learn to implement, manage, and remove them for risk-free rollouts and A/B testing.
-
EF Core Is Already a Repository. Stop Wrapping It in Another One.
medium.com Issue #509
Open a lot of .NET projects and you’ll find the repository pattern sitting on top of Entity Framework Core. IProductRepository, GetById…
-
Modernizing .NET — Part 33: Architecture Patterns We Used Carefully
medium.com Issue #509
Why we used event-driven design, CQRS, and Clean Architecture selectively — and avoided turning migration into a second transformation.
-
CommandFlow: A Pragmatic Alternative to CQRS and MediatR
medium.com Issue #509
The problem with traditional .NET Architecture
-
Notifications as a vertical slice: in-app inbox, real-time push, native push, and email
medium.com Issue #509
A framework is mostly horizontal layers and abstract base classes.
-
You Probably Don’t Need MediatR
medium.com Issue #508
MediatR shows up in a lot of .NET codebases by default now. Someone starts a project, adds it in the first week, and every request goes…
-
How to Build Clean Telegram Bots in .NET 8+ Using the Mediator Pattern and FSM
medium.com Issue #508
Say goodbye to massive switch-case statements and nested if-conditions in your Telegram.Bot update handler.
-
Real-World MediatR Patterns and Common Mistakes in ASP.NET Core
c-sharpcorner.com Issue #508
Master MediatR in ASP.NET Core! Learn patterns, avoid common mistakes, and build maintainable, decoupled applications.
-
Feature Flags in .NET: Ship Dark, Release on Your Terms with Microsoft.FeatureManagement
medium.com Issue #508
Every senior engineer eventually hits the same wall: a feature is code-complete, but the business isn’t ready to expose it, or wants it…
-
Modular Monolith vs Microservices: The .NET Architecture Decision Most Teams Get Wrong
medium.com Issue #507
When starting a new .NET application, one architectural question appears repeatedly:
-
ASP.NET Core Microservices Architecture Guide 2026
faciletechnolab.com Issue #506
A practical guide to ASP.NET Core microservices architecture - service decomposition, communication patterns, data isolation, and deployment on Azure.