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 3 of 18
Browse additional C# and .NET Design Patterns articles from the DotNetNews archive.
C# and .NET Design Patterns articles
Page 3 of 18
Newest first
-
I keep seeing developers use Dependency Injection without really understanding what ASP.NET
Medium Issue #524
Stop Memorizing Dependency Injection in ASP.NET Core. Understand How It Actually Works.
-
Adding Parameters to C# Methods Without Breaking Existing Code
C# Corner Issue #524
Learn how to add parameters to C# methods without breaking existing code using extension methods for seamless API evolution.
-
Building Resilient Long-Running .NET Workflows with Durable Execution
C# Corner Issue #521
Build resilient long-running .NET workflows with AWS Lambda Durable Execution using checkpoints, callbacks, waits, retries, and recovery for reliable distributed processing.
-
The Lazy Engineer’s Blueprint
Medium Issue #521
Why I stopped re-deciding the same twenty things on every .NET Web API, the four-move contract, and the map of the whole series.
-
Building Durable .NET Workflows with AWS Lambda Durable Execution
C# Corner Issue #521
Build resilient .NET workflows on AWS Lambda with Durable Execution. Manage state, retries, and long waits directly in C# code.
-
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.