performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1668 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 67
Newest first
-
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....
-
How to Trace a Slow API Request with OpenTelemetry in .NET
C# Corner Issue #570
Configure OpenTelemetry tracing in an ASP.NET Core Web API to trace incoming requests, outgoing HTTP calls, and custom operations when investigating slow responses.
-
Configure Initial HTTP/2 Concurrency in .NET 11
C# Corner - Bhavya Singh Issue #569
Learn how to configure SocketsHttpHandler.InitialHttp2MaxConcurrentStreams in .NET 11 to control initial HTTP/2 request concurrency before server settings arrive.
-
-
NGB Platform 3.0.0: Architecture, Performance, and Reliability
Medium - Ihor Perkovskyi Issue #569
NGB Platform v3.0.0 is out.
-
-
Coding Faster with dotNetTips.com Spargine 10: October 2026 Release
dotNetTips.com - David (dotNetDave) McCarter Issue #568
Spargine 10 (v2026.10.7.1), released on July 1, 2026, introduces NuGet packages for .NET 10, featuring new types, methods, and performance enhancements. The update allows for trimmable libraries, redu...
-
Preventing Cache Stampedes When Many Requests Miss the Same Key
C# Corner - Vivek Kumar Issue #568
Learn how cache stampedes occur in C# applications and how to prevent duplicate cache rebuilds with IMemoryCache, HybridCache, semaphores, and distributed coordination.
-
Concurrency & Asynchronous Programming in .NET: Mastering Safe Scale
C# Corner - Sardar Mudassar Ali Khan Issue #567
Learn safe .NET concurrency patterns using SemaphoreSlim, bounded channels, Parallel.ForEachAsync, and BackgroundService to prevent deadlocks, memory pressure, and thread-pool starvation.
-
The Fastest C# Code in a Benchmark Lost the Real-World API Test - HackerNoon
""charp" OR "asp.net" OR "fsharp" OR "c#" OR "vb.net" " - Google News Issue #567
The Fastest C# Code in a Benchmark Lost the Real-World API Test HackerNoon
-
EF Core Optimization Guide: A Step-By-Step Guide to Faster Queries
Medium - Anton Martyniuk Issue #567
“EF Core is slow, don’t use it.” Continue reading on CodeX »
-
EF Core Cartesian Explosion: How a Single .Include() Almost Crashed Production
Medium - Nikola Perisic Issue #567
How one EF Core .Include() multiplied our SQL rows into timeouts, and the split queries and guardrails that stop it for good.
-
ASP.NET Core Output Caching vs. Response Caching: What's the Difference?
C# Corner - Nidhi Sharma Issue #566
Learn the differences between ASP.NET Core output caching and response caching, including HTTP cache rules, server-side policies, middleware setup, and when to use each.
-
ASP.NET Core Output Caching vs. Response Caching: Which One Should You Use?
C# Corner Issue #566
Compare ASP.NET Core Output Caching and Response Caching, including how they work, configuration, HTTP cache rules, and when to use each approach.
-
EF Core Bulk Updates: When to Use ExecuteUpdate Instead of Loading Entities
C# Corner Issue #566
Learn when to use EF Core ExecuteUpdateAsync for set-based bulk updates instead of loading tracked entities, including effects on change tracking and database operations.
-
Tracking a .NET Memory Leak with a Managed Heap Dump
C# Corner - Niharika Gupta Issue #566
Learn how to capture and analyze managed heap dumps in .NET to investigate memory growth, identify retained objects, and verify memory leak fixes.
-
Why Await Inside a Loop Can Make Your Async Code 5x Slower
C# Corner - dhana gani Issue #565
Learn why awaiting independent async calls in a loop runs them sequentially, and how Task.WhenAll, throttling, and error handling enable safe concurrent execution.
-
ThreadPool Starvation in .NET: How Blocking Code Freezes Your API
C# Corner - Mariem Moalla Issue #565
Learn how blocking calls cause .NET ThreadPool starvation in ASP.NET Core APIs, and how async/await, timeouts, and cancellation prevent request timeouts.