How To Write Platform-Specific Code in .NET MAUI

Опубликовано: 01 Январь 1970
на канале: Gerald Versluis
10,544
375

At some point you will find yourself needing to write some platform code while using .NET MAUI. Luckily, this is very much possible! In this video we will see how to leverage the multi-targeting approach in .NET MAUI single project to write platform-specific code.

💝 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 Discord server:   / discord  

🔗 Links
Sample code repo: https://github.com/jfversluis/MauiPla...
Windows Subsystem for Android Video:    • Windows Subsystem for Android: Run an...  

⏱ Timestamps
00:00 - Intro: Platform Code in .NET MAUI
00:15 - Amazing Members Shoutout!
01:11 - Understanding Platform Code in .NET MAUI
03:14 - Create Partial Class in Shared Code
05:58 - Implement Platform Specific Android Code
07:58 - Implement Platform Specific iOS Code
10:48 - Outro: Other Ways To Do This?

🎥 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 #maui #dotnet6 #multitargeting #singleproject


Смотрите видео How To Write Platform-Specific Code in .NET MAUI онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Gerald Versluis 01 Январь 1970, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 10,544 раз и оно понравилось 375 людям.