2. About me
• Udaiappa Ramachandran ( Udai )
• CTO/CSO-Akumina, Inc.
• Microsoft Azure MVP
• Cloud Expert
• Microsoft Azure, Amazon Web Services, and Google
• New Hampshire Cloud User Group (http://www.meetup.com/nashuaug )
• https://udai.io
3. Agenda
• What is .NET MAUI
• Platform API Access
• .NET MAUI Architecture
• Intro to Intune
• Wrapping APK and IPA
• Demo…Demo…Demo…
4. What is .NET MAUI?
• Build cross-platform native applications for desktop and mobile
• iOS, Android, Mac and Windows
• Complete Native API access in C# or XAML
• .NET MAUI generates and renders the native controls
• iOS --UIKit
• Android --Widget
• Mac--Catalyst
• Windows--App SDK & WinUI3
• One Shared Codebase/Business Logic for
• creating UI
• advanced MVVM Architecture & Data binding
• platform integrations
• navigation
• Models
• RESTful service calls
• Databases
5. Platform API Access using one Common API
• Accelerometer
• Battery
• Clipboard
• Compass
• Connectivity
• Data Transfer
• Device Display
Info
• Device Info
• File System
• Flashlight
• Geolocation
• Geocoding
• Gyroscope
• Email
• Magnetometer
• Phone Dialer
• Preferences
• Screen Lock
• Secure Settings
• SMS
• Vibration
7. Intune
• Endpoint Management
• MDM – Mobile Device Management
• Corporate owned devices not for BYOD
• MAM – Mobile Application Management
• Application Management including BYOD
• Security Management
8. Wrapping APK file
• Reference Links - https://learn.microsoft.com/en-
us/mem/intune/developer/app-wrapper-prepare-android
• Download link - https://github.com/msintuneappsdk/intune-app-wrapping-
tool-android
• Install the InstallAWT.exe in windows machine and locate the App Wrapping
Tool on path C:Program Files (x86)Microsoft Intune Mobile Application
ManagementAndroidApp Wrapping Tool on PowerShell with run as
administration
• Run Import-Module .IntuneAppWrappingTool.psm1 on powerShell
• Run Invoke-AppWrappingTool -InputPath input.apk -OutputPath ouput-
wrapper.apk -Verbose
• Copy the out file from above step (output-wrapper.apk) to sign the file
9. Wrapping IPA file
• Reference Links - https://learn.microsoft.com/en-
us/mem/intune/developer/app-wrapper-prepare-ios
• Download link - https://github.com/msintuneappsdk/intune-app-wrapping-
tool-ios
• Install the Microsoft Intune Application Restrictions Packager for iOS.dmg in
Mac machine and locate the App Wrapping Tool on path
• Go to
/Volumes/IntuneMAMAppPackager/IntuneMAMPackager/Contents/MacOS/I
ntuneMAMPackager -i input.ipa -o output-wrapper.ipa -p provisioning-
profile.mobileprovision -c SHA-256 -v true**
• Copy the output file from previous step (output-wrapper.ipa) as release file.
.NET MAUI apps can be written on PC or Mac, and compile into native app packages:
Android apps built using .NET MAUI compile from C# into intermediate language (IL) which is then just-in-time (JIT) compiled to a native assembly when the app launches.
iOS apps built using .NET MAUI are fully ahead-of-time (AOT) compiled from C# into native ARM assembly code.
macOS apps built using .NET MAUI use Mac Catalyst, a solution from Apple that brings your iOS app built with UIKit to the desktop, and augments it with additional AppKit and platform APIs as required.
Windows apps built using .NET MAUI use Windows UI 3 (WinUI 3) library to create native apps that target the Windows desktop. For more information about WinUI 3, see Windows UI Library.