Tag: dotnet
All the articles with the tag "dotnet".
Revenge of the Extension Members in C# 14
Published: at 11:42 AMThe third in a series about things that you can do in JavaScript which are not so easy in C#. This post continues our earlier exploration of dynamic properties, presenting the ultimate solution now that we have Extension Members syntax in C# 14 🥷🏻
Detecting blocking calls using async in C#
Published: at 03:51 PMEven when you know that blocking calls in async code should be avoided, how can you be sure there aren't any blocking calls in your application? Can you trust all of your NuGet dependencies? 🫣
Catching async void exceptions in C#
Published: at 07:29 PMOne of the big reasons to avoid `async void` methods is that exception control flow statements don't work... so it can crash your whole application. But what if we could catch those exceptions? 🥷🏻