The Unhandled Exception Podcast cover image

Dependency Injection in .NET with Steve Collins

The Unhandled Exception Podcast

00:00

Ise Containers

With these ise containers, if you've cot a concrete type which implements are disposable, so it needs to call this disposed method. How is that handled by the ose containers? So in most cases, the container will go and dispose an instance for you if it detects that there's an ire disposable into face on that particular class. But there's a couple of times where it won't necessarily do that for you. And one of those times is if you use the signature, where you go and instantiate that class within your registration code. What happens there is, because the container hasn't instantiated it self, it doesn't know it's got to dispose of it. That

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app