How to use CancellationTokens in .NET to save your server resources

preview_player
Показать описание
Visual Studio:

Postman:

For more information about CancellationToken:

#csharp #dotnet #dotnetcore #performance #visualstudio #postman
Рекомендации по теме
Комментарии
Автор

This is an excellent explanation, straight to the point with a good and simple example. When passing the cancellationtoken to the endpoint function as an argument, it seems that you do not need to specify a cancellationtokensource or pass the token instance to that function? why is this? (im not too familiar with apis) also just want to say that it was a great video, you sir deserve an upvote for this one :)

ShadwBXr