Introduction In the latest iteration of .NET, specifically .NET 8, there's an enhanced way to manage configuration settings. This approach involves using strongly typed classes and the IOptions pattern, a…
Strongly Typed Configuration in .NET8


Introduction In the latest iteration of .NET, specifically .NET 8, there's an enhanced way to manage configuration settings. This approach involves using strongly typed classes and the IOptions pattern, a…

Introduction API mocking is an essential part of modern web development, allowing developers to simulate server responses and streamline the testing process. Mockoon is one of the simplest and most…

Introduction The Back-End-for-Front-End (BFF) pattern is a key architectural approach in modern web development. It is used for its ability to separate front-end and back-end services. This article explores how…

Introduction The single most powerful feature of NUnit, is arguably its extensive support for Data-Driven Tests through attributes like , , and . This feature allows for parameterised tests, enabling…

Introduction Mocking ILogger<T> for testing methods that use logging in C# can be done effectively using the Moq library. The ILogger<T> interface is commonly used in .NET applications for logging…

Introduction Nunit's Assert.That is a versatile assertion method. It's part of NUnit's constraint-based assert model, which is more flexible and powerful than the traditional assert model. This approach allows for…

Introduction Asynchronous programming has become a cornerstone in modern software development, particularly in C#. Its ability to improve application performance and responsiveness is unparalleled. However, with great power comes great…

Introduction Testing exceptions in C# using NUnit is an important aspect of ensuring your application handles error conditions correctly. NUnit provides a concise and expressive syntax for asserting that exceptions…

Introduction Creating a simple calculator class using Test-Driven Development (TDD) in C# involves following the TDD cycle: write a failing test, write just enough code to make the test pass,…

Introduction TypeScript has emerged as a game-changer, particularly for developers coming from a strongly-typed language background like C# or Java. It brings the power of types to JavaScript, enhancing code…