2min chapter

The Unhandled Exception Podcast cover image

Dependency Injection in .NET with Steve Collins

The Unhandled Exception Podcast

CHAPTER

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

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode