performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1586 articles Updated Page 8 of 64
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 8 of 64
Newest first
-
ASP.NET Core Output Caching: Best Practices for High-Traffic APIs
c-sharpcorner.com Issue #505
Boost ASP.NET Core API performance with Output Caching. Learn best practices for high-traffic apps, reducing load and improving response times.
-
Caching Strategies in ASP.NET Core: MemoryCache vs Redis vs Output Cache
c-sharpcorner.com Issue #505
Master ASP.NET Core caching: MemoryCache, Redis, and Output Cache. Optimize performance, scalability, and user experience.
-
How I Cut an EF Core Endpoint’s Response Time by 50% With Dapper and Raw SQL
medium.com Issue #505
The execution plan, the missing index, and the raw SQL query that saved one job portal’s busiest page.
-
10 .NET Performance Mistakes That Slow Down Your Applications (And How to Fix Them)
medium.com Issue #505
Introduction
-
The Cosmos DB Query That Burned 2 Million RUs Before Lunch
medium.com Issue #504
One missing word in a WHERE clause. A dashboard that refreshed every 30 seconds. A throttling storm that made the whole app feel broken —…
-
Building a Streaming, Low-Allocation Excel Writer in .NET
c-sharpcorner.com Issue #504
Build a high-performance, low-allocation Excel writer in .NET using streaming, IBufferWriter , and OOXML internals. Achieve 8-10x speed and 30-100x less memory.
-
The Power of a Single Exclamation Mark: A Memory Cache Tale in .NET 9
medium.com Issue #503
Every software engineer loves making their application faster. I was working on my.NET 9 Student Management API. I wanted to make it…
-
Building a Database in a Text File — Why Async Is Not Enough
medium.com Issue #503
The Idea Behind This Series
-
Redis Caching Strategies for High-Traffic ASP.NET Core Applications
c-sharpcorner.com Issue #503
Boost ASP.NET Core app performance with Redis caching strategies. Reduce database load, improve response times, and scale effectively.
-
ASP.NET Core Performance Optimization Techniques Every Developer Should Know
c-sharpcorner.com Issue #503
Boost ASP.NET Core app speed! Learn essential techniques for faster response times, reduced costs, and better user experience.
-
Understanding Garbage Collector and Finalizers in C#
wiemksaier.medium.com Issue #503
When we write code in C#, we create objects all the time.
-
Threading on Thin Ice: Demystifying the .NET ThreadPool and avoiding starvation
truestorydavestorey.medium.com Issue #502
Introduction
-
Fastest Way to Bulk Insert Thousands of Rows in EF Core
codewithmukesh.com Issue #502
Benchmark the fastest way to bulk insert thousands of rows in EF Core 10 - AddRange vs EFCore.BulkExtensions vs SqlBulkCopy and Npgsql COPY, with real numbers.
-
Building a Cost-Effective Async Export Pipeline in ASP.NET
medium.com Issue #502
How to stop your API from freezing on large exports — using nothing but System.Threading.Channels, IHostedService, and Redis.
-
Your Try-Catch Blocks Are Lying to You
medium.com Issue #502
Exceptions aren’t free, and neither is treating every failure like one. Here’s how I split the two, and where I draw the line.
-
Entity Framework Core Performance Tuning for Large Applications
c-sharpcorner.com Issue #501
Optimize EF Core for large apps: Boost performance with AsNoTracking, pagination, indexing, caching, and more.
-
Implementing AI Cost Optimization and Token Management Strategies in .NET Applications
c-sharpcorner.com Issue #501
Master AI cost optimization in .NET. Learn token management, prompt engineering, caching, and model selection for sustainable AI.
-
.NET 11 Preview 8: New Features and Breaking Changes Explained
c-sharpcorner.com Issue #501
.NET 11 Preview 8: Explore new features like runtime performance, Native AOT, and JSON serialization. Prepare for breaking changes.
-
The self-invalidating cache that lives in the pipeline, not your handlers
medium.com Issue #501
A read-through cache is easy. Keeping it correct is the hard part. Here is a cache where a write invalidates the reads it staled…
-
Concat Costs
medium.com Issue #501
String concatenation with + is fine for one line, but in loops or dynamic UI it forces the garbage collector to work overtime…
-
Memory discipline and GC awareness in .NET
csharpdigest.net Issue #500
avoid frequent collection cycles causing latency spikes and wasted CPU time
-
Streaming Excel Exports in ASP.NET Core with IAsyncEnumerable
c-sharpcorner.com Issue #500
Stream Excel exports in ASP.NET Core using IAsyncEnumerable to avoid memory issues. Process large datasets efficiently without loading them entirely into memory.
-
Optimizing I/O Performance in .NET
dotnettips.com Issue #498
I/O operations impact application responsiveness, scalability, and costs. Enhancing file access, HTTP requests, and networking improves user experience while reducing resource consumption. This chapte...
-
The Fasting Developer: Memory Discipline and GC Awareness in .NET
binaryintellect.net Issue #498
There is a quiet assumption baked into most .NET codebases: the Garbage Collector will always clean up. And technically, it will. But the cost of that cleanup — paid in latency, in CPU time, in unpred...
-
Stop Over-Fetching: Master EF Core Projections for Faster, Leaner APIs
bogdan-hatis.medium.com Issue #498
Modern APIs rarely need every column from every related table.