Default Your FirstOrDefault in .NET 6.0

New overrides coming for commonly used linq extension methods, will you be using them?

June 22, 2021 · 4 min

Setting Content for HttpClient Testing with JSON.NET and System.Text.Json

Setting up matches with HttpClient Interception library is one thing, but configuring the data it can return is another. In this post we take a look at the functionality around setting up the content payload to return.

June 14, 2021 · 4 min

Extending HttpClient Testing With Templating

Continuing the series of HttpClient Interception library by Just Eat by looking at how to use templating to reuse the same bundle definitions across multiple tests.

June 8, 2021 · 4 min

Quick Tip - Compiler Directives and Using Aliases to Ignore Tests

Ever needed to run a test when in debug mode but not in release? Let’s show a quick tip on how to achieve this with minimal noise in your code.

June 1, 2021 · 5 min

Simple Example of Calling REST API with HttpClient in .NET 5.0

Beginner friendly usage of a HttpClient in a console application to make a simple request but using dependency injection to create HttpClient instances.

May 25, 2021 · 8 min