Solid Principles - Curated .NET Articles & Tutorials
Curated .NET news, articles, and tutorials about Solid Principles, drawn from .NET News Daily issues.
43 curated issues
The SOLID Principles — A Developer’s Guide That Won’t Put You to Sleep
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” — Martin Fowler
Issue also covered: ASP.NET Core, C#, Design Patterns, ML.NET, Performance, Security, SQL Server
Read this issue →Abstractions That Heal, Abstractions That Harm
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 ...
Issue also covered: ASP.NET Core, Azure, CQRS, C#, Design Patterns, .NET 10, .NET Framework, GitHub Copilot
Read this issue →Refactoring to SOLID in C#
It aims to provide C# developers with practical techniques and strategies to tackle the unique challenges of working in legacy codebases, such as dealing with technical debt, modernizing outdated depe...
Issue also covered: Azure, Clean Architecture, C#, .NET 10, EF Core, FluentValidation, GitHub Copilot, JWT
Read this issue →How to Write Clean Code in C# Using Naming Conventions and Best Practices?
Master C# clean code: naming conventions, best practices, and SOLID principles. Write readable, maintainable, and scalable .NET applications. Improve team collaboration!
Issue also covered: Clean Architecture, C#, EF Core, Performance, Visual Studio Code
Read this issue →Mastering SOLID Principles: Writing Maintainable C# Code
Reading time: ~8 minutes
Issue also covered: ASP.NET Core, C#, .NET 10, .NET Core, EF Core, GitHub Copilot, Native AOT, Performance
Read this issue →Refactoring a Membership Calculator in C# Using SOLID Principles
From instanceof / if chains to Clean OOP Design
Issue also covered: ASP.NET Core, Authentication, Authorization, Clean Architecture, C#, .NET Core, Performance, Redis
Read this issue →Combining the Factory and Strategy Patterns
Download full source code. I was recently talking with a friend about the factory and strategy patterns, how they could be used together. He was familiar with the factory, but not the strategy. The ...
Issue also covered: ASP.NET Core, Authentication, Azure, Clean Architecture, C#, Design Patterns, .NET 10, .NET Core
Read this issue →SOLID Principles Explained the Way I Wish They Had Been Explained to Me
SOLID only started to make sense when I saw real code improving. So in this article, I’m not going to explain SOLID traditional.
Issue also covered: AOT, ASP.NET Core, C#, .NET 10, EF Core, Performance, Web API
Read this issue →Write Code for Humans First, Machines Second
In my career so far, I’ve worked with two kinds of .NET projects. Both were production systems, business-critical, and written in C#. Yet…
Issue also covered: .NET Aspire, Authentication, Authorization, Azure Functions, C#, .NET 9, FluentValidation, Performance
Read this issue →From .NET to AI: How a C# Developer Is Building Intelligent Enterprise Applications
For almost a decade, my world revolved around .NET, C#, APIs, databases, and distributed systems. Clean architecture, SOLID principles…
Issue also covered: ASP.NET Core, Authentication, Azure, Clean Architecture, Cosmos DB, C#, Domain-Driven Design, Design Patterns
Read this issue →How To Use The Specification Design Pattern in .NET 9
If you want the full source code, download it from this link: https://www.elitesolutions.shop/
Issue also covered: ASP.NET Core, Azure, Clean Architecture, C#, Dapper, Domain-Driven Design, Design Patterns, .NET 10
Read this issue →SOLID Principles: A Practical Guide (with C# Examples)
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” ~ Martin Fowler
Issue also covered: ASP.NET Core, Authentication, Azure, C#, Dapper, .NET 9, JWT, OAuth
Read this issue →SOLID Principles in C#: Building Software That Lasts
Unlock the secrets to robust and maintainable C# code with the SOLID principles! This article introduces the five fundamental design guidelines (SRP, OCP, LSP, ISP, DIP) that every C# developer should...
Issue also covered: Application Insights, AutoMapper, Azure, Azure Functions, Clean Architecture, Domain-Driven Design, Design Patterns, Docker
Read this issue →Domain Validation in Domain-Driven Design: Keeping Your Models Always Valid
If you’ve ever had a bug like “a cart item with a negative price” or “an order shipped without confirmation”, you already know the pain of…
Issue also covered: Application Insights, ASP.NET Core, AutoMapper, Azure, Clean Architecture, CQRS, C#, Dapper
Read this issue →Single Responsibility Principle (SRP) in C#: One Class, One Job
Unlock the power of clean code with the Single Responsibility Principle (SRP) in C#! This article provides a practical guide to understanding and applying SRP, the cornerstone of SOLID principles. Lea...
Issue also covered: ASP.NET Core, Authentication, Authorization, Azure, Azure Functions, Clean Architecture, Cosmos DB, CQRS
Read this issue →SOLID Principles Cheat Sheet 🚀
Master the SOLID principles of object-oriented design with this cheat sheet! Learn Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion principles. ...
Issue also covered: .NET Aspire, Blazor, C#, Design Patterns, .NET 10, EF Core, GitHub Copilot, OpenAI
Read this issue →Writing Future-Proof C# Code: How to Build Software That Lasts
Most developers write code to make something work. But great developers write code to make something last.
Issue also covered: Application Insights, ASP.NET Core, Azure, Clean Architecture, C#, Domain-Driven Design, Docker, .NET 9
Read this issue →C# and .NET: A Hands-On Guide to Repository + Unit of Work Pattern
1) Why Repository? Why Unit of Work?
Issue also covered: ASP.NET Core, Authentication, Authorization, Azure, Blazor, Clean Architecture, C#, .NET Core
Read this issue →Clean Architecture with .NET
https://medium.com/@michaelmaurice410/clean-architecture-with-net-3caa275e3398
Issue also covered: ASP.NET Core, Authentication, Azure, Clean Architecture, C#, EF Core, MediatR, Minimal APIs
Read this issue →🍁Mastering SOLID Principles in Real-World .NET Projects
https://www.c-sharpcorner.com/article/mastering-solid-principles-in-real-world-net-projects/
Issue also covered: ASP.NET Core, Authentication, Azure, C#, .NET Core, JWT, OpenAI, Performance
Read this issue →Applying SOLID in .NET: Principles for Long-Term Codebase Health
https://blog.stackademic.com/applying-solid-in-net-principles-for-long-term-codebase-health-c45bdaef6c9c
Issue also covered: ASP.NET Core, Authentication, Azure, C#, .NET Core, EF Core, JWT, .NET MAUI
Read this issue →The Single Responsibility Principle, Demystified
https://levelup.gitconnected.com/the-single-responsibility-principle-demystified-e437a2454625
Issue also covered: CQRS, C#, Design Patterns, .NET 10, GitHub Copilot, OpenAI, OpenTelemetry, Performance
Read this issue →Understanding SOLID Principles with simple Console App in .NET
https://www.c-sharpcorner.com/article/understanding-solid-principles-with-simple-console-app-in-net/
Issue also covered: ASP.NET Core, C#, Dapper, .NET Core, Minimal APIs, Performance, Security
Read this issue →Reusable Code Snippets I Copy Into Every New Project
https://medium.com/@kittikawin_ball/reusable-code-snippets-i-copy-into-every-new-project-c9a759c5468a
Issue also covered: ASP.NET Core, Azure, C#, Design Patterns, .NET Core, EF Core, GitHub Copilot, Minimal APIs
Read this issue →SOLID Principles in C# — In-Depth Guide with Real World Examples
https://medium.com/@hpultimatemedia/solid-principles-in-c-in-depth-guide-with-real-world-examples-7017f3dc7a29
Issue also covered: Azure, Azure Functions, C#, .NET 10, .NET 9, Performance, Security, Source Generators
Read this issue →Code Smell 298 — Microsoft Windows Time Waste
https://levelup.gitconnected.com/code-smell-298-microsoft-windows-time-waste-41e0074689a2
Issue also covered: Application Insights, Azure, Azure Functions, C#, Domain-Driven Design, Design Patterns, .NET 8, .NET 9
Read this issue →Mastering the Interface Segregation Principle (ISP) in C# with Examples
https://medium.com/@mishra.pankaj/mastering-the-interface-segregation-principle-isp-in-c-with-examples-b5d8d6e03e05
Issue also covered: ASP.NET Core, .NET Aspire, Blazor, C#, .NET 9, EF Core, JWT, OpenAI
Read this issue →Think Your C# Repository Pattern Is Clean? Think Again…
https://medium.com/@ganesh.s.gurav/think-your-c-repository-pattern-is-clean-think-again-95cb1d85d99a
Issue also covered: .NET Aspire, Azure, Azure Functions, Blazor, C#, .NET 9, EF Core, GitHub Copilot
Read this issue →Understanding the Dependency Inversion Principle (DIP) in SOLID Design
https://www.c-sharpcorner.com/article/understanding-the-dependency-inversion-principle-dip-in-solid-design/
Issue also covered: ASP.NET Core, Blazor, C#, Design Patterns, .NET 8, .NET 9, Native AOT, Performance
Read this issue →Mastering SOLID Principles in Software Design
https://www.csharp.com/article/mastering-solid-principles-in-software-design/
Issue also covered: ASP.NET Core, Azure, C#, Design Patterns, EF Core, GitHub Copilot, .NET MAUI, Performance
Read this issue →Single Responsibility - SOLID
https://medium.com/@yilmaz.my/single-responsibility-solid-446866228ddc
Issue also covered: ASP.NET Core, Azure DevOps, Benchmarking, Blazor, CQRS, C#, .NET 9, GitHub
Read this issue →C# Spread Operator: Concise Code, Maximum Impact!
https://medium.com/@nagarajvela/c-spread-operator-concise-code-maximum-impact-2906d947deec
Issue also covered: ASP.NET Core, .NET Aspire, Azure, C#, .NET 9, .NET Core, EF Core, .NET MAUI
Read this issue →Detailed Explanation of Use of Private Class vs Private Method
https://www.csharp.com/article/detailed-explanation-of-use-of-private-class-vs-private-method/
Issue also covered: ASP.NET Core, .NET Aspire, Authentication, Benchmarking, Blazor, C#, .NET 8, .NET 9
Read this issue →