🔥 How to use CancellationToken in ASP.NET Core WebApi

Опубликовано: 10 Октябрь 2024
на канале: Saeed Esmaeelinejad
8,427
343

In this video, I covered all possible ways to use CancellationToken in ASP.NET Core WebApi.

Github repo:
https://github.com/sa-es-ir/Cancellat...

#dotnet #aspnetcore #asyncawait #asynchronous #cancellation

Moments:
00:00 - Intro
01:14 - Check the code base
02:14 - Api without CancellationToken
04:30 - Using CancellationTokenSource object
07:02 - Using Request CancellationToken
09:05 - Who creates the HttpContext object?
12:36 - Using CancellationToken in EF Core
18:53 - Closing

--------------------------------------------------
======FOLLOW ME=========
LinkedIn Profile:
  / sa-es-ir  

Github:
https://github.com/sa-es-ir