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 13 of 18
Browse additional C# and .NET Design Patterns articles from the DotNetNews archive.
C# and .NET Design Patterns articles
Page 13 of 18
Newest first
-
Custom CQRS Without the Mediator: Building a Clean, Extensible Pipeline
Medium Issue #297
The recent announcement about MediatR adopting a commercial license model for larger companies has prompted many teams to re-evaluate its…
-
The Builder Pattern in .NET C#: From Complex Constructors to Fluent APIs (2025)
levelup.gitconnected.com Issue #292
Master Pattern Builder in .NET C#: Evolution from complex constructors to modern fluent APIs with practical examples. Continue reading on Level Up Coding »
-
Dev Containers, Polly, EF Core loading
DotNetNews Issue #289
A varied .NET roundup on onboarding, resilience, EF Core loading, C# 14, Serilog, testing, and Azure cost savings for working developers.
-
CommandResponse: Simplifying Success and Error Handling in C#
C# Corner Issue #274
In modern application development, handling responses consistently is just as important as writing the core business logic. When a method executes, it may succeed and return useful data — or fail and ...
-
Avoiding Overengineering: When NOT to Use a Design Pattern in .NET
Medium Issue #272
Design patterns are like tools in a developer’s toolbox.
-
What are Common Design Patterns in Node.js (Module, Singleton, Factory, etc.)
C# Corner Issue #269
This article explains the most commonly used design patterns in Node.js, such as Module, Singleton, Factory, and others. Each concept is explained in simple words with code examples to help you unders...
-
Common errors to avoid in ASP.NET Core dependency injection
Round The Code Issue #263
Looking at how you can avoid common errors in ASP.NET Core dependency injection like not registering a service and circular dependency. The page Common errors to avoid in ASP.NET Core dependency injec...
-
⚡ CUE + OpenAPI: Declarative API Design for Scalable, Reliable .NET Services
blog.yaseerarafat.com Issue #261
Mastering CUE and OpenAPI for Automated, Reliable Contracts
-
-
Dynamic Service Registration in .NET: A Clean Approach to Dependency Injection
Medium Issue #261
Dependency Injection (DI) is a fundamental part of modern .NET applications, but manually registering dozens or hundreds of services can…
-
Data Formats in .NET: What They Are and How They Look
Medium Issue #261
When I started my first job as a junior developer, one of the first things I saw in the backend codebase was something like this:
-
Why .NET Full Stack Developers Are the Backbone of Enterprise Digital Transformation in 2025
Medium Issue #261
As businesses accelerate toward digital-first strategies in 2025, the demand for skilled professionals who can architect, build, and scale…
-
Trigger, Render, Deliver: Email Templates Made Easy with DotLiquid & EasyLaunchpad
Medium Issue #261
Email is one of the most vital — yet frustrating — parts of any SaaS product. Whether it’s sending a password reset, welcome message, or…
-
Performance Benchmarking: .NET 9 vs Previous Versions
Medium Issue #261
If you want the full source code, download it from this link: https://www.elitesolutions.shop/
-
When Lifetimes Collide: A C# Developer’s Journey Through Transient, Scoped & Singleton
Medium Issue #252
https://medium.com/@brian.moraboza/when-lifetimes-collide-a-c-developers-journey-through-transient-scoped-singleton-40c88ec1afe2
-
Database Migration Strategies
codeopinion.com Issue #252
https://codeopinion.com/database-migration-strategies/
-
5 .NET Tips That Instantly Make Your Code Look Senior-Level
Medium Issue #252
https://medium.com/@freakyali/5-net-tips-that-instantly-make-your-code-look-senior-level-3b381895cf85
-
C# Reflection Explained with Real Code Examples
C# Corner Issue #252
https://www.c-sharpcorner.com/article/c-sharp-reflection-explained-with-real-code-examples/
-
Crafting Your Own Dependency Injection Container in C#-A Developer’s Journey
Medium Issue #249
https://medium.com/@bhargavkoya56/crafting-your-own-dependency-injection-container-in-c-a-developers-journey-bd255633dd5f
-
Using Result<T> or OneOf<T> for Better Error Handling in .NET
elmah.io Blog - .NET Technical tutorials/guides and new features Issue #249
https://blog.elmah.io/using-result-t-or-oneof-t-for-better-error-handling-in-net/
-
The Basic Principles of Good UI Design
C# Corner Issue #249
https://www.c-sharpcorner.com/article/the-basic-principles-of-good-ui-design/
-
The Missing Pattern in Your .NET Microservices: Queue-Based Load Leveling
Medium Issue #247
https://medium.com/@mohsho10/the-missing-pattern-in-your-net-microservices-queue-based-load-leveling-a8dcf1fd3f6e
-
How Akka.NET Actors Live and Die: Lifecycle Basics for C# Developers
Medium Issue #247
https://medium.com/@kittikawin_ball/how-akka-net-actors-live-and-die-lifecycle-basics-for-c-developers-b0f6fcdaed73
-
Understanding the Memento Pattern for Undo/Redo Functionality with C# Example
Medium Issue #247
https://medium.com/@kittikawin_ball/understanding-the-memento-pattern-for-undo-redo-functionality-with-c-example-b72513517fe4
-
GetService or GetRequiredService in IServiceProvider?
Round The Code Issue #245
https://www.roundthecode.com/dotnet-tutorials/getservice-or-getrequired-service-in-iserviceprovider