Daily Shaarli
April 5, 2022
Update on using HostBuilder, Dependency Injection and Service Provider with .NET Core 3.0 WPF applications | Around and About .NET World
So, after creating a .NET Core WPF application, we need to add the NuGet package Microsoft.Extensions.Hosting to the project. It will allow us to use HostBuilder and, moreover, it automatically imports a bunch of other required packages.