- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
How do you resolve scoped services in a background service?
Find out how you can resolve scoped and transient service lifetimes in an ASP.NET Core background service by creating a new scope.
You'll also learn how to create a new scope when using multithreading and why it's important to do so.
This is part 5 of our dependency injection in ASP.NET Core course
The full course ► https://www.youtube.com/playlist?list=PLNLqfquXi7rs_B1IJAswkXnRpn9_j7eOI
💻 Download the code example💻
https://www.roundthecode.com/dotnet-code-examples/dependency-injection-asp-net-core?utm_source=youtube&utm_medium=referral&utm_campaign=zlsoXIsPxxo+-+video+content+%28code+example%29
► Read the tutorial:
https://www.roundthecode.com/dotnet-tutorials/how-do-you-resolve-scoped-services-background-service?utm_source=youtube&utm_medium=referral&utm_campaign=zlsoXIsPxxo+-+video+content+%28tutorial%29
🎓 .NET tutorials, code examples and coding challenges 🎓
https://www.roundthecode.com/?utm_source=youtube&utm_medium=referral&utm_campaign=zlsoXIsPxxo+-+video+content+%28roundthecode%2Ecom%29
► Chapters
0:00 The problem with scoped and transient services
0:56 Create a new scope in a background service
4:49 Multithreading
7:34 Unit testing dependency injection
Видео How do you resolve scoped services in a background service? канала Round The Code
You'll also learn how to create a new scope when using multithreading and why it's important to do so.
This is part 5 of our dependency injection in ASP.NET Core course
The full course ► https://www.youtube.com/playlist?list=PLNLqfquXi7rs_B1IJAswkXnRpn9_j7eOI
💻 Download the code example💻
https://www.roundthecode.com/dotnet-code-examples/dependency-injection-asp-net-core?utm_source=youtube&utm_medium=referral&utm_campaign=zlsoXIsPxxo+-+video+content+%28code+example%29
► Read the tutorial:
https://www.roundthecode.com/dotnet-tutorials/how-do-you-resolve-scoped-services-background-service?utm_source=youtube&utm_medium=referral&utm_campaign=zlsoXIsPxxo+-+video+content+%28tutorial%29
🎓 .NET tutorials, code examples and coding challenges 🎓
https://www.roundthecode.com/?utm_source=youtube&utm_medium=referral&utm_campaign=zlsoXIsPxxo+-+video+content+%28roundthecode%2Ecom%29
► Chapters
0:00 The problem with scoped and transient services
0:56 Create a new scope in a background service
4:49 Multithreading
7:34 Unit testing dependency injection
Видео How do you resolve scoped services in a background service? канала Round The Code
Комментарии отсутствуют
Информация о видео
21 июля 2025 г. 11:00:51
00:08:02
Другие видео канала




















