|
| 1 | +--- |
| 2 | +title: WebView2 |
| 3 | +--- |
| 4 | + |
| 5 | +# WebView2 |
| 6 | + |
| 7 | +WebView2 (WV2) is a control built by Microsoft that allows developers to render web content in their |
| 8 | +native applications. Underneath it uses the Microsoft Edge browser (which is Chromium based). This |
| 9 | +control replaces the old [WebBrowser control] (Internet Explorer based) and [WebView control] (based |
| 10 | +on EdgeHTML) with a modern and secure rendering engine. It is currently available on Windows |
| 11 | +platforms for developers of Win 32 C/C++, .NET, and under development for [UWP] and macOS. |
| 12 | + |
| 13 | +Its first production ready release was in [October 2020][WebView2 GA Blog]. Since then, some |
| 14 | +of the most relevant applications and companies that have adopted it are Microsoft Office, Outlook, |
| 15 | +and [Morgan Stanley]. |
| 16 | + |
| 17 | +## Release cadence, version support and update model |
| 18 | + |
| 19 | +There are 2 parts to WebView2: |
| 20 | + |
| 21 | +1. The [WebView2 SDK], which comes in the form of a NuGet package. |
| 22 | +1. The [WebView2 Runtime], which is essentially an Edge browser binary, optimized for WV2 use. |
| 23 | + |
| 24 | +The SDK and Runtime get updated every 6 weeks, in alignment with Edge. WebView2 offers a pre-release |
| 25 | +SDK with up-and-coming experimental features and a stable release SDK with only stable APIs. There |
| 26 | +is only 1 major version for the time being, and minor versions get released every 6 weeks. The |
| 27 | +reason is that the WV2 team guarantees a stable API with no breaking changes thus why a new major |
| 28 | +release is not needed. |
| 29 | + |
| 30 | +One important characteristic of WV2 is the two distribution modes it provides for developer |
| 31 | +flexibility: |
| 32 | + |
| 33 | +* **Evergreen**: With the Evergreen model, the WV2 control is updated automatically with the latest |
| 34 | + features, security patches, and bug fixes. There is no need for developer intervention or |
| 35 | + application re-release. |
| 36 | +* **Fixed**: For developers wanting more control over their apps updates, WV2 offers the Fixed |
| 37 | + distribution mode. Here, developers are responsible for manually updating the WV2 version used by |
| 38 | + their applications. |
| 39 | + |
| 40 | +:::note |
| 41 | +Chrome has announced that starting in Chrome 94 (Q3 2021) they will switch to a 4 week release |
| 42 | +cadence. Edge and WebView2 will follow this updated cadence and move to 4 week release cycles as |
| 43 | +well. |
| 44 | +::: |
| 45 | + |
| 46 | +## Governance |
| 47 | + |
| 48 | +WebView2 is developed by Microsoft, and built on top of the Edge browser platform. It is close |
| 49 | +source and developers can provide feedback via this |
| 50 | +[GitHub repository]({{technologies.webview2.community}}). |
| 51 | + |
| 52 | +## Summary |
| 53 | + |
| 54 | +| Characteristic | | |
| 55 | +| -------------- | :----: | |
| 56 | +| Website | [{{technologies.webview2.url}}]({{technologies.webview2.url}}) | |
| 57 | +| Platforms | Desktop | |
| 58 | +| Type | [Browser engine] | |
| 59 | +| Software type | Close source | |
| 60 | +| License | https://www.nuget.org/packages/Microsoft.Web.WebView2/0.9.430/License | |
| 61 | +| Copyright | Microsoft | |
| 62 | +| Documentation | [{{technologies.webview2.documentation}}]({{technologies.webview2.documentation}}) | |
| 63 | +| Community | [{{technologies.webview2.community}}]({{technologies.webview2.community}}) | |
| 64 | +| Latest version | {{technologies.webview2.releases.0.version}} | |
| 65 | +| Release cadence | Major versions: not scheduled <br/> Minor/patch: 6 weeks | |
| 66 | +| Release support | 6 weeks | |
| 67 | +| Update model | [Evergreen or fixed][WebView2_DistributionDoc] | |
| 68 | +| Governance model | Microsoft driven | |
| 69 | + |
| 70 | +**Platform support:** |
| 71 | + |
| 72 | +{{ table technologies.webview2.platforms.{} }} |
| 73 | + |
| 74 | +:::note |
| 75 | +[UWP] and macOS support coming soon! |
| 76 | +::: |
| 77 | + |
| 78 | +**Language support:** |
| 79 | + |
| 80 | +{{ table technologies.webview2.languages.{} }} |
| 81 | + |
| 82 | +<!-- Ref links --> |
| 83 | + |
| 84 | +[Browser engine]: ./browser-engine.md |
| 85 | +[Morgan Stanley]: https://www.youtube.com/watch?v=8y3ZCzw3LtA |
| 86 | +[UWP]: https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide |
| 87 | +[WebBrowser control]: https://docs.microsoft.com/en-us/dotnet/desktop/winforms/controls/webbrowser-control-overview?view=netframeworkdesktop-4.8 |
| 88 | +[WebView Control]: https://docs.microsoft.com/en-us/windows/communitytoolkit/controls/wpf-winforms/webview |
| 89 | +[WebView2 GA Blog]: https://blogs.windows.com/msedgedev/2020/10/19/edge-webview2-general-availability/ |
| 90 | +[WebView2 SDK]: https://www.nuget.org/packages/Microsoft.Web.WebView2 |
| 91 | +[WebView2 Runtime]: https://developer.microsoft.com/en-us/microsoft-edge/webview2/ |
| 92 | +[WebView2_DistributionDoc]: https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution?view=webview2-1.0.864.35 |
0 commit comments