Share via

What is difference between WebView and BlazorWebView?

Shantanu Methikar 20 Reputation points
2023-02-22T14:54:55.5466667+00:00

What is difference between WebView and BlazorWebView?

Developer technologies | .NET | .NET Multi-platform App UI
0 comments No comments

Answer accepted by question author

Anonymous
2023-02-23T03:06:57.48+00:00

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.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.