All Articles
4 articles on .NET development and cloud hosting
Async C#
ValueTask vs Task in C# — Performance Deep Dive
A thorough comparison of ValueTask and Task in C#: heap allocation differences, when ValueTask genuinely improves performance, benchmarks, and when to stick with Task.
Feb 12, 20257 min read
Async C#
How to Avoid Async Deadlocks in C#
Understand why async deadlocks happen in C# with .Result and .Wait(), how SynchronizationContext causes them, and the patterns that prevent them entirely.
Feb 5, 20257 min read
Async C#
async/await vs Task.Run in C# — When to Use Which
Understand the critical difference between async/await for I/O-bound work and Task.Run for CPU-bound work in C#, with practical examples and common mistakes to avoid.
Jan 22, 20256 min read
Async C#Pillar Guide
C# async/await Complete Guide — Task, ValueTask, ConfigureAwait
Master C# async/await from first principles: Task, Task<T>, ValueTask, ConfigureAwait(false), common pitfalls, and error handling with practical runnable examples.
Jan 17, 202510 min read