Coding Shorts: .NET 8 - Introducing Keyed Services

Опубликовано: 30 Октябрь 2024
на канале: Shawn Wildermuth
2,436
239

Another in my .NET 8 coding shorts, I introduce you to a new feature to have multiple instances of a dependency inside the service collection. Let me show you how they work:

You can hire me too! You can reach me at my new website:
https://shawn.wildermuth.com

00:00 Introduction
01:07 The Problem
02:03 Using Keyed Services
03:43 Non-Singleton Keyed Services
04:26 Keyed Service from IServiceProvider
04:56 Wrapping Up

If you like this video, you might like other videos in my Instructional Videos:
   • Instructional Videos