.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1407 articles Updated Page 16 of 57
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
.NET Performance and Optimization articles
Page 16 of 57
Newest first
-
File I/O Performance: Picking the Fastest Weapon in Your Arsenal
dotnettips.wordpress.com Issue #371
This article provides insights on the fastest file I/O methods for .NET 10, emphasizing benchmarks with 1 MB payloads.
-
Top 10 Errors Found in C# Projects in 2025
isitvritra101.medium.com Issue #370
The “optimization” that was supposed to speed things up? It created heap allocations on every call. Made everything slower.
-
Multi-Provider Feature Flags in .NET with OpenFeature
medium.com Issue #370
Learn how to use Multi-Provider in OpenFeature in dotnet
-
.NET Concurrency, Parallelism and async/await
medium.com Issue #370
Concurrency, parallelism, and async/await are among the most misunderstood concepts in modern .NET applications. They are often mixed…
-
How We Fixed Our Cache Stampede Problem
medium.com Issue #370
From 50 database calls to 1 — a practical guide to caching in .NET
-
5 C# Secrets That Make LINQ Queries 10x Faster (You’re Using It Wrong)
medium.com Issue #369
I have a confession: for years, I shipped slow code.
-
Modern C# Error Handling Patterns You Should Be Using in 2026
medium.com Issue #369
Error handling in C# has matured significantly with modern .NET releases. In 2026, effective error handling is less about blanket…
-
When Scoped DbContext Fails — Real Production Scenarios
medium.com Issue #369
In Part 1, we learned why Scoped lifetime is the default for DbContext. One instance per HTTP request, shared across services…
-
Background jobs and security picks
DotNetNews Issue #368
This issue covers schedulers, auth best practices, DI with Autofac, and several .NET fundamentals pieces, plus AI-assisted remediation and configuration.
-
AWS Lambda SnapStart for .NET – Cut Cold Starts by 90% (With Benchmarks)
codewithmukesh.com Issue #366
Stop losing users to Lambda cold starts. Learn how to enable SnapStart for .NET functions, use runtime hooks for optimization, and see real benchmark data showing 58-94% faster cold starts.
-
Async Pitfalls in EF Core: What Every .NET Developer Needs to Know
medium.com Issue #366
EF Core async methods are powerful tools for building scalable .NET
-
Building a Custom LINQ Provider in .NET
jordansrowles.medium.com Issue #366
LINQ providers are one of those dark corners of .NET that most developers never need to touch. And honestly? That’s probably for the best…
-
Unlock Blazing Fast ASP.NET Core APIs with Smart Caching Strategies
nelsonyounus.medium.com Issue #366
Minimal APIs in .NET 10: Clean, Lightweight, But Are They Really Minimal?
-
Channels in C#
medium.com Issue #366
Learn how to build high-performance, thread-safe producer-consumer applications using System.Threading.Channels.
-
StructQueue: Lightning-Fast C# Queues: No Copies, No Garbage
medium.com Issue #366
In C#, Queue<T> is the go-to data structure for storing items in a first-in, first-out order. But when we really need ultimate performance…
-
Real Plugin Systems in .NET: AssemblyLoadContext, Unloadability, and Reflection‑Free Discovery
jordansrowles.medium.com Issue #364
How to build production-grade plugin systems that unload, avoid file locks, and survive the failure modes that break naive approaches
-
C# 14 Improved Lambda Expressions: Using ref, in, and out Parameters for High-Performance Code
c-sharpcorner.com Issue #363
Explore C# 14's enhanced lambda expressions with 'ref', 'in', and 'out' parameters. Boost performance, readability, and code consistency for critical operations.
-
Our Database Was Drowning in 50,000 Insert Requests Per Minute — Here’s How We Fixed It
elanchezhiyan-p.medium.com Issue #363
Last year, our e-commerce platform had a major crisis during Black Friday.
-
C# 14 Extension Members: Complete Guide to Properties, Operators, and Static Extensions
laurentkempe.com Issue #363
Extension methods have been a core C# feature since version 3.0, enabling developers to add methods to types without modifying source code. With C# 14 and .NET 10, Microsoft introduces extension membe...
-
C# 14 in Action: High-Performance Lambda Expressions with Parameter Modifiers
c-sharpcorner.com Issue #363
Explore C# 14's enhanced lambda expressions with parameter modifiers (ref, in, out) for high-performance code, clearer intent, and expressive APIs. Optimize your C#!
-
Top 10 errors found in C# projects in 2025
unicorn-dev.medium.com Issue #363
Throughout 2025, the PVS-Studio team has been actively checking open-source C# projects. Over the year, we discovered plenty of defects…
-
How to Build High-Performance Microservices Using .NET 10?
medium.com Issue #362
Today’s digital products need to be fast, stable, and ready to grow. Users expect applications to load quickly, work smoothly, and stay…
-
How to Read Excel Files with C#
medium.com Issue #362
This article walks you through a simple, high-efficiency solution to read Excel files with C# (no Office installation required).
-
Swapping two blocks of memory that reside inside a larger block, in constant memory
devblogs.microsoft.com Issue #362
Suppose you have a large block of memory, and you want to swap two blocks that reside inside that large block. For concreteness, say you have a block of memory of the form A1, A2, B1, B2, C1, C2, D1, ...
-
Microservices Design Patterns in .NET That Actually Survive Production
medium.com Issue #362
Most .NET microservices failures are not caused by bad frameworks or tooling. They fail because architectural patterns are applied…