How to avoid (re)building the service provider?
Prerequisites .NET 6+ Basic knowledge of dependency injection (DIP, IoC) Context Sometimes we need classes registered in DI while we are still configuring that same DI container. In my ca...
Prerequisites .NET 6+ Basic knowledge of dependency injection (DIP, IoC) Context Sometimes we need classes registered in DI while we are still configuring that same DI container. In my ca...
Versions used in this example DocumentFormat.OpenXml v3.0.0 .NET 8 The need In a project, the requirement was to generate .docx or .pdf documents filled with data provided by users through...
Preamble Well now, isn’t that title a bit provocative?! 🤠 This article is a personal reflection, and therefore only represents my own views. Holistic… what? Let’s start by defining it. While b...
Context As part of a 9-month engagement, I had the opportunity to work for an industrial client - what we commonly call a “large enterprise” 😏. And large enterprises often mean 👀 … History, proc...
Prerequisites CSVHelper v30 .NET 6+ TL;DR When configuring CSVHelper, add the following configuration to the ShouldSkipRecord property: var csvConfiguration = new CsvConfiguration() ...