C# - What is the "??=" null-coalescing assignment operator?
Almost 5 years ago I made a post on the null conditional operator [https://peterdaugaardrasmussen.com/2016/05/28/c-the-null-conditional-operator-and-the- »
Almost 5 years ago I made a post on the null conditional operator [https://peterdaugaardrasmussen.com/2016/05/28/c-the-null-conditional-operator-and-the- »
Almost 5 years ago I made a post on the null-conditional operator [https://peterdaugaardrasmussen.com/2016/05/28/c-the-null-conditional-operator-and-the- »
Asp.net core has built in dependency injection. If you have a standard Asp.net core project you will find the method ConfigureServices in your startup. »
When you wish to use dependency injection in Asp.net core you have three choices for the lifetime scope of your dependency. The three choices are »
I have not yet found a situation where I needed a thread instead of a Task. Threads are a lower level concept when compared to tasks. »
In this post I demonstrate how you can PUT or POST JSON using the HTTPClient in C#. The simplest way to do this is using the »
It is quite easy to send XML using the HttpClient. In order to do this you need to use the StringContent object, provide it with an »
Value tuples were introduced with C# 7. The original tuples have been around since 2010 when they were released with .Net Framework 4.0. Even though »
A year ago I made a post on the absence of the DoesNotThrow assertion in xUnit. In this post I show how you can assert if »
Earlier this year I made a post on how to make a list of named value tuples. I decided to make a new post with some »