Tag: options-pattern


  • A Better Way to Inject Configuration in .NET

    Hey there, fellow .NET developers! If you’ve been building apps for a while, you’re probably no stranger to grabbing settings from appsettings.json using the IConfiguration interface. It’s straightforward and gets the job done. But let’s be realโ€”it’s not without its quirks. Imagine you’re in the middle of a late-night coding session, and a sneaky typo…