performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1468 articles Updated Page 3 of 59
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 3 of 59
Newest first
-
Background Processing in ASP.NET Core: Why Task.Run() Isn't the Right Choice
medium.com Issue #506
At some point, almost every ASP.NET Core application needs to do work in the background.
-
Background Jobs and Workers in .NET Backend Systems: How to Design Reliable Background Processing
medium.com Issue #506
In Part 1, I wrote about boundaries. In Part 2, I wrote about aggregates and invariants. In Part 3, I wrote about domain events. In Part 4…
-
Mastering Channels in C#: Async Producer/Consumer With Backpressure
medium.com Issue #506
From first principles to a production ingestion pipeline: backpressure, completion, and fault propagation done right
-
Entity Framework Core 11 Migrations: Best Practices for Production Deployments
c-sharpcorner.com Issue #505
Master EF Core 11 migrations for production. Learn best practices for safe deployments, avoiding downtime, and ensuring data integrity.
-
LINQ Execution: Immediate vs. Deferred (And Why It Matters More Than You Think)
medium.com Issue #505
If you’ve worked with LINQ in C# for any length of time, you’ve probably run into a bug that made no sense at first glance — a query…
-
.NET 11 Preview 6: New Features, Performance Improvements, and Breaking Changes
c-sharpcorner.com Issue #505
.NET 11 Preview 6: Discover new features, performance boosts, and critical breaking changes for faster, more efficient app development.
-
How to Optimize SQL Queries: 20 Proven Best Practices
antondevtips.com Issue #505
Slow queries drag down every app. Learn 20 proven techniques to optimize SQL queries in PostgreSQL - indexes, covering indexes, sargable filters, smarter joins, materialized views, functions in where,
-
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.