.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1407 articles Updated Page 26 of 57
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
.NET Performance and Optimization articles
Page 26 of 57
Newest first
-
C# 13 / .NET 9: The New Lock Type That’s 25% Faster (and Smarter)
medium.com Issue #309
Concurrency in C# just got an upgrade. With .NET 9, Microsoft introduces a dedicated Lock type — finally freeing us from the awkward days…
-
Stop Wasting Threads: 5 Async Tricks That Separate Senior .NET Devs from the Rest
blog.stackademic.com Issue #308
From channels to suppressed continuations, these async techniques will make your code smoother, faster, and smarter. Continue reading on Stackademic »
-
🚀 Master SQL Server Transaction Log Management — The Smart, Secure, Automated Way!
c-sharpcorner.com Issue #308
Master SQL Server transaction log management! Stop runaway log files from consuming disk space. Learn a safe, automated approach to manage log growth without breaking your backup chain. Includes a fre...
-
The var Trap: Why Explicit Types Still Win in C# Clarity
medium.com Issue #308
That one keyword that makes your C# code clean — until it hides what really matters.
-
🧠 What happen Behind .NET GC (Generational Collection)?
c-sharpcorner.com Issue #308
Dive deep into the .NET Garbage Collector (GC) and its generational approach! Understand Gen 0, Gen 1, and Gen 2, plus the Large Object Heap (LOH). Learn how object promotion works, when full GCs are ...
-
How .NET Thinks: Understanding the Mind of Your Code
medium.com Issue #308
Ever wondered what really happens when .NET runs your C# code? Let’s look inside how .NET “thinks” — how it manages memory, objects, and…
-
Understanding Parallel.ForEachAsync vs Task.WhenAll in .NET
c-sharpcorner.com Issue #308
Explore Parallel.ForEachAsync vs Task.WhenAll in .NET for parallel task execution. Understand performance implications and choose the right approach for your workload.
-
High-Performance .NET by Design
blog.devgenius.io Issue #308
A senior engineer’s playbook for shaving microseconds without losing sleep Continue reading on Dev Genius »
-
Static Class vs Singleton Pattern 🔄
c-sharpcorner.com Issue #307
Explore the nuances between Static Classes and the Singleton Pattern in C#. This article provides a detailed comparison, covering memory usage, performance, inheritance, thread safety, testing, and pr...
-
The Truth About .NET Performance No One Talks About
medium.com Issue #307
Uncover silent killers now. Continue reading on Let’s Code Future »
-
High Performance and Scalability in ASP.NET Core
c-sharpcorner.com Issue #305
This article provides actionable strategies for building blazing-fast web applications. Learn how to optimize asynchronous programming, middleware, caching, EF Core, and Kestrel configuration. Discove...
-
C# at Scale: What I Learned Moving from Side Projects to Production Systems
medium.com Issue #305
The hard lessons of performance tuning, async pitfalls, and memory management in real-world .NET applications Continue reading on .Net Programming »
-
Announcing a new OData.NET serializer
devblogs.microsoft.com Issue #305
One of the major, recurring complaints of the OData.NET libraries is the performance overhead of the serialization stack. We have done a lot of work to improve the serialization performance, but the e...
-
7 No-Nonsense Ways I Keep Duplicate Messages From Wrecking My Queues (with a real .NET 9 example)
medium.com Issue #305
If you want the full source code, join our community: Here
-
Scaling .NET APIs with Ease: How I Used C# to Handle Millions of Requests
medium.com Issue #305
How I Rebuilt My API Infrastructure to Handle Load, Caching, and Concurrency the Right Way Continue reading on .Net Programming »
-
9 Easy Wins for Rock-Solid Fault Handling in .NET 9 with Polly (With Real Code You Can Ship Today)
medium.com Issue #305
If your API calls fail exactly when your boss is watching the dashboard, welcome to the club. Networks hiccup, databases sneeze…
-
20+ Code Hacks to Instantly Boost Your Productivity in .NET Core
medium.com Issue #305
Just follow these quick tricks those are helpful in day-by-day coding.
-
⚡ Understanding Span and Memory in C#: The Hidden Power Behind Modern High-Performance .NET
mohit8830.medium.com Issue #304
List<T> = Flexible but slow (heap-based, many allocations) Span<T> = Ultra-fast, stack-based, local memory access Memory<T> = Async-safe…
-
Unsafe Code in C#: When and Why It’s Worth It
medium.com Issue #304
Discover how unsafe code in .NET lets you trade safety for speed, master pointers, and optimize performance-critical applications.
-
20 Killer C# One-Liners
medium.com Issue #304
A senior-dev grab bag of 20 practical C# one-liners — guards, LINQ, JSON, async timeouts — each with when to use and pitfalls. Copy, paste… Continue reading on Programming Letters »
-
How the lock Keyword Works in C#: Thread Safety Demystified
medium.com Issue #304
Understand how the C# lock keyword prevents race conditions, how it works internally, and when to use advanced synchronization methods.
-
Your .NET App Doesn’t Need a Database on the Hot Path — Meet the Local Caching Revolution
medium.com Issue #304
How hybrid in-memory + distributed caching patterns are quietly replacing database round-trips in real-world .NET systems. Continue reading on ILLUMINATION’S MIRROR »
-
.NET Debug vs Release Mode: The Complete Developer’s Guide
medium.com Issue #304
Unlock the secrets of .NET compilation modes and supercharge your development workflow
-
C# Channel Mastery: Advanced Patterns for Async Pros
blog.stackademic.com Issue #304
Part 5 in a beginner-friendly guide to thread-safe async messaging in .NET Continue reading on Stackademic »
-
Make JSON Fast Again in .NET
blog.stackademic.com Issue #303
System.Text.Json performance patterns: source-gen, Utf8JsonReader, UnsafeRelaxedJsonEscaping, and buffer reuse. Continue reading on Stackademic »