Taking advantage of configuration in .net core 2.2+ console applications

This is related my prior article on dependency injection in .net core 2.2 console apps. I am assuming you’ve read that before coming here. Otherwise this will make no sense.

We’ve established a basic console application which can now use dependency injection using the .net core framework (2.2 or later). From here we need to add a couple of necessary elements.

  • Configuration
  • Logging
  • Database context configuration for Entity Framework…