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

Summary

In this chapter, we presented guidelines on implementing platform-specific code within a .NET MAUI project. There are numerous instances where platform-specific code implementation may be required. Regardless of whether we aim to create a plugin or a custom control, it is crucial to begin with an interface definition. A pre-defined interface facilitates the seamless separation of cross-platform and native implementations. To implement the interface, we have the option to employ either an abstract class or a partial class, allowing us to distribute the implementation for each platform across individual files.

The introduction of HybridWebView opens the door to integrating or reusing JavaScript libraries. By crafting hybrid solutions, we can harness the advantages of both .NET and the JavaScript ecosystem. HybridWebView enables the development of .NET solutions that incorporate various JavaScript frameworks.

Having completed the current version of the password manager...

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