Introduction to Microsoft Edge WebView2 (Preview)
What is WebView
The WebView2 Preview is intended for early prototyping and to gather feedback to help to shape the API. The Microsoft Edge WebView team does not recommend that you use the preview in your production apps because there may be breaking changes.
Hybrid application approach
Developers often have to choose between building a web application or a native application. The decision hinges on the trade-off between reach and power. Web applications allow for a broad reach. As a Web developer, you may reuse most, if not all of your code, across all different platforms. Native applications, however, utilize the capabilities of the entire native platform.
Hybrid applications allow developers to enjoy the best of both worlds. Hybrid application developers benefit from the ubiquity and strength of the web platform, and 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, 10 support
Support for a consistent user experience across Windows 7, 8, and 10.
Access the full set of Native APIs.
Add web code to your codebase allows for increased re-use across multiple platforms.
Microsoft provides support and adds new feature requests when WebView2 is release as GA.
Rely on an up-to-date version of Chromium with regular platform updates and security patches.
Fixed (coming soon)
Choose to package the Chromium bits in your application.
Add web components piece by piece to your application.
The WebView2 Samples repository contains samples that demonstrate all of the WebView2 SDKs features and API usage patterns. As more features are added to the WebView2 SDK, the sample applications will be updated.
A developer preview is available on the following programming environments.
- Win32 C/C++
- .NET Framework 4.6.2 or later
- .NET Core 3.0 or later
- WinUI 3.0
You are able to run WebView2 applications on the following versions of Windows.
- Windows 10
- Windows 8.1
- Windows 8
- Windows 7
- Windows Server 2016
- Windows Server 2012
- Windows Server 2012R2
- Windows Server 2008 R2
For more detailed information on how to build and deploy WebView2 applications, checkout the conceptual documentation and how-to guides.
- WebView2 SDK and Microsoft Edge Versioning
- Distribute WebView2 Applications
- Security Best Practices for WebView2 Applications
- Manage User Data Folder in WebView2 Applications
- Debugging WebView2 with DevTools and Visual Studio script debugging
- Automating and debugging WebView2 with Microsoft EdgeDriver
Getting in touch with the WebView2 team
Help build a richer WebView2 experience by sharing your feedback. Visit the WebView feedback repo to submit feature requests or bug reports. It is also a good place to search for known issues.
During developer preview, the Microsoft Edge WebView team also collects data to help build a better WebView. Users may turn off WebView data collection by navigating to
edge://settings/privacy in the Microsoft Edge browser and turning off browser data collection.