performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1396 articles Updated Page 3 of 56
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 3 of 56
Newest first
-
IO Performance: Reuse HttpClient to Avoid Connection Overhead
dotnettips.com Issue #485
When populating collections in .NET, choosing the right bulk operation improves both clarity and efficiency. Methods like AddRange() and InsertRange() allow multiple items to be added in a single call...
-
Scalability in .NET Backend Systems: Design Decisions That Matter Before Infrastructure
medium.com Issue #484
How to identify bottlenecks, reduce hotspots, protect databases, and scale backend systems intentionally
-
Entity Framework Is Slow. It’s Not EF’s Fault.
medium.com Issue #484
Your API was quick in development. Then traffic picks up and a few endpoints start taking three seconds to respond.
-
Database Performance: Making Entity Framework Queries Faster
dotnettips.com Issue #484
The article discusses the advantages of using compiled queries in Entity Framework, especially for frequently executed and complex queries.
-
Your HttpClient Is Quietly Killing Production. You’ll Find Out at 2 A.M.
medium.com Issue #484
One using statement. 65,535 sockets. Zero warnings until the pager went off.
-
The Silent Database Killer: The N+1 Query Problem in EF Core
medium.com Issue #484
Your database might be slowly eaten alive by a hidden performance killer, without you even realising it. It’s called the N+1 query problem…
-
Understand .NET ConfigureAwait(), .Result and await
medium.com Issue #483
Imagine you’re going to a bank to file some paperwork.
-
Why Senior .NET Developers Never Use string.Split — And What They Use Instead
medium.com Issue #483
A practical deep dive into zero-allocation C# for developers who want to write production-grade code Continue reading on CodeToDeploy »
-
CancellationToken in C# Async/Await: The Complete Guide
medium.com Issue #483
If you have written more than a handful of async methods in C#, you have run into a method signature like this:
-
Stop Making Your Database Sweat: A Step-by-Step Guide to Caching
medium.com Issue #483
“Why on earth did it take so long to fetch that data?!”
-
GUID v7 in SQL Server: Performance Benefits, Limitations, and Best Practices
medium.com Issue #483
GUID v7 in SQL Server: Performance Benefits, Limitations, and Best Practices
-
How to Implement AI-Assisted Database Query Optimization in ASP.NET Core
c-sharpcorner.com Issue #482
Boost ASP.NET Core app performance with AI-assisted database query optimization. Learn to identify bottlenecks, get recommendations, and improve productivity.
-
UUID v7 in SQL Server: Can You Really Use It? (The Limitation Nobody Tells You About) Deep Dive
medium.com Issue #482
By Pankaj Ikhar — Solution Architect | Mentor | Coach #LearnWithPankaj | Follow for Career Growth & Interview Preparation
-
Stop Wasting CPU Cycles: Where vs. TakeWhile in LINQ
medium.com Issue #480
We have all been there: you are writing a LINQ query to filter a collection, and your fingers automatically type .Where(). It’s muscle…
-
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...