Channels with ASP.NET Core Web API for easy pub/sub implementation

Опубликовано: 12 Октябрь 2024
на канале: DotNet Core Central
3,627
117

I will explain how to use the Channel class with ASP.NET Core Web API in this video.

00:00 - Introduction
00:30 - The Application that will use Channel
01:10 - Channel subscriber class
04:05 - Channel publisher in Web API Controller
05:00 - Dependency injection
06:20 - Testing the Web API
07:00 - Multiple publishers/producers in Web API
07:50 - Web API asynchronous process demonstration
09:35 - How does having multiple subscribers/consumer impacts

#csharp #csharp11 #dotnet7 #dotnet7

IHostedService video:    • Running Background tasks using IHoste...  

Some of my popular videos:

Elasticsearch with .NET and introduction:    • An Introduction to Elasticsearch (Bui...  

Hangfire Scheduling an introduction:    • Scheduling recurring jobs with Hangfi...  

ASP.NET Core Authentication with JWT (JSON Web Token):    • ASP.NET Core Authentication with JWT ...  

Running Background tasks using IHostedService and BackgroundService (In ASP.NET Core 3.1):    • Running Background tasks using IHoste...  

How to build an API Gateway in ASP.NET Core using Ocelot (Build API Gateway in a few minutes):    • How to build an API Gateway in ASP.NE...  

My blog site: https://dotnetcorecentral.com