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 4 of 19
Browse additional C# and .NET Design Patterns articles from the DotNetNews archive.
C# and .NET Design Patterns articles
Page 4 of 19
Newest first
-
Scratch a simple data model, find a complex one
Jon Skeet's coding Issue #520
I seem to have a knack for discovering corner cases – or in many situations being a corner case. One category of this is where I find myself using a data model which appears simple to start with – and...
-
Microservices with .NET: Architecture Patterns for Enterprise Teams
Medium Issue #519
ASP.NET Application Development Services teams building enterprise platforms in 2026 face a recurring question: when does a monolith stop…
-
What Autofac and Scrutor Are Still For
Medium Issue #519
Every .NET release swallows another reason to install a container. Here’s what’s left for Scrutor, and what still needs Autofac.
-
-
Automated Governance and Dynamic Routing in Enterprise LangGraph RAG
C# Corner Issue #519
Automate RAG tool registration and enforce Pydantic schemas in enterprise LangGraph with Python metaclasses for scalable, secure multi-agent AI.
-
Scaling Business Logic with Rules Engines
blog.xeynergy.com Issue #518
Moving Beyond Complex If/Else Logic with NRules and .NET Continue reading on Xeynergy Blog »
-
The REPR Pattern in Minimal APIs: One Class, One Job
Medium Issue #518
The REPR pattern — Request, Endpoint, Response — is a lightweight architectural convention that fixes this without dragging MVC’s…
-
Understanding Builder Design Pattern in .NET
Medium Issue #517
Object creation is one of the most common tasks in any application. For simple classes, a constructor is usually enough to initialize the…
-
The Many Languages of Data: How .NET Learned to Speak in Formats
Bipin Joshi .NET | Thus said a Byte • Insights on .NET and Web Development Issue #516
It's a Tuesday afternoon and you're debugging a feature that touches four different pieces of data. First, you write a SQL query to pull a customer record from the database. Then you filter an in-memo...
-
A list page in a few lines: a reusable Blazor UI framework with the same discipline as the backend
Medium Issue #516
This series has been backend all the way down. But the front end is where DRY usually goes to die: every list screen re-implements paging…
-
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!