performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1624 articles Updated Page 23 of 65
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 23 of 65
Newest first
-
“This async method lacks ‘await’ operators and will run synchronously” — What It Really Means
Medium 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# Corner 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 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# Corner 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 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
Bipin Joshi .NET | Thus said a Byte • Insights on .NET and Web Development 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 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# Corner Issue #382
Internal working on async/await in C#
-
Mastering .NET 8 Resilience Pipelines: Internals, Custom Strategies, and Production-Grade Patterns
C# Corner 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
Dev Tips 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
Visual Studio Magazine 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!!
Microsoft Dev Blogs 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
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…