How to use .NET Channels in practice?

preview_player
Показать описание
What are Channels in .NET, what problem do they solve? How do they work and how to use them?
Showcase of ChannelReader in Background Services thus offloading your API endpoints that are replaced with ChannelWriters. With a demo of practical guide on optimizing your endpoints using Channels.

Good to see before:

Chapters:
00:00 What problem do Channels solve?
00:50 When to use Channels
01:37 Scope of the example
02:35 Channel implementation
04:00 Writing to Channel
04:33 Reading from Channel
06:35 Demo
Рекомендации по теме
Комментарии
Автор

Good introduction. I also liked the use of IServiceScopeFactory<T>. Slightly more slick than my usual approach.

💪

andersjuul
Автор

Fine case yet so far. But about that DI container. We can actually register an interface multiple times without overwriting. Just give it an alias and bam you're done.

LordErnie
Автор

Thank you, your advance videos are clear and to the point. keep it on

SajadJalilian