Pick a focused question that fits your time, stack, and interview goal.
How much time do you have?
Show one-drill sessions you can finish now.
7 results across 1 active filter
Page 1 of 1
Design background jobs that handle cancellation, retries, and duplicate execution without corrupting external state.
Use CancellationToken to stop wasted work when clients disconnect, timeouts expire, or background operations are being shut down.
Explain why CancellationTokenSource lifetime matters and how careless timeout creation can leak timers or resources.
Review async .NET code that does not accept or propagate CancellationToken and explain the practical production risk.
Explain how a .NET BackgroundService should handle cancellation, in-flight work, and application shutdown.
Defines what happens when several operations fail, cancellation arrives, or only part of a parallel batch completes, without orphaning work or hiding errors.
Distinguish timeouts from cancellation and explain how to combine them around external calls and request handling.