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

Migrating to a .NET MAUI Blazor Hybrid App

In the previous section, we created a new Hybrid app, which will serve as a reference for migrating our existing application. Instead of starting from scratch, we can take advantage of both the XAML and Blazor UIs within our current app by adjusting the project configuration. For now, we will implement a combination of XAML and Blazor UIs in a single application and, later on, transition entirely to Blazor in the following chapter.

To convert our app into a .NET MAUI Blazor Hybrid app, it is necessary to implement the following modifications.

Change the SDK in the project file by replacing Microsoft.NET.Sdk with Microsoft.NET.Sdk.Razor, as the .NET MAUI Blazor Hybrid app relies on a different SDK.

  1. In the PassXYZ.Vault.csproj project file, the following line is present:
    <Project Sdk="Microsoft.NET.Sdk">
    
  2. This line needs to be replaced with the following:
    <Project Sdk="...
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