Test Driven Development: In Practice
A practical guide to implementing Test Driven Development (TDD) by building a message service with .NET, XUnit, and Moq.
Chris Sainty — Software engineer, author, and open-source contributor focused on C# and .NET web development, best known for Blazor libraries, writing, and community education.
88 articles from this blog
A practical guide to implementing Test Driven Development (TDD) by building a message service with .NET, XUnit, and Moq.
Explains three methods for unit testing C# code that uses HttpClient, including wrapping it with an interface for mocking.
An introduction to Test Driven Development (TDD), explaining its core principles, the Red-Green-Refactor cycle, and the author's personal experience with it.
A step-by-step tutorial on containerizing an ASP.NET Core application using Docker, covering setup, Dockerfile creation, and image building.
Key considerations for migrating from ASP.NET to ASP.NET Core 2, covering Dependency Injection, project files, and Razor Pages.
A technical guide on using Docker, Nginx, and Docker Compose to host multiple websites with SSL on a single VPS via a reverse proxy setup.
A guide to setting up and creating your first ASP.NET Core application on a Mac, covering prerequisites and using Yeoman.
A technical guide on configuring HTTPS with Nginx and Let's Encrypt, focusing on solving a www subdomain redirect and certificate issue.