Reader small image

You're reading from  .NET MAUI Cross-Platform Application Development - Second Edition

Product typeBook
Published inMar 2024
Reading LevelBeginner
PublisherPackt
ISBN-139781835080597
Edition2nd Edition
Languages
Right arrow
Author (1)
Roger Ye
Roger Ye
author image
Roger Ye

Roger Ye is an embedded system programmer who has great interest in virtualization, Android, and cross-platform technologies. His professional experience includes working with major companies like Motorola, Emerson, Intel, and EPAM, where he held the position of Engineering Manager. At Motorola and Emerson, he worked on embedded system projects for mobile devices and telecommunication infrastructures. He is now an engineering manager at EPAM, working with a team to deliver digital solutions for diverse clients.
Read more about Roger Ye

Right arrow

Creating reusable Razor components

In this section, we will refactor our code to develop reusable components. This process will enable us to gain a deeper understanding of the features of Razor components and learn how to optimize them to improve reusability.

In Chapter 8, Introducing Blazor Hybrid App Development, we created the Blazor Hybrid version of our app. Additionally, we incorporated layout and routing functionalities in Chapter 9, Understanding Blazor Routing and Layout. As a result, our app can now browse and update the password database. However, we have not yet implemented the majority of CRUD operations. After refining the Razor components in this chapter, we will proceed to add these functionalities.

To navigate the password database, we developed two Razor components – Items and ItemDetail. The Items class is employed to exhibit a list of password entries and groups within the current group, while the ItemDetail class is utilized for presenting the content...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
.NET MAUI Cross-Platform Application Development - Second Edition
Published in: Mar 2024Publisher: PacktISBN-13: 9781835080597

Author (1)

author image
Roger Ye

Roger Ye is an embedded system programmer who has great interest in virtualization, Android, and cross-platform technologies. His professional experience includes working with major companies like Motorola, Emerson, Intel, and EPAM, where he held the position of Engineering Manager. At Motorola and Emerson, he worked on embedded system projects for mobile devices and telecommunication infrastructures. He is now an engineering manager at EPAM, working with a team to deliver digital solutions for diverse clients.
Read more about Roger Ye