How to .NET Core 3.0 Wpf application use Dependency Injection 08-02-202219-10-2019 by Maytham Fahmi I have recently come across this requirement to a project I am working on that requires Dependency Injection. For this we need to install/add nuget package to our Wpf project: In my case I created a class that I want to use for logging called it LogBase, so in my App.xaml.cs class add following, this…. ShareTweetSharePin