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

.NET Day 2023: Writing hybrid .NET MAUI Blazor ...

.NET Day 2023: Writing hybrid .NET MAUI Blazor apps

Blazor allows writing websites using C# for the front-end logic. Websites are great because you can view them from every platform. But sometimes, it would be great to access some native features. Or have your web app run like a regular app? Let's look at how .NET MAUI can help you write native applications, use Blazor and stay connected to platform-specific features.

dotnetday

August 31, 2023
Tweet

More Decks by dotnetday

Other Decks in Technology

Transcript

  1. Hello my name is Mark Mark Allibone Rey Technology @mallibone

    https://mallibone.com https://nullpointers.io
  2. @mallibone • Serverside and Clientside Rendering • Webassembly ready out

    of the Box • Razor Syntax HTML with C# sprinkles • Debug & Hot Reload experience Blazor in a Nutshell
  3. @mallibone Before you marry a person, you should first make

    them use a computer with slow Internet to see who they really are. Will Ferrell This Photo by Unknown Author is licensed under CC BY-SA
  4. @mallibone • Mobile and Desktop apps • Native controls •

    XAML/C# UI with C# for Logic • Debug & Hot Reload experience .NET MAUI in a Nutshell
  5. @mallibone BlazorWebView write your UI using Razor Embed and host

    Blazor websites in your app Share state between your Blazor and .NET MAUI Demo Review
  6. @mallibone ”We have this super duper Thing in the web,

    would be great to have it on mobile”
  7. @mallibone .NET MAUI XAML Blazor .NET MAUI MauiReactor .NET MAUI

    C# .NET MAUI iOS Android Windows macOS Linux? UI Framework Framework Platform .NET MAUI Architecture Tizen
  8. @mallibone Criterias for awesome Mobile Apps • Don’t Crash •

    Responsive • Work Offline • 10’000 other points depending on preference etc. (like design and fluff) 😱
  9. @mallibone Option 2: Cache the Calls Servericon made by prettycons

    from www.flaticon.com Request / Response Cache Request / Response
  10. @mallibone Demo Recap • Use NuGet packages built for mobile/desktop

    • Seamless Offline experience with Akavache