Dependency injection (with IOptions) in Console Apps in .NET Core
Dependency injection (with IOptions) in Console Apps in .NET Core
.NET Core / C#, Console Application, Dependency Injection, IOptions

Dependency injection (with IOptions) in Console Apps in .NET Core

When you are used to building web applications, you kind of get hooked to the ease of Dependency Injection (DI) and the way settings can be specified in a JSON file and accessed through DI (IOptions). It’s only logical to want the same feature is your Console app.