In the previous chapter, we learned about building our Model-View-ViewModel (MVVM) application architecture and how all the pieces fit together in our application. MVVM applications thrive when they use Dependency Injection, which decouples the deeper business rules from the ViewModels. We are going to continue building up our MVVM library by adding Dependency Injection into it and configure our logging so we can use a simple ILogger interface in any class.
9. Dependency Injection and Logging
Get Getting Started with the Uno Platform and WinUI 3: Hands-On Building of Cross-Platform Desktop, Mobile, and Web Applications That Can Run Anywhere now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.