Thread Pool Debugging, Union Types and API Load Tests
Explore AI-assisted dump and WinDbg analysis, NBomber performance thresholds, PDF barcode extraction, and polling techniques for ASP.NET.
Jasen's top three picks
- 1 5 Coding Patterns That Change How You Write Code
Medium
A reminder that maintainability deserves attention even when the code works today.
- 2 Diagnosing thread pool starvation from a .NET dump with an AI agent
Meziantou's blog
Idle CPU does not rule out a serious throughput problem; this dump walkthrough shows where to look.
- 3 How to Extract Barcodes from PDFs in C#
Medium
A practical C# example for pulling barcodes from PDF documents.
Editor's note
I’ve curated a varied mix of diagnostics, language design, API testing, and practical C# examples. The thread pool starvation walkthrough is worth reading because an application can be painfully slow while its CPU sits idle. I’m also interested in the union-types article’s comparison with the Result pattern; it puts a familiar design choice under a new lens.
Today's articles
5 Coding Patterns That Change How You Write Code
Medium
Code can work perfectly today and still be difficult to maintain tomorrow.
Topics: Design Patterns
Read articleDiagnosing thread pool starvation from a .NET dump with an AI agent
Meziantou's blog
Thread pool starvation does not hang the application, it makes it slow, and it makes it slow in a way that no profiler flags: the CPU is idle, no query is slow, and every individual operation looks fi...
Topics: .NET Core Performance
Read articleHow to Extract Barcodes from PDFs in C#
Medium
To extract barcodes from PDFs in C#, add the Apryse Server SDK for .NET to your project, download the Barcode Extraction Module into the…Continue reading on Apryse »
Topics: C#
Read articleDebugging a running .NET application with WinDbg and an AI agent
Meziantou's blog
Every post in this series so far started from a file: a dump, a gcdump, a trace. That works as long as the answer is in memory at the moment the file is written. Some answers never are. A dump can sho...
Read articleLoad Testing ASP.NET Core APIs with NBomber: From Concurrent Users to Performance Thresholds
Medium
What is NBomber?
Topics: ASP.NET Core Benchmarking Performance
Read articleAnalyzing a .NET crash dump with an AI agent
Meziantou's blog
A container restarted during the night, and this is everything the log has: Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object. at Program.<<...
Topics: .NET Core
Read article.NET 11 Zstandard: Finish the Stream Before You Read Its Bytes
Medium
A small compression example with an explicit handoff and a round-trip check.
Topics: C#
Read articleCan C# 15 Union Types Replace the Result Pattern?
Milan's .NET Weekly
C# 15 union types can replace the Result pattern. A generic union Result (T, Error) works like the Result class, and a generic validation decorator keeps…
Topics: C# Design Patterns
Read article