.NET
.NET is Microsoft's free, open-source developer platform for building web, mobile, desktop, and cloud applications.
13 articlesModern C# Features That Improve Code Readability — Clean Code
2026/04/21·10 min readUse modern C# features like records, pattern matching, collection expressions, and primary constructors without sacrificing maintainability.
C# Testing and Testability for Maintainable Systems — Clean Code
2026/04/14·9 min readWrite cleaner C# code by designing for testability and focusing tests on behavior using AAA and descriptive naming.
C# Code Smells and Refactoring Patterns That Matter — Clean Code
2026/04/09·11 min readIdentify common C# code smells and apply practical refactoring patterns to improve readability, safety, and maintainability.
C# Class Design and SOLID Principles in Real Projects — Clean Code
2026/03/29·10 min readLearn how to apply SRP, dependency inversion, and composition in C# to build maintainable, extensible production services.
C# Naming Conventions and Method Design — Clean Code
2026/03/22·9 min readPractical C# naming conventions and method design rules that improve readability and reduce bugs in production code.
C# Clean Code Roadmap: A Practical Guide to Production-Quality Code
2026/03/18·5 min readStart here for a practical C# clean code series focused on naming, methods, SOLID, error handling, testing, and modern C# features.
C# ValueTask vs Task in Three-Tier APIs — When to Use Each
2026/03/02·16 min readUnderstand when to use Task vs ValueTask in ASP.NET Core three-tier APIs, with practical examples for cache-heavy, always-I/O, and batch aggregation scenarios.
C# Primary Constructor vs Legacy Constructor for Dependency Injection
2026/02/15·5 min readCompare the new C# primary constructor syntax with the traditional constructor-based dependency injection pattern. Learn when to use each, with practical code examples.
C# Testing with MSTest In-Depth
2025/10/15·12 min readLearn MSTest fundamentals, attributes, and patterns for robust unit testing in C# applications. Includes practical examples and best practices.
C# Testing In-Depth
2025/05/05·16 min readMaster xUnit, Moq, FluentAssertions, and integration testing patterns for building robust, maintainable C# applications with comprehensive test coverage.
How to Use C# Enum Flag
2020/12/11·1 min readA quick code snippet showing how to use C# enum flags with the power of two for defining combinable flag values.
.NET Compiler Roslyn
2016/12/31·3 min readFew tips about .NET Compiler Roslyn.
List of Resources to Learn .NET
2016/02/02·1 min readA curated list of resources to learn .NET, including RSS feeds, forums, and other useful links.