EIEIOTECHNOVATION
← Training programmes

EIEIO / PROGRAMMING & DEVELOPMENT

.NET MAUI for Xamarin Developers

Course outline

4 days

Duration

.NET MAUI for Xamarin Developers

4 days

Prerequisites

  • Good Knowledge and hands on Knowledge of Xamarin Forms

Objective

  • Leveraging the Xamarin Forms knowledge to to develop Multi Platform Apps using .NET MAUI
  • Steps to convert Xamarin Forms Components to .NET MAUI
  • What’s new in .NET MAUI

Hardware/Software Requirements

  • Mac OS X Machines with latest Xcode installed and updated.
  • Visual Studio 2022 installed with .NET MAUI component
  • Android 4.2.2 and Android 5.0 SDKs ( and other Client’s targeted Kits if any) installed (Auto instals when installing Visual Studio 2019 (Community works)
  • Windows 10/11 with Visual Studio 2022 installed with .NET MAUI component

Day 1

  • Understanding .NET MAUI as a development Kit.
  • Architecture of .NET MAUI solution
  • .NET MAUI App Structure
  • Enabling/disabling support for different platforms
  • .NET MAUI
  • Introduction to MAUI
  • The All new Resources Folder
  • Styles, Colors and Themes
  • Fonts
  • Raw Assets - New API for accessing Assets from Resources
  • Image Resources
  • The Platform Folder
  • What’s inherited from Xamarin Forms
  • What’s new in .NET MAUI
  • New Layouts - VerticalStack, HorizontalStack.
  • Important Changes in the Layouts
  • Prepare Xamarin Pages for Migration to .NET MAUI
  • The Border, Shapes components
  • The all new GraphicsView
  • New Image Attributes and modifiers
  • Data Binding and MVVM
  • Using the new MVVM Community toolkit
  • The Relay and Async Relay Command
  • Using the New Community Toolkit for Converter, Behaviors, Components,
  • Registering Views and ViewModels
  • The All new Dependency Injection in MAUI
  • Service Registration and Injection

Day 2

  • Shell Navigation
  • What’s new in MAUI Shell
  • Removing the Shell to revert back to ViewModel Navigation
  • Managing Tabs, Flout Items, Sub Tabs, Menus etc in Shell
  • Routing in MAUI
  • Registering the Routes
  • Passing Data in Shell (QueryProperty and Parameters)
  • Returning Data backwards
  • Xamarin <==> MAUI
  • Reusing the Existing Xamarin Components and Layouts
  • Reusing Existing Custom Renderers in MAUI
  • Converting Renderers to Handlers
  • Conditional Compilation of Native API
  • Creating Handlers using Handler Lifecycle Events
  • Understanding Handlers and Mappers to create Custom Components
  • Access the Native API using Partial Class implementation (Avoiding Conditional Compilations)
  • Accessing Native Implementation of Interfaces
  • Consuming New Application Lifecycle events

Day 3

  • MAUI BlazerView
  • Understanding the BlazerWebView
  • Understanding the App capabilities.
  • Creating Custom Reusable Components and Adding to Navigation
  • Data Binding in Components
  • Understanding ViewModel data consumption in BlazerWebView
  • Steps to Add BlazerWebView in .MAUI App.
  • MAUI Essentials
  • Glance over the Essentials API
  • New Features for desktop components
  • Wrap Up
  • Optimizing the Compile Resources and Libraries
  • Tweaking the compiler settings for Processing
  • Performance Optimization, tuning and Practices
  • Unit Testing MAUI Apps
  • Archiving and Publishing

Day 4

  • Migrating an Existing Xamarin Forms App to .NET MAUI
  • Downloading the resources.
  • Migrating to .NET MAUI
  • Migrating the UI pages
  • Migrating the Custom Components
  • Migrating the Triggers, Styles, Behaviors, Fonts, and other resources
  • Migrating the business logic
  • Migrating the Renderers
  • Migrating the platform dependencies
  • Migrating the Libraries
  • Compiling the code.
  • Troubleshooting.

Programme scope, delivery arrangements and suitability are confirmed during enquiry.