performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1586 articles Updated Page 23 of 64
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 23 of 64
Newest first
-
Why Choosing the Wrong C# Collection Slowly Breaks Your Code
Medium Issue #375
Choosing the right collection in C# is more than a coding detail — it’s a key design decision that affects your app’s stability…
-
How Does Garbage Collection Work in C#?
C# Corner Issue #374
Unlock C#'s automatic memory management! Learn how garbage collection reclaims unused memory, preventing leaks and boosting performance. A must-read for C# developers!
-
DiskANN: An overview of vector indexing in Azure SQL and Fabric SQL | Data Exposed
YouTube Issue #374
Microsoft Azure SQL: https://aka.ms/msazuresqlyt Microsoft SQL Server: https://aka.ms/mssqlserveryt
-
Optimizing .NET App Performance: How Developers in India and Globally Can Build Faster Applications
C# Corner Issue #373
Boost .NET app performance! Learn AOT compilation, diagnostics, async programming, and memory management. Essential for developers in India and globally.
-
File I/O Performance: Picking the Fastest Weapon in Your Arsenal
WordPress 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
Medium 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 Issue #370
Learn how to use Multi-Provider in OpenFeature in dotnet
-
.NET Concurrency, Parallelism and async/await
Medium 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 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 Issue #369
I have a confession: for years, I shipped slow code.
-
Modern C# Error Handling Patterns You Should Be Using in 2026
Medium 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 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 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 Issue #366
EF Core async methods are powerful tools for building scalable .NET
-
Building a Custom LINQ Provider in .NET
Medium 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
Medium Issue #366
Minimal APIs in .NET 10: Clean, Lightweight, But Are They Really Minimal?
-
Channels in C#
Medium 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 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
Medium 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# Corner 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
Medium 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
Laurent Kempé 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# Corner 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
Medium Issue #363
Throughout 2025, the PVS-Studio team has been actively checking open-source C# projects. Over the year, we discovered plenty of defects…