How to use IServiceCollection for WPF Dependency Injection

View profile for Nick Cosentino

Principal Software Engineering Manager at Microsoft

Made EASY - WPF Dependency Injection with IServiceCollection Dependency injection is a core part of any modern C# application -- and WPF apps are no different! In this video, I'll walk you through how we can transform a simple WPF application to take advantage of dependency injection using IServiceCollection. And you know that fun MVVM pattern that gets used heavily with WPF? Rest assured! We can inject our View Models into our Views with IServiceCollection and clean things up nicely! Watch here: https://lnkd.in/gRPZY9rJ

  • No alternative text description for this image

To view or add a comment, sign in

Explore content categories