A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
Hello,
BlazorWebView is a control that enables you to host a Blazor web app in your .NET MAUI app.
For details, you can create a .NET MAUI Blazor app and create your Razor component in the Blazor app such as a web assembly project or a razor library, after that, you can add "additional assemblies" as a parameter and you would just include your razor library as the additional assembly in BlazorWebView. You will have to start up in both applications(Blazor app and MAUI APP) but from there the app just runs. No need to change anything.
WebView displays remote web pages, local HTML files, and HTML strings, in an app. All of these webpages could from your remove servers, WebView runs as a Brower.
Here is a document about Hosting a Blazor web app in a .NET MAUI app using BlazorWebView and webview
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.