performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1586 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-sharpcorner.com Issue #504
Covers building a Streaming, Low-Allocation Excel Writer in .NET.
-
Redis Caching Strategies for High-Traffic ASP.NET Core Applications
c-sharpcorner.com 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?
faciletechnolab.com 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.com 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.com 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.com 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 64
Newest first
-
Microsoft.Extensions.AI Failover: Benchmarking Multi-Provider AI Recovery
c-sharpcorner.com Issue #544
Learn how to benchmark Microsoft.Extensions.AI failover across multiple AI providers, measuring recovery time, latency, reliability, retries, and operational cost.
-
Why is the x86 undefined instruction called ud2 ? Why 2?
devblogs.microsoft.com Issue #544
If you look at x86 compiler output (or if, like me, you're looking at a crash caused by some software that tried to detour an API), you may see an instruction ud2. What's up with that? The ud2 instruc...
-
E4: Optimize performance and scalability with Azure SQL Database Hyperscale
youtube.com Issue #543
Bob and Anna demo Azure SQL Database Hyperscale’s unique architecture, including independent scaling for compute and storage to help manage changing application demands without disruptions. 0:00: Intr...
-
Numerics.NET with Jeffrey Sax
spreaker.com Issue #542
So what can numerics do for you? Carl and Richard talk to Jeffrey Sax about his work building Numerics.NET, a collection of general-purpose mathematical and statistical classes built for .NET. Jeffrey...
-
How to Build High-Performance Distributed Systems with .NET Core — By Najeeb Ullah
medium.com Issue #542
Building large-scale enterprise applications requires deep architectural knowledge and efficient coding practices. As a Top .NET Creator…
-
.NET R&D Digest (August, 2026)
olegkarasik.wordpress.com Issue #542
This issue includes bits of life story, AI, C#, security, performance, Aspire, TDD, .NET and of course .NET Internals.
-
Async Await Just Got A Massive Improvement in .NET
youtube.com Issue #541
Learn Hands-On for Free at Dometrain: https://dometrain.com/courses/?ref=nick-chapsas&promo=youtube Hello, everybody. I'm Nick, and in this video, I will talk about the new .NET 11 Runtime Async featu...
-
Reducing Token Usage
jesseliberty.com Issue #541
If you want to hold costs down, efficient resource management is paramount. One of the critical resources in AI applications is token usage. Tokens are the basic units of text that models process, and...
-
Counting to int.MaxValue — and Learning Thread Synchronization Along the Way in C#
medium.com Issue #539
After reading and exploring various blogs and books about threads in C#, I started thinking about what example I could work on to dig into…
-
Boost Your .NET Projects with Spargine: Simplify Thread Pool Execution with ThreadPoolHelper
dotnettips.com Issue #539
Spargine's ThreadPoolHelper simplifies concurrent execution in .NET applications by providing reusable APIs that manage thread pool operations. It supports single and batch operations, bounded concurr...
-
[.NET] Task vs ValueTask — understand the differences like a pro
edengoforit.medium.com Issue #539
Before we explain the differences between Task and ValueTask, we should understand why Task became the core building block of async…
-
How fast is .NET 11 Runtime Async?
csharpdigest.net Issue #539
Runtime Async is a new asynchronous execution model arriving in .NET 11.
-
The Bug That Only Shows Up Under Load: A Backend Engineer’s Guide to Concurrency
publication.masteringbackend.com Issue #537
Concurrency Will Break Your System Quietly — Here’s How to Avoid That Continue reading on MasteringBackend »
-
Stop Caching Everything: The Grey Logic Behind High-Performance Applications
medium.com Issue #536
Performance tuning is often approached with a simple mindset:
-
6 Ways to Speed Up Your .NET Web API
martinbrn.medium.com Issue #535
Caching, async, pagination, compression, EF Core and pooling.
-
Ever Accidentally Written a C# Fork Bomb?
medium.com Issue #535
We’ve all seen standard background worker patterns where a main process manages or kicks off a worker routine. But if you aren’t careful…
-
Reduce Error Message Allocations with a .NET JSON Schema Validation Option
blog.devgenius.io Issue #535
High-performance JSON Schema validation is not only about accepting valid input quickly. In many real systems, the harder path is… Continue reading on Dev Genius »
-
Every Locking Primitive in C# — And When to Actually Use Each One
medium.com Issue #535
For a long time, I used only one tool whenever I saw concurrency problems.
-
ASP.NET Core 11 Static SSR: Measuring Performance and HTML Payload Size
c-sharpcorner.com Issue #534
Benchmark ASP.NET Core 11 Static SSR to measure server performance, time to first byte, HTML payload size, and resource usage in web applications.
-
Your ASP.NET Core Endpoints Don't Have a Timeout
milanjovanovic.tech Issue #534
ASP.NET Core doesn't enforce an application timeout on incoming requests by default. The built-in middleware can add one, but it only cancels RequestAborted.
-
What Actually Happens When You Use async and await in .NET?
malshikay.medium.com Issue #533
If you work with .NET, you have probably written code like this:
-
.NET MAUI CoreCLR Migration: Benchmarking Startup and Memory on Android
c-sharpcorner.com Issue #533
Learn how the .NET MAUI CoreCLR migration affects Android applications by benchmarking startup time, memory usage, runtime performance, and application behavior.
-
.NET 11 ZIP Password Support: Benchmarking Encrypted Archive Performance
c-sharpcorner.com Issue #533
Benchmark encrypted ZIP archive performance in .NET 11 by measuring CPU usage, memory consumption, processing time, archive size, and throughput.
-
How to Set Excel Cell Background in C# (Solid, Texture, and Gradient)
medium.com Issue #533
Are you looking to make your Excel reports more visually appealing and easier to interpret? Whether you need to highlight critical KPIs…
-
.NET 11 HTTP Connection Eviction: Testing DNS Failover in Long-Lived APIs
c-sharpcorner.com Issue #532
Test .NET 11 HTTP connection eviction for long-lived APIs and evaluate DNS failover, connection reuse, backend changes, and request reliability.