Summary
In this chapter, we explored Blazor and how to develop a Blazor Hybrid app. Blazor serves as an alternative solution for UI design within .NET MAUI. The primary distinction between Blazor and XAML lies in their appearance: while the XAML UI closely resembles the native interface, the Blazor UI adopts the aesthetics of a web app. Functionality-wise, both offer similar capabilities. Moreover, it is possible to integrate Blazor and XAML within a single app and utilize the MVVM pattern in both.
An advantage of using Blazor is the ability to share UI code between the Blazor Hybrid app and a web app. If you seek a solution compatible with both native and web apps, .NET MAUI Blazor could be an ideal choice.
In the upcoming chapter, we will transition to using Blazor for all UIs within our app. Additionally, we will discuss the initial UI design using layout and routing techniques.