Chris Sainty
Talking about ASP.NET Core & Angular

Test Driven Development: In Practice

This is part two of a series: What is Test Driven Development Test Driven Development: In Practice Previously I talked about the basics of Test Driven Development or TDD, as well as some of the rules around the practice. While it's important to get the theory, lets face facts, it can be a little dry…

Unit Testing with the HttpClient

There has been a lot of discussion about how and even if the HttpClient class is testable. And it very much is. So I wanted to write a quick post giving you three options that you can use when you need to write tests involving the HttpClient. Let's assume we have a simple class which gets a list of…

Chris Sainty By Chris Sainty | Posted in unit-testing | 3 min read

What is Test Driven Development

This is part one of a series: What is Test Driven Development Test Driven Development: In Practice At the start my career I had a bit of a love-hate relationship with unit testing. Several times I'd swing from "they are totally indispensable" to "well, I'll do them if I get time"…

Dockerising an ASP.NET Core application

Docker is a technology which allows applications to be packged up and run in containers. In this post we will go through how to achieve this with an ASP.NET Core application. All code from this post is available on my GutHub account. And can be found here. Step 1 - Getting Setup I am going to be doi…

ASP.Net to ASP.Net Core 2 - 5 things to know

When I first heard about ASP.NET Core I couldn't wait to try it. But for me, v1 and v1.1 just didn't have enough APIs. Welcome ASP.NET Core 2! The ASP.NET Core 1 framework had around 14-16 thousand APIs available. With ASP.NET Core 2 that number is now in the region of 36 thousand. With that I have…

Chris Sainty By Chris Sainty | Posted in aspnet-core | 3 min read