performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1586 articles Updated Page 16 of 64
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 16 of 64
Newest first
-
Beyond /health: Building Self‑Monitoring .NET Services
medium.com Issue #431
Turning health checks into a continuous runtime signal
-
Your EF Core Queries Are Lying to You: The N+1 Problem You’re Probably Shipping Right Now
serkanozbeykurucu.medium.com Issue #431
You wrote clean code. Your unit tests pass. The feature works in development. Then it hits production with 10,000 users, and suddenly the…
-
How to Optimize Memory Usage with C# Garbage Collection
c-sharpcorner.com Issue #431
Unlock C# garbage collection! Learn how it works, optimize memory usage, and boost performance in ASP.NET Core apps. Essential for scalable .NET development.
-
How .NET handles exceptions internally (and why they're expensive)
blog.elmah.io Issue #431
What really happens when you write throw new Exception() in .NET? Microsoft guidelines state that When a member throws an exception, its performance can be orders of magnitude slower. It's not just a...
-
C# Records Explained Like a Pro
medium.com Issue #431
(With Real-World Use Cases & Performance Insights)
-
How to Implement a Binary Search Algorithm in C# With Example
c-sharpcorner.com 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.com 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.com 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.com 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-sharpcorner.com 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-sharpcorner.com 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.com 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-sharpcorner.com 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.com Issue #427
Usually at 2am. Usually in production.
-
I Added Resilience to My .NET App. It Started Sending Duplicate Orders.
medium.com Issue #426
A production war story that every .NET developer needs to read — from junior to architect.
-
Implementing Distributed Locks in .NET
medium.com 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-sharpcorner.com 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.com 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.com 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.com 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.com 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
pushpadangi.medium.com Issue #424
.NET · ASP.NET Core · Performance · C# · Web Development · Backend