Azure 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 readingC# Tip: Use custom Equality comparers in Nunit tests
When writing unit tests, there are smarter ways to check if two objects are equal than just comparing every field one by one. 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
Davide's Code and Architecture Notes - Testing Pyramid vs Testing Diamond (and how they affect Code Coverage)
Testing Pyramid and Testing Diamond are two ways of managing automated tests. We’re going to learn what they are and how they are built in relation to Unit Tests, Integration Tests, and End-to-end Tests. Continue readingUnderstanding 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