Dependency injection and configuration of an ASP.NET CORE 3.x console app

Dependency injection and configuration of an ASP.NET CORE 3.x console app

Dependency Injection is an increasingly popular and prominent design pattern in modern application development.

ASP.NET Core 3.x is platformed on top of the generic host. A versatile object that let's us encapsulates an app's resources at start up and configure dependency injection.

I'm going to share how I configured my generic host with a bare-bones approach you can adapt. It implements logging, autofac and is configurable with appsettings.json.

Read

#Tags