Upgrade to Pro — share decks privately, control downloads, hide ads and more …

.NET Day 2022 - Creating cross-platform applications with .NET Maui by Mark Allibone

dotnetday
September 06, 2022

.NET Day 2022 - Creating cross-platform applications with .NET Maui by Mark Allibone

Did you know that you can write native client apps in C# for Windows, macOS, Android and iOS? Sounds familiar, you say? .NET Maui - the Multi-platform App UI - is the evolution of Xamarin and Xamarin.Forms and is now fully integrated into the .NET stack. So let's have a look at what comes with .NET Maui. From creating to building apps that target multiple operating systems. See how the tooling will support your journeys and how it feels to bring your inner visions and ideas to the UI and code of your app. So are you ready to surf on the new Multi-platform App UI?

dotnetday

September 06, 2022
Tweet

More Decks by dotnetday

Other Decks in Technology

Transcript

  1. @mallibone “Can I do X with C# on Android/iOS/Mac?” “Yes!

    And enjoy .NET + Plattfrorm Framework + many of your favourite NuGet packages.”
  2. @mallibone Multi Targeting Access Platform Specific Features • Partial Classes

    • Conditional Compilation e.g. #if ANDROID Single Project
  3. @mallibone .NET MAUI XAML Blazor .NET MAUI Comet Fabulous? .NET

    MAUI iOS Android Windows Linux? macOS Web? UI Framework Framework Platform .NET MAUI Architecture Tizen
  4. @mallibone Evolving Xamarin.Forms to .NET MAUI Xamarin.Forms .NET MAUI Platforms

    iOS + Android iOS, Android, macOS, Windows Minimum Framework (PLC) .NET Standard 1.0 .NET 6.0 Platform-Specific Implementation Renderers Handlers Installation NuGet Package .NET Workload .NET Solution Architecture Multi-Project Single Project
  5. @mallibone • .NET MAUI Single Project makes Fonts and Images

    easier • Architecture Pattern MVVM • MAUI Graphics for some extra Pizzazz Demo Highlights
  6. @mallibone .NET MAUI XAML Blazor Hybrid .NET MAUI Comet Fabulous?

    .NET MAUI iOS Android Windows Linux? macOS Web? UI Framework Framework Platform .NET MAUI Architecture
  7. @mallibone Migration Steps • Remove Xamarin Forms NuGet package •

    Add .NET MAUI workload • Enable MAUI in your .csproj: <UseMaui>true</UseMaui> • Update Namespaces: using Xamarin.Forms ➡ using Microsoft.Maui • Use the dotnet upgrade assistant • iOS and Android Only Xamarin Forms to .NET MAUI
  8. Thank you for your time! Mark Allibone @mallibone Rey Technology

    https://mallibone.com https://nullpointers.io https://github.com/dotnet/maui https://bit.ly/3vGrM9C