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:
Microsoft.Extensions.DependencyInjection
In my case I created a class that I … Read the rest