I’ve written several articles about dependency injection with .NET Core. With changes since .NET Core 3, an update is necessary. This is an article of a services taking advantage of the Host class.

In the first article of this series, dependency injection is introduced, and I’m showing how a dependency injection container can be created with the Host class.

#.net core #dependency injection #dotnet #dotnetcore #.net

It’s all in the Host Class – Dependency Injection with .NET
1.35 GEEK