Null result returned when getting section or connection string from Configuration
I had an error when using Dependency Injection in a Console App. I was trying to access the configuration to get a section or a connection string, and the result was always null. The article relates only to the use of Host.CreateDefaultBuilder(). in a Console Application. The Problem […]