1min chapter

The Unhandled Exception Podcast cover image

Dependency Injection in .NET with Steve Collins

The Unhandled Exception Podcast

CHAPTER

Newgate Packages - Should I Use Triad?

It sounds like if youre library author a use triad. Otherwise just used the normal ad singletonor a transient, yes. And i think it's how well you know that code base asto which way you jump. It's anly way you can tell the s container that if any same interface is registered twice, ore an exception. I'm not aware of one. But because it's got this sort of default last in wind and you because people write extension methods, and you could have any number of registrations coming in. Any way, just going back to the office example of like merge conflicts. You may not necessarily know what dependencies there are back further through the chain 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