Quick lessons · practical checkpoints

Quick .NET Lessons from Experience

Short, focused lessons for code reviews, debugging and everyday engineering decisions. Each lesson gives you one idea to recognise, discuss and apply without turning it into a full-length mentoring article.

Short enough for a breakCode-backed examplesOne memorable takeaway
Lesson library

Small ideas that improve real code

Need a deeper guide? Visit the Journal →
ASP.NET Core and AI12 min read · 20 August 2026

Structured Outputs and Tool Calling in ASP.NET Core: The Model Requests, Your Code Decides

Understand how typed structured outputs and tool calling connect an AI model to an ASP.NET Core application without surrendering authorization, validation or business control.

ASP.NET Core structured output.NET tool callingfunction calling C#Microsoft.Extensions.AIJSON Schema
Read quick lesson →
ASP.NET Core and AI10 min read · 20 August 2026

Prompt Engineering for ASP.NET Core Developers: Treat the Prompt as a Contract

Learn how to design clear, testable prompts for ASP.NET Core applications using explicit tasks, trusted context, output contracts, uncertainty rules and application-enforced security.

prompt engineering for ASP.NET CoreASP.NET Core AIC# prompt templatesAzure OpenAI promptsMicrosoft Foundry
Read quick lesson →
SQL Server Performance11 min read · 19 August 2026

SQL Server Indexes: Make Reads Faster Without Making Writes Expensive

Learn how clustered, nonclustered, covering and filtered indexes help SQL Server avoid unnecessary work—and why every new index must justify its storage and write cost.

SQL Server indexesclustered indexnonclustered indexcovering indexfiltered index
Read quick lesson →
SQL Server Performance13 min read · 19 August 2026

How SQL Server Executes a Query: Read the Plan as Data Flow

Understand SQL Server scans, seeks, lookups, aggregates, join algorithms, parallel exchanges and update protection by reading execution plans as flows of rows rather than isolated icons.

SQL Server execution planSQL Server execution engineindex seek vs scankey lookupNested Loops Join
Read quick lesson →
Distributed .NET Architecture14 min read · 18 August 2026

Distributed .NET Systems: Every Boundary Has a Cost

Understand CQRS, event sourcing, idempotent messaging, the transactional outbox, Azure Functions, Durable Functions, containers and infrastructure as code without hiding the cost of distribution.

distributed .NET systemsCQRSevent sourcingtransactional outboxidempotent messaging
Read quick lesson →
ASP.NET Core Responsiveness13 min read · 18 August 2026

Responsive ASP.NET Core Applications: Do Less Work and Keep Users Moving

Improve application responsiveness by shortening the critical path, caching safely, virtualising large data sets, using SignalR appropriately and moving reliable background work out of the user's wait.

ASP.NET Core performanceresponsive applicationsIMemoryCacheHybridCacheoutput caching
Read quick lesson →
ASP.NET Core Performance12 min read · 18 August 2026

Async I/O in C# and ASP.NET Core: Stop Wasting Threads While Waiting

Learn the difference between CPU-bound and I/O-bound work, then improve ASP.NET Core scalability with async APIs, cancellation, streaming, HttpClient reuse and smaller payloads.

C# async awaitASP.NET Core performanceasynchronous I/OI/O-bound workHttpClient reuse
Read quick lesson →
C# Collections & LINQ10 min read · 18 August 2026

C# Collections and LINQ Performance: Choose the Right Data Shape

Choose between List<T>, Dictionary<TKey,TValue>, HashSet<T> and frozen collections, then avoid hidden LINQ costs from unnecessary materialisation and repeated enumeration.

C# collections performanceLINQ performanceList<T>Dictionary<TKey,TValue>HashSet<T>
Read quick lesson →
C# Resource Management9 min read · 18 August 2026

C# Garbage Collection, Dispose and Native Resources Explained

Understand when .NET garbage collection is enough, when to use Dispose and IDisposable, how resource ownership works, and where finalizers, SafeHandle, P/Invoke and LibraryImport fit.

C# garbage collectionIDisposableDisposeusing statementdeterministic cleanup
Read quick lesson →
C# Performance7 min read · 18 August 2026

Create, Copy or View? A C# Performance Code Review Habit

A quick C# code-review checkpoint for spotting allocations, value copies, reference copies, boxing and opportunities to view existing memory with Span<T>.

C# performance.NET allocationsvalue typesreference typesboxing
Read quick lesson →

Quick lesson or detailed guide?

Quick Lessons capture one useful engineering checkpoint. The Journal remains the place for complete mentoring guides, architecture walkthroughs and long-form study material.