Dotnet Dispose What You Own

Use when a disposable value comes from DI or a factory: dispose what this code created, nothing else — an injected dependency belongs to the container, and a pooled HttpClient belongs to the factory.

techmefr Updated

File contents

techmefr/mentis commit 57a94836b1

Frequently asked questions

npx get-skill add techmefr/dotnet-dispose-what-you-own