9

Implementing Blazor Components

In the last chapter, we learned about Blazor routing and layout. We then built a navigation framework by creating the routing and layout of our app. After we created the navigation framework, we created the top-level pages. With the implementation of Razor pages, we can explore the password database in a similar way that we can explore in the XAML version. Razor pages are Razor components, but they are not reusable. Razor components are building blocks of the Blazor UI. In this chapter, we will introduce Razor components. To understand Razor components, we will introduce data binding and the Razor component life cycle. After learning about these concepts, we will refine our code and convert duplicated code into ...

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.