performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1624 articles Updated Page 18 of 65
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 18 of 65
Newest first
-
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!
-
Difference between Task and Thread in C#
C# Corner Issue #423
Unlock the secrets of C# concurrency! Explore the Task vs. Thread differences, performance implications, and best practices for efficient, scalable applications.
-
What is Boxing and Unboxing in C#?
C# Corner Issue #423
Understand C#'s boxing and unboxing: converting between value and reference types. Learn how they impact performance and how to optimize your code for efficiency.
-
What are C# Record Types and When to Use Them?
C# Corner Issue #423
Explore C# record types: a powerful feature for immutable data models. Learn about value-based equality, concise syntax, and best use cases for cleaner code. Ideal for DTOs and APIs.
-
The Hidden Cost of Abstraction in C#
C# Corner Issue #423
Explore the hidden costs of abstraction in C#, including performance overhead, memory usage, and complexity. Learn how to balance abstraction for efficient code.
-
High-Performance Bulk CRUD Operations in ASP.NET Core with Oracle
C# Corner Issue #423
Boost ASP.NET Core performance with Oracle! Learn bulk CRUD using Global Temporary Tables, stored procedures, and Dapper for efficient handling of 100K+ records.
-
Why Value Types Exist in C#: The Philosophy Behind Structs
C# Corner Issue #423
Explore C#'s value types (structs) and their design philosophy. Learn how they boost performance, reduce garbage collection, and represent data efficiently. Discover when and how to use structs effect...
-
What is the Difference Between IEnumerable and IQueryable in C#?
C# Corner Issue #422
Unlock the secrets of IEnumerable vs. IQueryable in C#! Learn when to use each for optimal performance in data querying, especially with LINQ and Entity Framework. Master efficient data handling!
-
Mastering LINQ Query Optimization in ASP.NET Core: A Complete Developer’s Guide
Medium Issue #421
Introduction