Platform-Specific Code in .NET MAUI Using Dependency Injection
Автор: Gerald Versluis
Загружено: 2021-12-20
Просмотров: 13562
There are different ways to write platform-specific code in .NET MAUI. One of those ways is by leveraging dependency injection. In this video we will learn how to do that and see how it compares to doing it using the multi-target approach we've seen in a previous video.
💝 Join this channel to get access to perks:
https://www.youtube.com/channel/Geral...
🛑 Don't forget to subscribe to my channel for more cool content: https://www.youtube.com/GeraldVerslui...
🐦 Follow me on Twitter: / jfversluis
🤝 Join the MAUIverse Discord server: https://mauiverse.net/discord
🔗 Links
Sample code repo: https://github.com/jfversluis/MauiPla...
Multi-Targeting Approach Video: • How To Write Platform-Specific Code in .NE...
⏱ Timestamps
00:00 - Intro: Platform Code in .NET MAUI with Dependency Injection
00:55 - .NET MAUI Multi-Targeting Recap
02:09 - Implement Shared Code Interface
03:27 - Implement Android Specific Code
05:17 - Register in Dependency Container
06:58 - Implement iOS Specific Code
11:49 - Outro
🎥 Video edited with Camtasia (ref): https://techsmith.z6rjha.net/AJoeD
🙋♂️ Also find my...
Blog: https://blog.verslu.is
Twitch: / jfversluis
All the rest: https://jfversluis.dev
#dotnetmaui #platformspecific #dependencyinjection #dotnet6 #multitargeting #singleproject
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: