performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1586 articles Updated Page 22 of 64
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 22 of 64
Newest first
-
String Performance: The Fastest Way to Get a String’s Length
WordPress 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# Corner 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
Andrew Lock | .NET Escapades 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 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…
-
.NET MAUI Apps Architecture and Use Cases
Medium Issue #379
Developers love .NET MAUI apps for crafting high-performance solutions across multiple platforms from one codebase.
-
10 Reasons to Upgrade to .NET 10
Dev Tips Issue #379
Explore reasons to upgrade to .NET 10 and C# 14: Long-Term Support (LTS) Release, Performance improvements in ASP.NET Core and .NET, File-Based Apps, Server-Sent Events (SSE), Extension Members in C#
-
Making LINQ Fast: A Simple Guide to High-Performance Queries
Medium Issue #379
We’ve all been there: you write a beautiful, one-line LINQ query that feels like a work of art. It’s readable, it’s elegant, and it does…
-
Visual Studio Tips That Save Hours
C# Corner Issue #378
Unlock peak productivity in Visual Studio! Discover 14 time-saving tips, from AI-powered IntelliCode to debugging secrets and hot reload. Stop wasting time, start coding smarter!
-
.NET 10: Zip and GZip API Improvements
Anthony Giretti's .NET blog Issue #378
Introduction Compression APIs like ZipArchive and GZipStream have been part of .NET for years. They’ve...
-
Displaying Large amounts of Records in ASP.NET Core MVC
C# Corner Issue #378
Master displaying large datasets in ASP.NET Core MVC! Learn efficient techniques like Razor tables, AJAX partials, and server-side DataTables for optimal performance.
-
Object Storage: Using Minio with .NET Core
Medium Issue #378
Let’s Imagine that you (a great developer) are building an app in which you want to be able to store files/images/documents or … anything
-
Modern Task Management in .NET with ConfigureAwaitOptions — Advanced ConfigureAwait
Medium Issue #377
The Task.ConfigureAwait(false) we’ve been using for years is no longer enough on its own. With .NET 8, a new enum has been introduced that…
-
Building Zero-Allocation Parsers in C# .NET
Medium Issue #377
Creating a zero allocation parser in C# using ref struct.
-
10 C# Features You’re Probably Using Wrong
C# Corner Issue #377
Avoid common C# pitfalls! Learn to use async/await, LINQ, records, and other features correctly for better performance, readability, and maintainability. Level up your C# skills!
-
The .NET Core Feature That Saved Us 40% Cloud Cost Overnight
Medium Issue #376
When working in the cloud, one fear always looms overhead — 👉 The Monthly Bill Continue reading on Dot Net, API & SQL Learning »
-
EF Core Tricks for Bulk Reading Large Data Sets
Medium Issue #376
Dive into the EF Core Tricks for Bulk reading Large Data Sets by exploring the 5 methods of Entity Framework Extensions of ZZZ Projects
-
What the CLR Really Does While Your App Is Running
Medium Issue #376
Most developers know CLR stands for Common Language Runtime. Fewer developers know what it’s actually doing every millisecond your app is…
-
7 Entity Framework Core Optimization Techniques
Medium Issue #376
A summary of my work during my internship on a picking command handler, optimizing database operations in .NET applications with examples…
-
⚠ Redis Batch Deadlock — A Hidden Async Bug
Medium Issue #376
While working with StackExchange.Redis, I faced a strange issue. My code looked correct, but this line never completed:
-
Extremely FAST Caching Repository With Decorator Pattern in ASP.NET Core
Medium Issue #376
If You want the full source code Click :Here
-
Code Coverage in .NET: % to confidence
Medium Issue #376
When we say “code coverage,” most people think it’s a single percentage that tells whether our tests are “good.” In reality, coverage is a…
-
How to Improve Performance in C# Applications
C# Corner Issue #375
Boost C# app performance! Learn proven techniques: reduce allocations, use async, optimize data structures, and more. Build faster, scalable, reliable apps.
-
Solving the Distributed Cache Invalidation Problem with Redis and HybridCache
Milan's .NET Weekly Issue #375
Learn how to solve the distributed cache invalidation problem in .NET 9 by implementing a Redis Pub/Sub backplane to synchronize HybridCache instances across multiple nodes.
-
Collection Performance: High-Performance Collection Randomization in .NET
WordPress Issue #375
The article examines shuffling options in .NET 8, highlighting the performance of three APIs: LINQ.Shuffle(), Random.Shuffle(), and RandomNumberGenerator.Shuffle().
-
Why .NET Core Still Feels Like the Future of Backend Development
C# Corner Issue #375
.NET Core remains a top choice for backend development in 2026. Explore its cross-platform capabilities, performance, cloud-native features, and robust security. A future-proof ecosystem!