performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1468 articles Updated Page 18 of 59
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 18 of 59
Newest first
-
⚠ Redis Batch Deadlock — A Hidden Async Bug
mahraz-hasnat.medium.com Issue #376
While working with StackExchange.Redis, I faced a strange issue. My code looked correct, but this line never completed:
-
Extremely FAST Caching Repository With Decorator Pattern in ASP.NET Core
medium.com Issue #376
If You want the full source code Click :Here
-
Code Coverage in .NET: % to confidence
medium.com Issue #376
When we say “code coverage,” most people think it’s a single percentage that tells whether our tests are “good.” In reality, coverage is a…
-
How to Improve Performance in C# Applications
c-sharpcorner.com Issue #375
Boost C# app performance! Learn proven techniques: reduce allocations, use async, optimize data structures, and more. Build faster, scalable, reliable apps.
-
Solving the Distributed Cache Invalidation Problem with Redis and HybridCache
milanjovanovic.tech Issue #375
Learn how to solve the distributed cache invalidation problem in .NET 9 by implementing a Redis Pub/Sub backplane to synchronize HybridCache instances across multiple nodes.
-
Collection Performance: High-Performance Collection Randomization in .NET
dotnettips.wordpress.com Issue #375
The article examines shuffling options in .NET 8, highlighting the performance of three APIs: LINQ.Shuffle(), Random.Shuffle(), and RandomNumberGenerator.Shuffle().
-
Why .NET Core Still Feels Like the Future of Backend Development
c-sharpcorner.com Issue #375
.NET Core remains a top choice for backend development in 2026. Explore its cross-platform capabilities, performance, cloud-native features, and robust security. A future-proof ecosystem!
-
Why Choosing the Wrong C# Collection Slowly Breaks Your Code
medium.com 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-sharpcorner.com 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.com 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-sharpcorner.com 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
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.