Specification Pattern in C#: A Practical Guide for Modern .NET
Understand the Specification Pattern in C#, distinguish domain rules from query criteria and query envelopes, and decide when it fits a modern .NET design.
C# and .NET by Nick Cosentino
Practical, in-depth content for software engineers and technical leaders. Learn C#, .NET, software architecture, AI-assisted development, and engineering leadership with guidance you can apply on your team today.

The latest articles on software engineering, architecture, AI, and career growth.
Understand the Specification Pattern in C#, distinguish domain rules from query criteria and query envelopes, and decide when it fits a modern .NET design.
Learn a stable architecture for RAG and embeddings in .NET, connecting ingestion, retrieval, citations, authorization, evaluation, observability, and deletion.
Optimize NLog performance in .NET with AsyncWrapper, BufferingWrapper, and high-throughput logging patterns. Includes benchmarks, async configuration, and production tuning tips.
Learn how NLog rules and filters work in .NET. Covers rule matching by logger name and level, final rules, writeTo routing, when filters, and silencing noisy Microsoft.* logs.
Go deeper into the core topics on Dev Leader, from .NET and AI to software engineering and career growth.