C# - How to mock a HttpClient dependency for tests - updated 2023
In this post I will go through how you can mock the HttpClient class in C#. This is often needed as almost everything we develop these »
In this post I will go through how you can mock the HttpClient class in C#. This is often needed as almost everything we develop these »
I recently found out that I had a soft 404 on one of my "tag" pages [https://peterdaugaardrasmussen.com/tag/error/], which are pages »
Previously this guide was only on using nguid with the Resharper extensions, I have extended it to include C# Interactive, which you can use without any »
You can easily iterate through each item in a list, run a function on each and wait for all to finish. All you have to do »
I have been part of many scrum teams in my years as a consultant and recently as an employee. In this post I will share some »
In this post I will share some of my favourite and performance optimising shortcuts. These shortcuts make life easier as a developer and may reduce some »
I had a conversation the other day on the topic of object initializers and what they do. In this post I will briefly elaborate on what »
During my studies for a Master's degree I read a lot of books. Sometimes good books and sometimes books that seem to be written »
Starting out programming can be daunting. Sometimes you will find yourself hitting a wall again and again and you might sit for hours looking at the »
I recently had to reinstall Visual Studio. Every time I do this I miss some settings and something is not right. This time my repositories were »