performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1707 articles Updated Page 21 of 69
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 21 of 69
Newest first
-
C# Records Explained Like a Pro
Medium Issue #431
(With Real-World Use Cases & Performance Insights)
-
How to Implement a Binary Search Algorithm in C# With Example
C# Corner Issue #429
Master Binary Search in C#! This guide covers iterative & recursive implementations with clear examples, optimization tips, and real-world applications. Boost your search efficiency!
-
Stop Charging by the Hour: How I Used .NET to Increase My Freelance Income by 2x
Medium Issue #429
Why clients don’t care about your time — and how solving performance problems can instantly boost your rate
-
C# Mistakes That Are Silently Slowing Down Your Code
Medium Issue #429
Most C# developers don’t realize a thing. Your code might be working perfectly but still performing badly. No errors. No crashes. Just…
-
Your .NET BackgroundService Starts Too Early
Medium Issue #429
Why ExecuteAsync runs before your app is ready — and how to fix it properly.
-
What is the Difference Between Task and Thread in C#?
C# Corner Issue #429
Unlock C# concurrency! Master the difference between Tasks and Threads with our easy-to-understand guide. Boost performance & write scalable .NET apps.
-
High-Velocity Connection Pooling with Dapper and ASP.NET Core
C# Corner Issue #428
Optimize Dapper connection pooling in ASP.NET Core for high-traffic APIs! Prevent connection exhaustion with factories, proper disposal, and async calls. Boost performance and resilience!
-
Tracking vs. No-Tracking Queries in EF Core 10 - When to Use Each
codewithmukesh Issue #428
Tracking vs. no-tracking queries in EF Core 10 - benchmarks, memory analysis, AsNoTrackingWithIdentityResolution, and when to use each in ASP.NET Core Web APIs.
-
How to Use Generics in C# to Write Reusable and Type-Safe Code
C# Corner Issue #427
Master C# generics! Learn how to write reusable, type-safe code, avoid duplication, and boost performance. Explore generic classes, methods, collections, and constraints.
-
Most C# devs have been burned by deferred execution at least once.
Medium Issue #427
Usually at 2am. Usually in production.
-
I Added Resilience to My .NET App. It Started Sending Duplicate Orders.
Medium Issue #426
A production war story that every .NET developer needs to read — from junior to architect.
-
Implementing Distributed Locks in .NET
Medium Issue #426
A practical approach to coordinating work across multiple instances — without adding unnecessary infrastructure
-
In-memory Cache vs Distributed Cache: When to Choose Redis?
C# Corner Issue #426
Discover the best caching strategy for your app! Compare in-memory vs. distributed caches like Redis. Learn when Redis is essential for scalable, high-performance applications.
-
-
Accelerating .NET
blog.gopenai.com Issue #425
Building cross-platform apps with .NET MAUI is powerful — but debugging issues, writing tests, and reviewing pull requests can still take… Continue reading on GoPenAI »
-
-
The Silent Performance Killer in C#: String vs. StringBuilder
Medium Issue #425
Since my early days at university, professors and online resources always gave me the same advice: “Just use String; it’s easier.” And for…
-
SOH vs LOH in .NET: What Every C# Developer Should Know About Memory
Medium Issue #425
The .NET GC doesn’t treat all allocations equally. Objects under 85,000 bytes go on the Small Object Heap (SOH). Objects at or above that…
-
Mastering Thread Safety in .NET: volatile vs ConcurrentDictionary
Medium Issue #424
A deep dive into two of .NET’s most important concurrency tools — when to use each, how they work under the hood, and the traps to avoid.
-
Stop Using Entity Framework Core Wrong (I Did For 3 Years)
Medium Issue #424
The mistakes were in the code I was most proud of.
-
Why Your .NET API Is Slow — And 6 Ways to Fix It Fast
Medium Issue #424
.NET · ASP.NET Core · Performance · C# · Web Development · Backend
-
Merging Async Streams in C#: A Missing Primitive in IAsyncEnumerable
Medium Issue #424
A minimal, dependency‑free merge operator that streams results as they complete
-
Fast .NET CLI Downloader
no dogma blog Issue #423
There are plenty of GUI download managers, but I wanted a simple one that I can call from the command line. With the newish dotnet run app.cs style, it became easier to do this. Here is the full sou...
-
How Does Garbage Collection Work in .NET Core?
C# Corner Issue #423
Master .NET Core's garbage collection! Learn how it manages memory, prevents leaks, and optimizes performance. Discover best practices for efficient apps.
-
IEnumerable vs IQueryable in C#
C# Corner Issue #423
Unlock the secrets of IEnumerable vs IQueryable in C#! Learn when to use each for optimal C# performance with databases and large datasets. Boost your app's speed!