performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1624 articles Updated Page 12 of 65
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 12 of 65
Newest first
-
The Day Deposits Doubled: Idempotency, Race Conditions, and a Lock That Saved Us
Medium Issue #485
A real war-room story about duplicated deposits in production — why a check-then-insert idempotency guard isn’t enough under concurrency…
-
Process API improvements in .NET 11
C# Digest Issue #485
how the team made the biggest update to it in years
-
Migrating 200 Million Records in .NET: From Row-by-Row to a Crash-Safe Batched Pipeline
Medium Issue #485
A real-world walkthrough of how we rewrote a data migration four times before it was production-ready
-
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 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 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 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 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 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 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 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 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 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# Corner 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 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 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 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 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 Issue #479
Most EF Core update statements look like this:
-
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.
-
.NET 11 vs .NET 10: We Benchmarked Both on a Real Production App (Should You Upgrade?)
Medium 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”
Network Programming in .NET 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
Microsoft Dev Blogs 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
Microsoft Dev Blogs 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...