architecture
C# and .NET Design Patterns Articles, Tutorials & News
C# and .NET Design Patterns articles, tutorials, and news from the DotNetNews archive.
442 articles Updated Page 4 of 18
Browse additional C# and .NET Design Patterns articles from the DotNetNews archive.
C# and .NET Design Patterns articles
Page 4 of 18
Newest first
-
Four Focused .NET NuGet Packages for Everyday Development
Medium Issue #516
As .NET applications grow, the same small problems tend to appear again and again.
-
Simple Factory Design Pattern
C# Corner Issue #515
Learn the Simple Factory Pattern: a foundational design pattern for object creation, enhancing maintainability and abstraction in your code.
-
Understanding IoC, DIP, and Dependency Injection — The Right Way
Medium Issue #514
Whenever we hear the terms IoC (Inversion of Control), DIP (Dependency Inversion Principle), and Dependency Injection (DI), they often…
-
Understanding IoC, DIP, and Dependency Injection — The Right Way
C# Corner Issue #514
Demystify IoC, DIP, and Dependency Injection. Understand their purpose, differences, and how they work together with a clear mobile phone example.
-
Building Idempotent ASP.NET Core APIs for Distributed Systems
C# Corner 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# Corner 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 Issue #513
Identifying Temporal Coupling and Refactoring It Step-by-step
-
Demystifying the Factory Pattern in Modern C#
C# Corner 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 Issue #512
CommandFlow — Part1 CommandFlow — Part2
-
Day 6: The Bug That Changed How I Write Code
Medium 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 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 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 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 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# Corner 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 Issue #509
The lifetime bug your compiler won’t catch.
-
Feature Flags in .NET: Safe Deployments Without Risk
C# Corner 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 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 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 Issue #509
The problem with traditional .NET Architecture
-
Notifications as a vertical slice: in-app inbox, real-time push, native push, and email
Medium Issue #509
A framework is mostly horizontal layers and abstract base classes.
-
You Probably Don’t Need MediatR
Medium 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 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# Corner Issue #508
Master MediatR in ASP.NET Core! Learn patterns, avoid common mistakes, and build maintainable, decoupled applications.