Topic
Resource ownership, IDisposable, IAsyncDisposable, finalizers, dependency-injection lifetimes, and cleanup boundaries.
Practice items tagged with Disposal and Lifetime.
Shows how publisher-to-subscriber references can retain objects and how to clean up event-based lifetimes.
Covers chunking, bounded concurrency, scoped dependencies, progress, retries, and avoiding full-dataset memory spikes.
Explains how IHttpClientFactory separates short-lived clients from pooled handlers and how concurrency, DNS, resilience, and DI lifetimes still require judgment.
Distinguishes deterministic cleanup from finalization and explains resource ownership in normal application code.
Explains asynchronous cleanup for resources whose shutdown path needs async work, such as flushing or closing remote connections.
Introduces lower-level allocation tools while emphasizing measurement, ownership, and safe usage.