user@runtime:~/blog$ grep -l "async" posts/*.md

async

15 posts tagged with async.

2026-03-28 9m

.NET 11 Preview 2: Runtime Async, Native OpenTelemetry, and AI-Ready EF Core

A practical walkthrough of the standout features in .NET 11 Preview 2, from runtime-native async and built-in OpenTelemetry tracing to vector search in EF Core and a resilient Kestrel parser.

2026-02-23 4m

Streaming Data with SignalR in .NET

Use SignalR's server-to-client and client-to-server streaming to handle continuous data flows like live feeds and file uploads.

2026-01-12 4m

PeriodicTimer for Clean Background Work in .NET

Replace Task.Delay loops with PeriodicTimer for reliable, cancellable periodic background work in .NET hosted services.

2026-01-05 5m

Diagnosing and Preventing Deadlocks in Async .NET Code

Identify the root causes of async deadlocks in .NET, learn diagnostic techniques, and apply patterns that prevent them.

2025-12-29 4m

SemaphoreSlim for Async Throttling and Rate Limiting

Use SemaphoreSlim to limit concurrent access to resources in async code, preventing overload of databases, APIs, and shared services.

2025-12-25 4m

IAsyncEnumerable and Async Streams in .NET

Stream data asynchronously with IAsyncEnumerable, reducing memory usage and enabling reactive-style processing over async data sources.

2025-12-22 4m

CancellationToken Best Practices in .NET

Learn how to properly propagate, link, and respond to CancellationTokens throughout your async .NET code.

2025-12-18 4m

Task.WhenAll vs Task.WhenAny: Patterns for Concurrent Operations

Master Task.WhenAll and Task.WhenAny patterns for running concurrent async operations, with error handling and timeout strategies.

2025-12-15 4m

Parallel.ForEachAsync: Controlled Async Concurrency

Use Parallel.ForEachAsync to process collections concurrently with built-in degree-of-parallelism control and cancellation support.

2025-12-11 4m

System.Threading.Channels for Producer-Consumer Pipelines

Use System.Threading.Channels to build efficient, back-pressure-aware producer-consumer pipelines in .NET.

2025-12-08 4m

SynchronizationContext Demystified

Understand what SynchronizationContext is, how different .NET platforms implement it, and why it shapes async behaviour.

2025-12-04 4m

ConfigureAwait Explained: When and Why It Matters

Understand what ConfigureAwait(false) actually does, when to use it, and why library authors care about it more than application developers.

2025-12-01 4m

Async/Await Under the Hood: How the Compiler Builds State Machines

Explore how the C# compiler transforms async methods into state machines, and what actually happens when you await a Task.

2025-11-08 4m

Testing Async Code in .NET: Patterns and Pitfalls

Practical patterns for testing asynchronous .NET code correctly, including common mistakes that lead to false-passing tests.

2025-10-06 4m

ValueTask vs Task: When to Use Which

Understand when ValueTask<T> offers genuine performance benefits over Task<T> and when it introduces unnecessary risk.