Accessing Native Platform APIs in .NET MAUI

James Montemagno

Let’s look at the many ways of accessing native platform APIs with .NET MAUI including everything built into the “Essentials” of .NET MAUI, tapping into platform specific code, using dependency injection, and so much more!

Links:
Platform Integration Docs: https://learn.microsoft.com/dotnet/maui/platform-integration/?WT.mc_id=friends-0000-jamont
.NET MAUI on GitHub: https://github.com/dotnet/maui?WT.mc_id=friends-0000-jamont
Source Code: https://github.com/jamesmontemagno/MauiApp-DI?WT.mc_id=friends-0000-jamont

Join this channel to get access to perks:
https://www.youtube.com/channel/UCENTmbKaTphpWV2R2evVz2A/join

👕 Buy some swag! – https://jamesmontemagno.myspreadshop.com/
☕️ Buy me a coffee – https://www.buymeacoffee.com/jamesmontemagno

Follow:
👨‍💻 GitHub: https://github.com/jamesmontemagno
🦜 Twitter: https://twitter.com/jamesmontemagno
📄 Website: https://www.montemagno.com
📰 Newsletter: https://newsletter.montemagno.com/

Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me… James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.

What is on my hat? It is the CLE clothing logo because I am from Cleveland! Checkout their awesome CLE merch: https://cleclothingco.myshopify.com/

What is that art on my wall? It is an original piece from the French street artist Gregos of La Butte Montmartre: https://www.instagram.com/p/BceZ1oNHiQx/

Chapters:
00:00 – Intro
01:00 – Why native APIs are important
02:15 – How to access platform APIs
04:00 – Access networking APIs cross-platform
07:50 – Accessing with Dependency Injection
10:00 – Access platform specific APIs
17:40 – Best practices for accessing platform APIs
22:00 – Wrap-up, NuGets, sharing code, and more

My Setup:
📷 Canon M50 Mark II – https://amzn.to/3P8R7lp
💡 Nanoleaf Elements Lights – https://amzn.to/3umwJVW
🎙 Blue Spark Microphone – https://amzn.to/3qgtYkq
🎙 Blue Pop Filter – https://amzn.to/3jEWM3r
🤳 Rode Microphone Arm – https://amzn.to/2Z68AlE
🎧 Sony MDR7306 Headphones – https://amzn.to/372jxta
📲 Stream Deck – https://amzn.to/373Uk1n
📹 Elgato Cam Link – https://amzn.to/3a9eGbh
📷 GoPro Hero – https://amzn.to/374lm90
🖱 MX Master 2S Mouse – https://amzn.to/3d7J2gj
⌨️ Tecware Phantom Keyboard – https://amzn.to/3aUP4y9

#dotnetmaui #dotnet #androiddeveloper #iosdeveloper #windowsdeveloper #visualstudio