Introduction to Microsoft Edge WebView2
Hybrid app approach
Developers must often decide between building a web app or a native app. The decision hinges on the trade-off between reach and power. Web apps allow for a broad reach. As a Web developer, you may reuse most of your code across different platforms. To access the all capabilities of a native platform, use a native app.
Hybrid apps allow developers to enjoy the best of both worlds. Hybrid app developers benefit from the following advantages.
- The ubiquity and strength of the web platform.
- The power and full capabilities of the native platform.
Web ecosystem & skillset
Utilize the entire web platform, libraries, tooling, and talent that exists within the web ecosystem.
Web development allows for faster deployment and iteration.
Windows 7, 8, and 10 support
Support for a consistent user experience across Windows 7, Windows 8, and Windows 10.
Access the full set of Native APIs.
Add web code to your codebase allows for increased reuse across multiple platforms.
Microsoft provides support and adds new feature requests when WebView2 releases at Generally Availability (GA).
Rely on an up-to-date version of Chromium with regular platform updates and security patches.
(coming soon) Choose to package the Chromium bits in your app.
Add web components piece by piece to your app.
To build and test your app using the WebView2 control, you need to have the WebView2 SDK installed. Select one of the following options to get started.
- Getting Started with Win32 C/C++
- Getting Started with WPF
- Getting Started with WinForms
- Getting Started with WinUI3
The WebView2 Samples repository contains samples that demonstrate all of the WebView2 SDK features and API usage patterns. As more features are added to the WebView2 SDK, the sample apps will be updated.
A General Availability (GA) or Preview version is available on the following programming environments.
- Win32 C/C++ (GA)
- .NET Framework 4.6.2 or later
- .NET Core 3.1 or later
- .NET 5
- WinUI 3.0 (Preview)
You may run WebView2 apps on the following versions of Windows.
- Windows 10
- 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 has the same support cycle as Microsoft Edge. For more information, navigate to Microsoft Edge supported Operating Systems.
For more information on how to build and deploy WebView2 apps, review the conceptual documentation and how-to guides.
- Understand WebView2 SDK versions
- Distribution of apps using WebView2
- Best practices for developing secure WebView2 apps
- Manage User Data Folder in WebView2 apps
Getting in touch with the Microsoft Edge WebView team
Share your feedback to help build richer WebView2 experiences. To submit feature requests or bugs, or search for known issues, navigate to the Microsoft Edge WebView feedback repo.