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!
----
🔑 Membership & Subscriptions:
- 📨 Weekly Newsletter: weekly.devlead...
- 🏘️ Private Discord Community: / discord
- 📽️ KZitem Membership: / @devleader
🧠 Courses:
- All Courses: www.devleader....
- Getting Started with C#: dometrain.com/...
- Deep dive C#: dometrain.com/...
- C# Zero to Hero BUNDLE: dometrain.com/...
- Refactoring For C# Devs: dometrain.com/...
- [FREE] Intro to Software Development: • [FREE MINI COURSE] - I...
🗣️ Social Media & Links:
- All My Links: linktr.ee/devl...
- Blog: www.devleader.ca/
- TikTok: / devleader
- LinkedIn: / nickcosentino
- Threads: threads.net/@d...
- Twitter: / devleaderca
- Facebook: / devleaderca
- Instagram: / dev.leader
- GitHub: github.com/nco...
- Twitch: / devleaderca
- KZitem: / @devleader
❤️ Affiliations & Products/Services That I Love:
- VPS hosting from RackNerd: my.racknerd.co...
- VPS hosting from Contabo: www.jdoqocy.co...
- My newsletter platform ConverKit: convertkit.com...
- My newsletter referral system SparkLoop: dash.sparkloop...
- My AI shorts helper Opus Clip: opus.pro/?via=...
- I try to help answer questions at Quora: www.quora.com/...
- My favorite computer parts store Newegg: click.linksyne...
- My favorite supplement store Bulk Supplements: glnk.io/63qn/d...
----
#dotnet #csharp #wpf #frontend
Негізгі бет Made EASY - WPF Dependency Injection with IServiceCollection
No video
Пікірлер: 13