performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1624 articles Updated Page 3 of 65
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 3 of 65
Newest first
-
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 Issue #536
Performance tuning is often approached with a simple mindset:
-
6 Ways to Speed Up Your .NET Web API
Medium Issue #535
Caching, async, pagination, compression, EF Core and pooling.
-
Ever Accidentally Written a C# Fork Bomb?
Medium 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 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# Corner 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
Milan's .NET Weekly 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?
Medium 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# Corner 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# Corner 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 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# Corner Issue #532
Test .NET 11 HTTP connection eviction for long-lived APIs and evaluate DNS failover, connection reuse, backend changes, and request reliability.
-
Finding the total number of processors on a machine with .NET
Andrew Lock | .NET Escapades Issue #532
In this post I show how to find the total number of logical CPUs on a host (not just those available to a process); something that isn't exposed in modern .NET
-
LAZY in C#.
Medium Issue #532
“Lazy loading” in C# generally means delaying the creation/initialization of an object until the moment it’s actually needed, rather than… Continue reading on SilentTech »
-
Migrating from Polly to Carom
Medium Issue #531
First, the disclosure: Carom is my library. Read everything below knowing that, and check the claims yourself. All of them are checkable. Continue reading on CodeToDeploy »
-
What If Every API Failed Today? Testing Resilience with Microsoft Dev Proxy
C# Corner Issue #531
Learn how to use Microsoft Dev Proxy to simulate API failures, 503 errors, rate limiting, delays, and unexpected responses, helping .NET developers test application resilience before production.
-
Optimizing Core Web Vitals and Technical Performance in ASP.NET Core Applications
C# Corner Issue #531
Learn how to optimize Core Web Vitals and technical performance in ASP.NET Core applications. This developer guide covers response compression, static asset caching, and layout shift fixes.
-
.NET 11 Generic Complex Numbers: Benchmarking Complex for Scientific Workloads
C# Corner Issue #530
Benchmark generic complex numbers in .NET 11 using Complex across scientific workloads, measuring numerical performance, allocations, and execution time.
-
Still Using Task.Run() in ASP.NET Core? Fix C# Async Await the Right Way
Medium Issue #530
Your ASP.NET Core API is slow, so you add Task.Run() and expect things to get better.
-
Your EF Core Query Looks Fine… Until It Runs 1,001 Queries
Medium Issue #530
The N+1 Query Problem in EF Core — What It Is, Why It Hurts, and How to Fix It
-
Threads vs Task Parallel Library (TPL) in .NET [Part 3]
Medium Issue #530
Part 3: ⚽ Sports Betting Platforms — Parallelism Under Real-Time Pressure
-
Benchmarking .NET Worker Services Under CPU and Memory Pressure
C# Corner Issue #529
Benchmark .NET Worker Services under CPU and memory pressure by measuring throughput, queue backlogs, garbage collection, latency, resource usage, and application stability.
-
Benchmarking Redis Serialization Formats for High-Throughput .NET APIs
C# Corner Issue #529
Benchmark Redis serialization formats for high-throughput .NET APIs by comparing JSON, MessagePack, payload size, latency, memory allocations, throughput, and performance.
-
Benchmarking Redis Connection Multiplexing for High-Throughput .NET APIs
C# Corner Issue #529
Benchmark Redis connection multiplexing in high-throughput .NET APIs by measuring throughput, latency, connection usage, CPU consumption, and scalability under load.