performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1685 articles Updated
.NET performance optimization is the focus of this topic page. .NET Performance and Optimization is how .NET teams reason about runtime cost, startup, and throughput once the feature work is done. Intermediate and senior .NET developers use this hub to scan practical writing without treating every link as an endorsement.
Recurring subtopics in recent issues include .NET performance optimization, C# performance, ASP.NET Core performance, and .NET profiling. Those themes are drawn from titles and excerpts in the newest archive entries for this tag, not from a marketing outline.
Expect publisher tutorials, release notes, architecture write-ups, and field notes linked from DotNetNews issues. Start here is a short editorial shortlist for .NET Performance and Optimization; the archive list is chronological and larger. Secondary angles such as .NET performance optimization and C# performance appear when the archive actually covered them. Nearby reading often overlaps with .NET Benchmarking and BenchmarkDotNet and .NET Profiling and Diagnostics.
Start here
Editor picks for Performance
-
Building a Streaming, Low-Allocation Excel Writer in .NET
C# Corner Issue #504
Covers building a Streaming, Low-Allocation Excel Writer in .NET.
-
Redis Caching Strategies for High-Traffic ASP.NET Core Applications
C# Corner Issue #503
Straightforward and useful. Redis strategy discussions matter more when traffic patterns and invalidation costs are part of the conversation.
-
Optimizing I/O Performance in .NET
dotNetTips.com Issue #498
I/O operations impact application responsiveness, scalability, and costs.
-
.NET 8 vs .NET 6: Should You Upgrade?
Facile Technolab Blog Issue #495
A sensible upgrade comparison focused on support windows, performance, and migration risk rather than hype.
-
Modern C# Features: A Deep Dive into Records, Pattern Matching, Async, and Performance
Medium Issue #494
A practical guide to the C# language features that have reshaped how we write .NET code .
-
Beyond the Spinner: Implementing High-Performance Optimistic UI with .NET and JavaScript
Medium Issue #487
Optimistic UI is one of those topics that touches both performance and product feel. Good when done with discipline.
-
IO Performance: Reuse HttpClient to Avoid Connection Overhead
dotNetTips.com Issue #485
A perennial reminder: HttpClient misuse still shows up in too many codebases.
-
10 EF Core Performance Mistakes (and How to Fix Them) in .NET 10
codewithmukesh Issue #479
10 EF Core performance mistakes that ship to production, N+1 queries, missing projections, lazy loading, AsNoTracking, bulk ops, and how to fix each in .NET 10.
Archive
Page 1 of 68
Newest first
-
Count, Prefix Sum, Fill: Unity’s C# Job System Explained Simply
Medium Issue #579
Intro: my game froze, so I learned the Job System
-
How to Loop Through a List in C#: Every Way, Benchmarked
Khalid Abuhakmeh Issue #579
How to loop through and iterate a List
in C# with foreach, for, ForEach, Index(), and spans, plus break, continue, safe removal, and benchmarks. -
How to Test Application Recovery After a Cloud Service Becomes Unavailable
C# Corner Issue #579
Learn how to identify slow MSBuild targets using reproducible builds, diagnostic logging, timing summaries, and clean versus incremental build comparisons.
-
Our Retries Took Down the Service: Polly, Timeouts and Retry Storms in .NET
Medium Issue #579
How retry storms happen in .NET, and how to fix them with Polly v8: backoff with jitter, layered timeouts, circuit breakers and graceful…Continue reading on Coffee☕ And Code »
-
The Month-End Report That Took Four Minutes
Medium Issue #579
How a slow RDLC report turned out to be 500 database queries hiding inside a PDF.
-
Runtime async benchmarks: .NET 10 vs .NET 11
Meziantou's blog Issue #578
The previous post showed what runtime async does to the generated IL. This one measures what it does to the numbers. Read the caveats at the bottom before quoting anything here. This is a release cand...
-
Why 1,000 Cache Misses Should Trigger One Load
Medium Issue #578
Inside a .NET Cache — Part 1: coordinating concurrent requests before they become duplicate work.
-
How to Measure Whether a Code Change Makes Your Application Slower
C# Corner Issue #578
Learn how to detect application performance regressions with repeatable baselines, controlled workloads, latency percentiles, throughput measurements, and profiling tools.
-
C# Performance: 12 Hidden Allocations That Can Hurt Your Application
Dotnet on Medium Issue #578
You don’t always see new and immediately think, "That's going to create allocation pressure." Allocations can come from LINQ, closures…Continue reading on Stackademic »
-
One Table or Three? Choosing Between TPH, TPT, and TPC in EF Core
Medium Issue #577
Your inheritance mapping decides your query shape, your constraints, and how painful your next migration will be. Here’s how to choose on…
-
How to Resume a File Processing Job After a Worker Crashes
C# Corner Issue #576
Learn how to build resumable C# file-processing jobs using durable checkpoints, batch commits, idempotency, leases, and retry-safe recovery after worker crashes.
-
💻 Issue 537 - Claude Code Added GZIP in 2026. Why Not Brotli?
Awesome .NET Weekly Issue #576
-
LINQ Performance: 7 Mistakes .NET Developers Make in Production
Medium Issue #576
LINQ makes C# code cleaner and easier to read. But some innocent-looking LINQ queries can introduce performance problems when they reach…
-
HttpClient in .NET 10 - IHttpClientFactory and Resilience
codewithmukesh Issue #576
Use HttpClient in .NET 10 with IHttpClientFactory, keyed and typed clients, and AddStandardResilienceHandler, with real socket and POST retry test results.
-
How to Prevent Duplicate File Processing in a Background Worker
C# Corner Issue #576
Learn how to prevent duplicate file processing in C# background workers using reliable file identity, atomic claims, idempotency, durable status tracking, and failure recovery.
-
.NET 11 Performance: What Got Faster and How to Measure It
C# Corner Issue #576
See where .NET 11 gets its speed, from the JIT and runtime async to LINQ, regex and networking, and how to benchmark those gains on your code before upgrading.
-
Hybrid Search for RAG in .NET 10: BM25 Finds ERR-4012, Vectors Don’t
Medium Issue #575
Vectors buried exact error codes; BM25 missed 37% of paraphrases. RRF plus a reranker took MRR from 0.86 to 0.94, gated in CI, in C#.
-
How to Return Large JSON Responses in ASP.NET Core Without Loading Everything into Memory
C# Corner Issue #574
Learn how to stream large JSON responses in ASP.NET Core with Utf8JsonWriter and IAsyncEnumerable to reduce memory usage when exporting database records.
-
How to Read CBOR Data Incrementally in .NET 11
C# Corner Issue #574
Learn how to read CBOR data incrementally in .NET 11 with CborReader, handle partial input safely, preserve parsing state, and continue when more data arrives.
-
How to Run Background Tasks in ASP.NET Core Without Blocking Requests
C# Corner Issue #573
Learn how to run managed background tasks in ASP.NET Core using BackgroundService, hosted services, and Channel-based queues without blocking API requests.
-
ASP.NET Core Output Caching vs. Response Caching: Which One Should You Use?
C# Corner Issue #573
Compare ASP.NET Core Output Caching and Response Caching, including setup, HTTP cache headers, server-side reuse, and guidance for choosing the right approach.
-
C# Concepts Every .NET Backend Developer Should Know in 2026
Medium Issue #573
A .NET API can feel perfectly fine with a little traffic and then start struggling as the app grows. Queries get slower, outgoing HTTP…
-
What Runtime Async in .NET 11 Changes for C# Developers
C# Corner Issue #573
Explains how async and await work in C# and how to evaluate .NET 11 runtime changes, including tasks, continuations, cancellation, and migration testing.
-
How to Diagnose Memory Leaks in ASP.NET Core Applications in Production
C# Corner Issue #572
Learn how to distinguish normal memory growth from leaks in ASP.NET Core, monitor runtime metrics, collect memory dumps, and identify retained objects in production.
-
Memory-efficient JSON in .NET 10 web APIs with PipeReader
elmah.io Blog - .NET Technical tutorials/guides and new features Issue #571
Deserializing a JSON payload with a million objects strains memory and the garbage collector. .NET 10 adds PipeReader support to System.Text.Json, letting the serializer read straight from a pipeline....