.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1407 articles Updated Page 3 of 57
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
.NET Performance and Optimization articles
Page 3 of 57
Newest first
-
Avoiding ToString() allocations with StringBuilder.MoveChunks: Exploring the .NET 11 preview - Part 3
andrewlock.net Issue #489
in this post I take a short look at the new MoveChunks API, explore how it works, what it's for, and how the new API provides opportunities for public APIs
-
Getting Started With NATS JetStream in .NET
milanjovanovic.tech Issue #488
NATS almost never comes up when .NET developers talk about message queues, and that's a shame. It's a tiny, fast, single-binary broker, and JetStream adds durable, at-least-once delivery on top. Here'...
-
Stop Buffering Entire API Responses: Streaming Data with IAsyncEnumerable
medium.com Issue #487
If your API method signature looks like Task >, you've already made a decision — whether you meant to or not — that the… Continue reading on CodeToDeploy »
-
Beyond the Spinner: Implementing High-Performance Optimistic UI with .NET and JavaScript
medium.com Issue #487
In software engineering, when we talk about improving application performance, our minds naturally drift toward backend optimizations…
-
Troubleshooting High CPU and Memory Issues in .NET Applications Without Leaving Your Laptop
medium.com Issue #487
A few months ago, one of our .NET APIs started behaving strangely where CPU utilization would suddenly jump above 90% and also sometime…
-
Mastering .NET Interviews – Part 9: Testing & Performance
c-sharpcorner.com Issue #487
Master .NET interviews: Learn unit/integration testing, mocking, DI, and performance tuning (caching, async, profiling).
-
Stop Using .Result and .Wait() in Your .NET Code
medium.com Issue #486
Your app works fine in testing. You deploy it, a few users come on, and then it just… hangs. No error, no crash. The request sits there…
-
Building Autonomous Database Optimization Assistants with .NET and Azure AI
c-sharpcorner.com Issue #486
Build autonomous database optimization assistants with .NET and Azure AI. Enhance performance, reduce manual effort, and enable proactive management.
-
The Day Deposits Doubled: Idempotency, Race Conditions, and a Lock That Saved Us
medium.com 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
csharpdigest.net 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.com 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.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…