Introduction to Microsoft Edge WebView2
With WebView2, you can embed web code in different parts of your native app, or build all of the native app within a single WebView2 instance.
To start building a WebView2 app, see Get started with WebView2.
Hybrid app approach
Developers must often decide between building a web app or a native app. This decision hinges on the tradeoff between reach and power:
Web apps allow for a broad reach. As a Web developer, you can reuse most of your code across different platforms.
To access all the powerful capabilities of a native platform, use a native app.
The following diagram shows the spectrum of apps, from maximum reach, to maximum power:
Wide reach includes websites and Progressive Web Apps.
In the middle are hybrid apps, such as WebViews and Electron.
Maximum power is native apps.
Hybrid apps, in the middle of this spectrum, allow you to enjoy the best of both worlds: the ubiquity and strength of the web platform, combined with the power and full capabilities of the native platform.
Web ecosystem and skill set. Utilize the entire web platform, libraries, tooling, and talent that exists within the web ecosystem.
Rapid innovation. Web development allows for faster deployment and iteration.
Windows 7, 8, 10, and 11 support. Support for a consistent user experience across Windows 7, Windows 8, Windows 10, and Windows 11.
Native capabilities. Access the full set of Native APIs.
Code-sharing. Add web code to your codebase allows for increased reuse across multiple platforms.
Microsoft support. Microsoft provides support and adds new feature requests when WebView2 releases at General Availability (GA).
Evergreen distribution. Rely on an up-to-date version of Chromium with regular platform updates and security patches.
Fixed Version distribution. Optionally package a specific version of the Chromium bits in your app.
Incremental adoption. Add web components piece-by-piece to your app.
A General Availability (GA) or Preview version of WebView2 is available for the following programming environments:
- Win32 C/C++ (GA)
- .NET Framework 4.5 or later
- .NET Core 3.1 or later
- .NET 5
- .NET 6
- WinUI 2.0 (Preview)
- WinUI 3.0
WebView2 apps can run on the following versions of Windows:
- Windows 11
- Windows 10
- Windows 10 IoT Enterprise LTSC x32 2019
- Windows 10 IoT Enterprise LTSC x64 2019
- Windows 10 IoT Enterprise 21h1 x64
- Windows 8.1
- Windows 7 **
- Windows Server 2019
- Windows Server 2016
- Windows Server 2012
- Windows Server 2012 R2
- Windows Server 2008 R2 **
**WebView2 support for Windows 7 and Windows Server 2008 R2 have the same support timeline as Microsoft Edge. See Microsoft Edge supported Operating Systems.
- Overview of WebView2 features and APIs
- Understand the different WebView2 SDK versions
- Distribute your app and the WebView2 Runtime
- Best practices for developing secure WebView2 apps
- Manage user data folders
- How to Debug with WebView2
- Automating and testing WebView2 with Microsoft Edge WebDriver
- WebView2Samples repo - Samples that demonstrate WebView2 SDK features and API usage patterns, including recently added WebView2 features.
Submit and view feedback for