8. Reusable Components
1. Blazor is based on
Reusable Components
(Web Forms
Replacement 🤯)
2. Composition of
Components. Parent
and childs.
3. Razor Libraries
4. Templates
10. Javascript Interop
A Blazor app can invoke JavaScript functions from .NET
methods and .NET methods from JavaScript functions.
11. Future of Blazor
1. Server
2. Client
3. PWA. Offline support. Home
screen and taskbar. Push
Notifications
4. .Net renders to
Electron/WebView.
5. Mobile
15. Blazor WebAssembly - Mobile
PWA 1. Offline capabilities.
2. Home screen and taskbar.
3. Push Notifications
16. Blazor WebAssembly - Mobile
BlazorMobile - embedding a Blazor web application as a standalone
mobile application, hosted in Xamarin
https://github.com/Daddoon/BlazorMobile
18. Experimental Mobile Blazor Bindings
1. Blazor - Web
2. Same component (UI) in
mobile and desktop
3. Native Access to the device
4. Hybrid - web and native UI
22. 1. Web Content in the same process as the rest
of the app (no web server)
2. No remoting between AppDomains
3. Visual Studio
4. Everywhere MAUI runs
5. How complete is it?
MAUI BLAZOR
23. .NET 6 - Blazor
• Hot reload for Blazor
• AOT Compilation
• Target and deploy to desktop platforms.
• Support custom event args in Blazor
• Required parameters to Blazor components
• Expose location changing event for
NavigationManager
• Dynamically rendered components
• Update Blazor head components
• Improve SVG support in Blazor
• Drag & Drop
😀😀😀
24. .NET 6 - Multi-platform App UI (MAUI)
• NET 6 – November 2021
HTML
vs
XAML