7

Introducing Blazor Hybrid App Development

In .NET MAUI, there is another way to build the user interface, which is using Blazor. Blazor can be used as a single-page application (SPA) framework to develop web applications. It can also be used to develop .NET MAUI apps in the form of a Blazor Hybrid app. The building block of Blazor is the Razor component. Using Blazor and Blazor Hybrid, we can reuse Razor components between native apps and web apps. Compared to the XAML UI, the Blazor UI can achieve higher reusability, which includes both native apps and web apps. In this chapter, we will introduce what Blazor is and explain its usage in different scenarios. We will also introduce the Razor component and how to develop a Blazor Hybrid app using ...

Get .NET MAUI Cross-Platform Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.