A simple NavigationService with Dependency Injection for WPF on .NET Core 3.0

added by DotNetKicks
5/21/2019 3:07:00 PM

1 Kicks, 164 Views

We already talked about how to use Dependency Injection and Service Provider with WPF on .NET Core 3.0. In that occasion we said that windows themselves are registered in the IoC, so that we need to use the ServiceProvider to get and load them, for example: This approach works correctly, but we need to use...