architecture
C# and .NET Design Patterns Articles, Tutorials & News
C# and .NET Design Patterns articles, tutorials, and news from the DotNetNews archive.
432 articles Updated Page 8 of 18
Browse additional C# and .NET Design Patterns articles from the DotNetNews archive.
C# and .NET Design Patterns articles
Page 8 of 18
Newest first
-
-
Dependency Injection in .NET: A Deep Dive into Design and Lifetimes.
Medium 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 Issue #447
I have a confession to make.
-
The SOLID Principles — A Developer’s Guide That Won’t Put You to Sleep
Medium 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
Bipin Joshi .NET | Thus said a Byte • Insights on .NET and Web Development 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
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.