performance
.NET Profiling and Diagnostics Articles, Tutorials & News
.NET Profiling and Diagnostics articles, tutorials, and news from the DotNetNews archive.
43 articles Updated
.NET Profiling and Diagnostics work shows up across many DotNetNews issues because teams keep hitting the same implementation questions. .NET Profiling and Diagnostics is how .NET teams reason about runtime cost, startup, and throughput once the feature work is done.
Recurring subtopics in recent issues include .NET profiling, dotnet-trace, diagnostics .NET, and memory profiling C#. When a subtopic never appears in the archive titles or excerpts, it is left out of this introduction.
Expect publisher tutorials, release notes, architecture write-ups, and field notes linked from DotNetNews issues. Start here is a short editorial shortlist for .NET Profiling and Diagnostics; the archive list is chronological and larger. Secondary angles such as .NET profiling and dotnet-trace appear when the archive actually covered them. Cross-links to .NET Performance and Optimization and .NET Benchmarking and BenchmarkDotNet help when the problem spans more than one tag.
Each card points at the original publisher URL and the DotNetNews issue that carried it, so you can read the article in context or jump straight to the source.
Start here
Editor picks for Profiling
-
AI-Driven Performance Profiling for ASP.NET Core Applications
C# Corner Issue #493
Profiling advice wrapped in AI language is only useful if the recommendations are actionable; still, performance tooling is always relevant.
-
Mastering .NET Interviews – Part 9: Testing & Performance
C# Corner Issue #487
Testing and performance together makes sense. Those are two areas interview prep can actually reinforce day-to-day practice.
-
New Debugging and Profiling Features in Visual Studio (v17.13)
Microsoft Dev Blogs Issue #151
Visual Studio 17.13’s debugging and profiling upgrades are worth a look.
-
Threading on Thin Ice: Demystifying the .NET ThreadPool and avoiding starvation
Medium Issue #502
Worth reading if you've ever seen mysterious latency spikes. ThreadPool starvation is still a very real production problem.
-
Memory discipline and GC awareness in .NET
C# Digest Issue #500
One of the more practically valuable reads here. Memory pressure and GC behavior still separate smooth apps from spiky ones.
-
How to Write the Fastest Code with BenchmarkDotNet in C# in the AI Era
Medium Issue #495
A welcome emphasis on BenchmarkDotNet and profiling discipline, especially when AI-generated optimizations need verification.
-
The .NET Host Process: What Runs Before Main() and Why It Sometimes Hangs
dotNetTips.com Issue #491
Pre-Main behavior is easy to ignore until startup hangs. This is a useful troubleshooting-oriented explainer.
-
.NET R&D Digest (June, 2026)
WordPress Issue #490
Oleg’s digest is consistently eclectic and deep, especially when you want internals-adjacent reading beyond product announcements.
Archive
Page 1 of 2
Newest first
-
Creating a memory dump in C#
C# Digest - [email protected] (Jakub Chodounsky) Issue #558
when an app crashes or hangs, logs alone often don't reveal the whole story
-
Creating a memory dump in C#
Microsoft Dev Blogs - Aaron Powell Issue #554
When applications crash in production, how much do we actually know about what happened? And more importantly, how easy is it to debug what happened so that we can fix the bug? Let's learn how easy it...
-
No, really, you need to pass all unhandled messages to DefWindowProc, part 2
Microsoft Dev Blogs - Raymond Chen Issue #551
A customer reported a memory leak in Windows that occurred when they called RegisterDragDrop followed by RevokeDragDrop. They included a time travel trace of a sample program that demonstrated the...
-
Today I will... debug a production crash
Microsoft Dev Blogs - Aaron Powell Issue #551
We've all experienced this, the desktop application is hanging, the window is greyed out, and we're just waiting for it to start to respond. Or we're on a website and are sure that it was going to loa...
-
Today I will... find hidden latency across a distributed .NET application
Microsoft Dev Blogs Issue #540
When a distributed application feels slow, the user sees one delay. The code behind that delay may run across a web frontend, backend services, databases, and external APIs. If you profile only the fr...
-
Improving Performance in .NET Applications
YouTube Issue #527
We all want to write fast code. But writing code that performs well doesn’t come for free. Developers must be cognizant of what their code will do when it is executed, and what tools to use when you w...
-
Reading ETW events and diagnosing production issues
Medium Issue #521
A practitioner’s guide to Event Tracing for Windows — from provider to root cause
-
Deep Dive into EF Core Query Performance: Default Tracking vs. AsNoTracking
C# Corner Issue #520
In Entity Framework Core (EF Core), query performance and memory management are heavily governed by one underlying mechanism: Change Tracking. While EF Core's default tracking behavior makes data muta...
-
EF Core Tracking Is Silently Wasting Your Memory
Medium Issue #520
Your endpoint returns 50 order summaries. The query allocates objects for every matching order.
-
Diagnosing Thread Pool Starvation in ASP.NET Core APIs
C# Corner Issue #519
Diagnose and fix ASP.NET Core API Thread Pool starvation. Learn to identify slow responses caused by blocked threads, not just slow databases.
-
35 Senior .NET Developer Interview Questions That Actually Get Asked in 2026
codewithmukesh Issue #518
35 senior .NET interview questions with great answers, red flags, and follow-ups. GC, thread pool starvation, production diagnostics - updated for .NET 10.
-
The N+1 Query Problem in EF Core (And How to Spot It Before Production Does)
Medium Issue #508
A page that felt fine in testing is slow in production. Same code, same query, but now it crawls. You open the SQL log and there it is —…
-
Threading on Thin Ice: Demystifying the .NET ThreadPool and avoiding starvation
Medium Issue #502
Introduction
-
Memory discipline and GC awareness in .NET
C# Digest Issue #500
avoid frequent collection cycles causing latency spikes and wasted CPU time
-
How to Write the Fastest Code with BenchmarkDotNet in C# in the AI Era
Medium Issue #495
In the AI era, just as tests are essential as the legs that let an AI agent run its loop, profilers matter too, because they supply the…
-
AI-Driven Performance Profiling for ASP.NET Core Applications
C# Corner Issue #493
Unlock faster ASP.NET Core apps with AI-driven profiling. Automate bottleneck detection, get smart recommendations, and boost performance.
-
The .NET Host Process: What Runs Before Main() and Why It Sometimes Hangs
dotNetTips.com Issue #491
This guide explores the essential role of the .NET host process, which initializes the runtime, resolves dependencies, and launches applications. It highlights common issues with lingering host proces...
-
.NET R&D Digest (June, 2026)
WordPress Issue #490
This issue includes bits of AI, software development, C++, C#, diagnostics, architecture and of course .NET and .NET Internals.
-
Troubleshooting High CPU and Memory Issues in .NET Applications Without Leaving Your Laptop
Medium Issue #487
A few months ago, one of our .NET APIs started behaving strangely where CPU utilization would suddenly jump above 90% and also sometime…
-
Mastering .NET Interviews – Part 9: Testing & Performance
C# Corner Issue #487
Master .NET interviews: Learn unit/integration testing, mocking, DI, and performance tuning (caching, async, profiling).
-
AI-Assisted Debugging: How Developers Are Fixing Production Issues Faster
C# Corner Issue #478
AI-assisted debugging revolutionizes production issue resolution, enabling faster identification and fixing of complex software problems.
-
C# / .NET Performance: Why Is It Slow 'Here' and What Should You Optimize First?
Chris Pietschmann Issue #449
You open a profiler, squint at the code, and ask: “Why is this slow?” Before you even finish the thought, someone — or an AI assistant — suggests switching from List<T> to Span<T>, or inlining a...
-
.NET Memory Dump Analysis with DumpLinq
Medium Issue #407
Long-running services that handle millions of requests will occasionally end up in a bad state and require a restart.
-
Custom Agents in Visual Studio: Built in and Build-Your-Own agents
Microsoft Dev Blogs Issue #397
Agents in Visual Studio now go beyond a single general-purpose assistant. We're shipping a set of curated preset agents that tap into deep IDE capabilities; debugging, profiling, testing alongside a f...
-
EF Core Was Fast… Until Lazy Loading Destroyed My App
Medium Issue #348
When it comes to working with .NET EF Core, the first thing that comes to mind is — High Performance ORM. Yes, EF Core is really fast… Continue reading on Dot Net, API & SQL Learning »