WebView2

WebView2 allows users to extend features from the browser to WebView2-based apps.

What is WebView2?

WebView2 is a control that allows you to embed web technologies (HTML, CSS, and JavaScript) in your native applications using Microsoft Edge as the rendering engine. It enables you to use the web ecosystem and skill set to build powerful and secure applications with native capabilities. WebView2 can be used in different programming environments, such as Win32 C/C++, .NET Framework, .NET Core, .NET 5, .NET 6, WinUI 2.0, and WinUI 3.0. WebView2 can also run on different versions of Windows.

WebView2 has two distribution modes: evergreen and fixed version.
  • The evergreen mode ensures that WebView2 is always up-to-date with the latest and most secure version of Microsoft Edge.
  • The fixed version mode allows you to package a specific version of WebView2 with your application for compatibility reasons.

You can download the WebView2 Runtime from Microsoft's website or use a bootstrapper or standalone installer to install it on client machines.

WebView2 is used by desktop programs that are part of Microsoft 365 to deliver web-based functionalities. It is also used by other applications that want to leverage the web platform and native APIs in a hybrid app approach. WebView2 is the latest in a long series of programming libraries from Microsoft that provide common features and tools for developers.

TBD:

  • tools/webview2.txt
  • Last modified: 2023/08/17 12:12
  • by Henrik Yllemo