Pick a focused question that fits your time, stack, and interview goal.
18 results across 1 active filter
Page 1 of 1
Clarify the common misconception that await starts work on a new thread, and explain what actually happens for I/O-bound operations.
Explains when cleanup needs asynchronous I/O, how await using guarantees disposal, and how ownership, exceptions, DI lifetimes, and shutdown affect the design.
Use CancellationToken to stop wasted work when clients disconnect, timeouts expire, or background operations are being shut down.
Review async .NET code that does not accept or propagate CancellationToken and explain the practical production risk.
Explain what ConfigureAwait(false) does, why it mattered historically, and how to reason about it in ASP.NET Core and library code.
Explain why awaiting while holding synchronization resources can create deadlocks, contention, or stalled workflows.
Investigate a production API slowdown caused by blocking async calls, thread-pool pressure, and dependency waits.
Explain async/await as C# syntax over Task-based asynchronous work, with attention to non-blocking I/O and request throughput.
Explain why starting background work without awaiting or tracking it is risky in ASP.NET Core applications.
Explain how Task.WhenAll behaves when one or more tasks fail and how to inspect failures safely.
Compare synchronous enumeration with async streaming and explain when IAsyncEnumerable helps with large or delayed data.
Combines ThreadPool counters, repeated stack snapshots, and wait-event traces to distinguish blocked workers from CPU or dependency pressure.
Investigate deadlocks or starvation caused by blocking on async code with Result, Wait, or GetAwaiter().GetResult().
Diagnose thread-pool starvation caused by blocking work, unbounded concurrency, or sync-over-async in .NET APIs.
Distinguish timeouts from cancellation and explain how to combine them around external calls and request handling.
Use Task.WhenAll to run independent asynchronous I/O operations concurrently while handling exceptions, cancellation, and dependency limits.
Explain the async state machine, continuation scheduling, and exception flow when a C# method awaits a Task.
Explain why async void is usually dangerous outside event handlers and how exceptions behave differently.