.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1407 articles Updated Page 14 of 57
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
.NET Performance and Optimization articles
Page 14 of 57
Newest first
-
GC Didn’t Save Me: How I Leaked Resources Even Though .NET Has Garbage Collection
medium.com Issue #387
“GC will clean it up eventually, right?”
-
Why I Combined Redis Pub/Sub with In-Memory Cache (Instead of Just Moving Everything to Redis)
medium.com Issue #387
Most engineers, when they hit scaling issues, think: “Let’s move everything to Redis. Problem solved.”
-
Why Choosing Classes Over Structs Almost Broke My .NET App — And How Value Types Saved It
medium.com Issue #387
“Why did my API suddenly slow down under load, even though nothing in the code changed?”
-
Func vs EventCallback: They Look the Same — Until the UI Gets Involved
medium.com Issue #387
“It’s async. It compiles. It works.” So why does Blazor insist on having EventCallback?
-
String Performance: Why Some String Searches Are Slower Than You Think
dotnettips.wordpress.com Issue #387
String searching is fundamental to modern applications, yet its performance impact is often overlooked. This article explores how common string search patterns can quietly slow down your code—and how ...
-
What is AsNoTracking() in EF Core? Explained in the Easiest Way
medium.com Issue #386
Improve EF Core performance instantly! Discover how .AsNoTracking() can speed up your queries and reduce memory usage — simply explained
-
Common C# Mistakes Even Senior Developers Make
c-sharpcorner.com Issue #386
Avoid common C# pitfalls! Even experienced developers make mistakes like misusing async/await, ignoring IDisposable, and over-abstracting. Learn to write better C# code.
-
Dotnet Tip: ToList() Vs ToHashSet()
medium.com Issue #385
Recently, I had an issue which was bringing down our application in Production. Everything worked fine in Nonproduction of course since…
-
“This async method lacks ‘await’ operators and will run synchronously” — What It Really Means
mahraz-hasnat.medium.com Issue #385
If you work with C# and async/await, you’ve probably seen this warning:
-
Why Your .NET Core App Is Slow (And How to Fix It)
c-sharpcorner.com Issue #385
Optimize your .NET Core app! Discover common performance bottlenecks like blocking async code, inefficient database queries, and excessive logging. Learn proven fixes and best practices to boost speed...
-
EF Core LINQ, Linux support, and API resilience
DotNetNews Issue #384
A varied .NET roundup covering LINQ-to-SQL in EF Core, .NET 10 on Linux, ASP.NET Core performance and resilience, plus AI and security topics.
-
Why My ASP.NET Core API Started Freezing — And It Turned Out to Be Garbage Collection
medium.com Issue #383
The API worked perfectly in development. It passed all tests. Then under real traffic, it started randomly freezing for 1–2 seconds.
-
Designing Resilient ASP.NET Core APIs Using .NET 8 Resilience Pipelines
c-sharpcorner.com Issue #383
Explore .NET 8 Resilience Pipelines, Microsoft's built-in solution for building fault-tolerant ASP.NET Core APIs. Learn how to implement retry, timeout, and circuit breaker patterns for robust applica...
-
From Try-Catch Chaos to Structured Resilience: How Polly Transforms .NET Apps
medium.com Issue #382
A modern, practical look at Polly v8, resilience pipelines, and failure-by-design
-
Code That Breathes: Async/Await and Cooperative Flow in ASP.NET Core
bipinjoshi.net Issue #382
In modern software systems, the greatest cost is rarely computation—it is waiting. Applications spend significant time waiting for I/O operations, network responses, or database queries. This waiting,...
-
C# Random: The Definitive Guide to Reliable Random Numbers in .NET
medium.com Issue #382
Generating random numbers in C# is a fundamental task that frequently surfaces during critical workflows for a .NET Developer. Whether…
-
Demystifying async/await in C#: The Hidden State Machine
c-sharpcorner.com Issue #382
Internal working on async/await in C#
-
Mastering .NET 8 Resilience Pipelines: Internals, Custom Strategies, and Production-Grade Patterns
c-sharpcorner.com Issue #382
Unlock .NET 8's Resilience Pipelines for robust ASP.NET Core apps. Master strategy ordering, custom policies, tenant isolation, testing, and observability for production.
-
Why Every EF Core Developer Needs to Try Entity Framework Extensions
antondevtips.com Issue #382
Explore the best solution on the market for fast Bulk Inserts in EF Core with Entity Framework Extensions Library. BulkInsert, BulkInsertOptimized, BulkUpdate, BulkDelete, BulkMerge and BulkSynchroniz
-
Supercharging GenAI Apps with PostgreSQL and Azure AI
visualstudiomagazine.com Issue #381
Learn how to supercharge your GenAI apps with PostgreSQL and Azure AI. Lino Tadros shows how PGVector and AI Extensions in VS Code turn PostgreSQL into an intelligent foundation for high-performance G...
-
🚀React Native Windows v0.81 is here!!
devblogs.microsoft.com Issue #381
App developers require performance, stability, and cross-platform consistency such as fast startups, smooth UI, and seamless code sharing across Windows, Android, and iOS as these factors directly imp...
-
String Performance: The Fastest Way to Get a String’s Length
dotnettips.wordpress.com Issue #380
Retrieving the character count of a string in .NET has various methods: using Span with Length, Length, or Enumerable.Count(). This article will prove which is the fastest method.
-
Caching Strategies Explained: How Big Apps Stay Fast in India and Globally
c-sharpcorner.com Issue #380
Discover how caching strategies power lightning-fast apps like Instagram & YouTube. Essential for backend developers in India & globally to build scalable systems.
-
Making foreach on an IEnumerable allocation-free using reflection and dynamic methods
andrewlock.net Issue #380
In this post I describe why foreach sometimes allocates, and show how you can use DynamicMethod and Reflection.Emit to go allocation-free
-
Create your own Roslyn Analyzer !!
medium.com Issue #380
As the title indicates, today we are going to talk about code analyzers and more precisely Roslyn Analyzers, the famous .net compiler. The…