performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1586 articles Updated Page 33 of 64
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 33 of 64
Newest first
-
-
🧠 GC.Collect() vs GC.SuppressFinalize() in .NET — Deep Dive (with Real-World Examples)
C# Corner Issue #309
Unlock .NET memory management secrets! This deep dive explores GC.Collect() and GC.SuppressFinalize(), revealing when and how to use them effectively. Learn the nuances of garbage collection in .NET 8...
-
Mastering TextWriter in C#: A Complete Guide for Developers
Medium Issue #309
In modern software development, working with files and text data is a common requirement.
-
Understanding Searching Algorithms: Linear Search and Binary Search
C# Corner Issue #309
Explore the fundamentals of searching algorithms with Linear and Binary Search. Learn how these algorithms efficiently locate elements within data structures. Discover their step-by-step logic, Python...
-
C# 13 / .NET 9: The New Lock Type That’s 25% Faster (and Smarter)
Medium 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# Corner 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 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# Corner 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 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# Corner 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# Corner 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 Issue #307
Uncover silent killers now. Continue reading on Let’s Code Future »
-
High Performance and Scalability in ASP.NET Core
C# Corner 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 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
Microsoft Dev Blogs 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 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 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 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 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
Medium 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 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 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 Issue #304
Understand how the C# lock keyword prevents race conditions, how it works internally, and when to use advanced synchronization methods.