.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1407 articles Updated Page 4 of 57
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
.NET Performance and Optimization articles
Page 4 of 57
Newest first
-
The Most Expensive 4 Lines of C# I’ve Ever Seen
medium.com Issue #480
Six hours of downtime. 38,000 lost orders. Every dashboard green the entire time.
-
The Hidden Cost of Include() in EF Core
medium.com Issue #480
Include() is one of the most useful features in EF Core. It’s also one of the easiest ways to accidentally hurt performance.
-
Why ExecuteUpdateAsync() Is One of EF Core's Best Features?
medium.com Issue #479
Most EF Core update statements look like this:
-
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.
-
.NET 11 vs .NET 10: We Benchmarked Both on a Real Production App (Should You Upgrade?)
medium.com Issue #478
We run Mattrx on .NET 10 (the current LTS) in production, and we put .NET 11 previews through the same benchmark harness on the same…
-
The Misleading IndexOutOfRangeException That Means “Your List Isn’t Thread-Safe”
blog.dotnetframework.org Issue #478
If you’ve ever seen a stack trace like this in a .NET application: …and you stared at the offending line — something innocuous like myList.Where(x => x.IsActive).ToList() — wondering how on earth a LI...
-
Process API Improvements in .NET 11
devblogs.microsoft.com Issue #478
Process API improvements in .NET 11, including high-level APIs for starting processes, capturing output without deadlocks, handle inheritance control, lifetime management features, and a lightweight `...
-
Copilot Studio gets faster with .NET 10 on WebAssembly
devblogs.microsoft.com Issue #478
Microsoft Copilot Studio recently upgraded its .NET WebAssembly engine to .NET 10. The migration was straightforward, simplified deployment, and delivered another round of meaningful performance gains...
-
EF Core at scale: 5 ways to retrieve large datasets efficiently
blog.elmah.io Issue #478
EF Core (Entity Framework Core) is a fast ORM. However, once dataset entries increase by another 0, things start to break down. Fetching and filtering of data adds to processing time. Looking at this ...
-
Removing byte array allocations using ReadOnlySpan
csharpdigest.net Issue #477
no matter which version of .NET you're targeting
-
A useful new .Net feature for Processes
blog.jermdavis.dev Issue #477
The pace of change with .Net is pretty relentless these days. And every so often they ship a thing that fixes a challenge I've been mulling over addressing myself. That's happened again with Process A...
-
EF Core 11 makes your split queries faster
steven-giesel.com Issue #477
If you use AsSplitQuery anywhere in your codebase, EF Core 11 has a present for you: your queries get faster.
-
Database Sharding in .NET Applications: Benefits, Challenges, and Implementation
c-sharpcorner.com Issue #477
Unlock .NET app scalability with database sharding. Learn benefits, challenges, and implementation strategies for high-growth applications.
-
Thread Pool Exhaustion in ASP.NET: The Async Database Trap
blog.dotnetframework.org Issue #477
If you’ve ever migrated a working ASP.NET application from synchronous database calls to async, and suddenly found yourself hitting connection pool timeouts under load, you’ve likely fallen into one o...
-
Boost Your .NET Projects: Copilot, Benchmarks, and the Truth About Faster Code
dotnettips.com Issue #477
The article discusses the limitations and benefits of using Copilot for code optimization in the Spargine .NET project. While some suggestions from Copilot significantly improved performance, others w...
-
BackgroundService exceptions now propagate in .NET 11
steven-giesel.com Issue #476
Here's a bug that lived in .NET for over four years As in: Reported over 4 years ago . If your BackgroundService threw an exception after its first await , your host would catch it, log a critical mes...
-
ASP.NET Core Rate Limiting Best Practices for High-Traffic APIs
c-sharpcorner.com Issue #476
Master ASP.NET Core rate limiting for high-traffic APIs. Protect against abuse, ensure stability, and optimize performance with best practices.
-
Zstandard compression in .NET 11
steven-giesel.com Issue #476
.NET has had DeflateStream , GZipStream , ZLibStream , and BrotliStream for a while now. In .NET 11, a new one joins the party: ZstandardStream . And now we get to say "Zstd" in .NET.
-
.NET Performance in Cloud: The Silent Killers Nobody Talks About
medium.com Issue #476
Most .NET teams moving to the cloud assume performance will “just scale.”
-
Dynamic LINQ in Production: How I Built Runtime Query Parsing That Doesn’t Suck
medium.com Issue #476
Building secure, performant dynamic LINQ expressions for enterprise applications
-
Building High-Performance APIs with Minimal APIs and .NET 10
c-sharpcorner.com Issue #475
Build high-performance, scalable APIs with .NET 10 Minimal APIs. Reduce boilerplate, boost speed, and simplify development for modern applications.
-
Understanding SemaphoreSlim in .NET
malshikay.medium.com Issue #475
A Complete Guide with Practical Examples for SemaphoreSlim
-
Database Connection Pooling Explained with Examples
c-sharpcorner.com Issue #474
Learn Database Connection Pooling with practical examples. Understand how connection pools improve performance, scalability, and database efficiency.
-
SQL Server Performance Tuning Techniques for Modern Applications
c-sharpcorner.com Issue #474
Learn SQL Server performance tuning techniques including indexing, query optimization, execution plans, statistics management, and database best practices.
-
Designing high-throughput APIs for 1M requests/minute .NET
blog.elmah.io Issue #474
table of contents Scaling horizontally is great… until the bill comes. Hence, as a startup or a big firm, you always need to be careful about billing while maintaining competitiveness. Every user who ...