search
profile img

Bharat Dwarkani

Sep 21, 2019
bookmarks

linkandrewlock.net

In this post, you can learn how a small change in the ASP.NET Core 3.0 WebHost makes it easier to run asynchronous tasks on app startup using IHostedService.

share
favorite_border0 visibility1
favorite_border0 visibility1 share
bookmarks
profile img

Bharat Dwarkani

Aug 30, 2019
bookmarks

linkblog.marcgravell.com

Task is the original and most well known API, since it shipped with the TPL, but it means that an object allocation is necessary even for scenarios where it turns out that it was already available, i.e. awaiter.IsCompleted returned true. The ValueTask value-type (struct) acts as a hybrid result that can represent an already completed result without allocating or an incomplete pending operation.

share
favorite_border0 visibility7
favorite_border0 visibility7 share
bookmarks
profile img

Bharat Dwarkani

Aug 26, 2019
bookmarks

linkkudchikarsk.com

A very common thing to first try out when you encounter asynchronous principles in .NET is to simply mark your method with the async keyword.

share
favorite_border0 visibility54
favorite_border0 visibility54 share
bookmarks
add