architecture
C# and .NET Design Patterns Articles, Tutorials & News
C# and .NET Design Patterns articles, tutorials, and news from the DotNetNews archive.
452 articles Updated Page 9 of 19
Browse additional C# and .NET Design Patterns articles from the DotNetNews archive.
C# and .NET Design Patterns articles
Page 9 of 19
Newest first
-
6 Pillars of code quality
towardsdev.com Issue #443
I’ve recently been reading ‘Good Code, Bad Code’ by Manning, and the section on the 6 Pillars of Code Quality really resonated with me. I… Continue reading on Towards Dev »
-
-
Dependency Injection as a Practice of Surrender
Bipin Joshi .NET | Thus said a Byte • Insights on .NET and Web Development Issue #443
In the early stages of a developer’s journey, there is a natural inclination toward control. We construct our dependencies explicitly, wire objects together manually, and take comfort in knowing exact...
-
Abstractions That Heal, Abstractions That Harm
Bipin Joshi .NET | Thus said a Byte • Insights on .NET and Web Development Issue #440
Every non-trivial software system rests on a foundation of abstractions. In the world of .NET and ASP.NET, abstractions are not merely language features or framework conveniences—they are the primary ...
-
Do You Still Need the Repository Pattern in Modern .NET?
Medium Issue #440
In modern .NET development, it’s becoming increasingly common to question long-established patterns. One of them is the Repository Pattern…
-
-
Unit of Work Pattern Explained Simply in .NET
Medium Issue #430
When building applications that interact with a database, it is common to perform multiple operations as part of a single business process…
-
Captive Dependency in .NET: The Complete Guide to Understanding, Detecting, and Fixing It
Medium Issue #430
Introduction
-
Entity vs DTO vs ViewModel in ASP.NET Core: What Every .NET Developer Must Know
Medium Issue #428
Early in my career building enterprise .NET applications, I made a mistake I see constantly in code reviews and mock interviews: I…
-
Why .NET Still Powers the Backbone of Modern Enterprise Software in 2026
Medium Issue #428
Introduction
-
The Real Cost of Rewriting vs. Integrating
Medium Issue #428
Why most “quick rewrites” take 3x longer than bridging — and what the data actually says.
-
What Is the Repository Pattern in C# and How to Implement It Step by Step?
C# Corner Issue #428
Learn the Repository Pattern in C# step-by-step! Discover how to separate data access logic, improve code maintainability, and build scalable ASP.NET Core apps.
-
Implementing the Inbox Pattern for Reliable Message Consumption
Milan's .NET Weekly Issue #428
The Outbox pattern guarantees reliable publishing. But what about the consumer side? The Inbox pattern ensures each incoming message is processed exactly once, even when the broker retries or delivers...
-
Building a Distributed Workflow Orchestration Engine in .NET
Medium Issue #428
I’ve been working on sharpening my backend architecture skills lately, and I wanted to build something small — but real, Something…
-
I Added Resilience to My .NET App. It Started Sending Duplicate Orders.
Medium Issue #426
A production war story that every .NET developer needs to read — from junior to architect.
-
Implementing Distributed Locks in .NET
Medium Issue #426
A practical approach to coordinating work across multiple instances — without adding unnecessary infrastructure
-
Interface vs Abstract Class in C# — What They Really Mean [Part 3]
Medium Issue #426
Part 3: ⚽ Sports Betting Platforms
-
Designing Undo & Redo features
Medium Issue #419
In the era of modern cloud-native application design, many powerful and time-tested design patterns are often overlooked due to the focus…
-
Multiple DbContext in EF Core 10 - Scenarios, Setup & Migrations
codewithmukesh Issue #419
When and how to use multiple DbContext in EF Core 10. Multi-database setup, schema separation, migrations, transactions, and modular monolith patterns.
-
The "Vibe Coding" Delusion: When AI Models and Rapid Tools Build Toys, Not Tools
C# Corner Issue #417
Vibe coding creates impressive demos, but lacks the robustness of engineered systems. Learn why architectural literacy and professional prompting are crucial for real-world applications.
-
Repository Design Pattern in ASP .NET
Medium Issue #417
The Repository Design Pattern is a widely used pattern in software development. It separates the Data Access layer from Controller Layer…
-
The Sinking Ship: Protecting .NET Microservices with the Bulkhead Pattern
Microsoft Dev Blogs Issue #409
A practical guide to isolating resources and preventing cascading failures in distributed systems using Polly.
-
The Diamond Problem and Why Interfaces are the Solution
Medium Issue #409
Object-oriented programming is full of elegant ideas… and subtle traps. One of the most famous is the Diamond Problem, a classic ambiguity…
-
-
Why I Replaced Microsoft’s DI Container — And Never Looked Back
Medium Issue #408
DryIoC delivers what the built-in container promises but can’t keep: speed, flexibility, and control over complex dependency graphs.