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 Page 4 of 14
Browse additional C# and .NET Design Patterns articles from the DotNetNews archive.
C# and .NET Design Patterns articles
Page 4 of 14
Newest first
-
Repository Pattern in .NET 10 - Do You Really Need It?
codewithmukesh.com Issue #463
I have shipped 50+ .NET APIs and most did not need a Repository Pattern. My sharp .NET 10 verdict on when to use it, when to skip it, what to use instead.
-
I stopped using 6 design patterns in C#
medium.com Issue #461
I used to be a design pattern evangelist. Factory classes everywhere. Singletons for shared services. Visitors for traversing object trees…
-
Repository Pattern in C#: Complete Guide with Generic Repository and Real-World Examples
medium.com Issue #453
When developers start building applications using ASP.NET
-
The Observer Pattern in .NET — Events, Streams, and Awareness
binaryintellect.net Issue #453
In software systems, state changes constantly—but the real challenge lies in propagating those changes to the right parts of the system without creating tight coupling. The Observer Pattern addresses ...
-
-
Dependency Injection in .NET: A Deep Dive into Design and Lifetimes.
medium.com Issue #447
When I first learned Dependency Injection (DI), it felt like just another concept to memorize. We know the basic usage pattern of…
-
I Thought I Knew Backend Development Until I Couldn’t Answer These 50 Questions
medium.com Issue #447
I have a confession to make.
-
The SOLID Principles — A Developer’s Guide That Won’t Put You to Sleep
medium.com Issue #447
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” — Martin Fowler
-
ASP.NET, Factory Patterns, and the Illusion of Control
bipinjoshi.net Issue #447
In the world of ASP.NET and .NET, there is a quiet but persistent instinct: the desire to control how things come into existence. Object creation, in particular, feels like something that must be care...
-
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
binaryintellect.net 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
binaryintellect.net 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?
muhammadirwanto.medium.com 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
malshikay.medium.com 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.com Issue #430
Introduction
-
Entity vs DTO vs ViewModel in ASP.NET Core: What Every .NET Developer Must Know
medium.com 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.com Issue #428
Introduction
-
The Real Cost of Rewriting vs. Integrating
medium.com 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-sharpcorner.com 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
milanjovanovic.tech 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.com 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.com Issue #426
A production war story that every .NET developer needs to read — from junior to architect.
-
Implementing Distributed Locks in .NET
medium.com Issue #426
A practical approach to coordinating work across multiple instances — without adding unnecessary infrastructure