Advanced Integration Tests for .NET 7 API with WebApplicationFactory and NUnit
Integration Tests are incredibly useful: a few Integration Tests are often more useful than lots of Unit Tests. Let’s learn some advanced capabilities ofWebApplicationFactory
.
Continue reading
How to automatically refresh configurations with Azure App Configuration in .NET
ASP.NET allows you to poll Azure App Configuration to always get the most updated values without restarting your applications. It’s simple, but you have to think thoroughly. Continue readingAzure App Configuration and .NET API: a smart and secure way to manage configurations
Centralizing configurations can be useful for several reasons: security, consistency, deployability. In this article, we’re gonna use Azure App Configuration to centralize the configurations used in a .NET API application. Continue readingHow to add Dependency Injection, Configurations, and Logging in a .NET 7 Console Application
By default, you cannot use Dependency Injection, custom logging, and configurations from settings in a Console Application. Unless you create a customHost
!
Continue reading
Understanding IOptions, IOptionsMonitor, and IOptionsSnapshot in .NET 7
There are several ways to handle configurations in a .NET Application. In this article, we’re going to learn how to useIOptions<T>
, IOptionsSnapshot<T>
, and IOptionsMonitor<T>
Continue reading