| title | Getting Started tutorials |
|---|---|
| description | Get started building WebView2 for various platforms. |
| author | MSEdgeTeam |
| ms.author | msedgedevrel |
| ms.topic | conceptual |
| ms.prod | microsoft-edge |
| ms.technology | webview |
| ms.date | 01/24/2022 |
These articles cover how to set up your development tools and create an initial WebView2 app, and learn about WebView2 concepts along the way.
| Article | Completed project | Description |
|---|---|---|
| Get started with WebView2 in WinUI 2 (UWP) apps | n/a | Use C# Blank App (Universal Windows) project template and install the Microsoft.UI.Xaml package (WinUI 2), which installs the Microsoft.Web.WebView2 SDK package as a dependency. |
| Get started with WebView2 in WinUI 3 (Windows App SDK) apps | WinUI3_GettingStarted | Use the Blank App, Packaged (WinUI in Desktop) project template, which uses the WindowsAppSDK, which includes the WebView2 SDK. Add an address bar and URL logic. |
| Get started with WebView2 in WPF apps | WPF_GettingStarted | Use the WPF Application or WPF App (.NET Framework) project template to create a WPF app, and then install the WebView2 SDK for the project to add WebView2. |
| Get started with WebView2 in WinForms apps | WinForms_GettingStarted | Use the C# Windows Forms App (.NET Framework) project template to create a WinForms project, then install the Microsoft.Web.WebView2 SDK package for the WinForms project. |
| Get started with WebView2 in Win32 apps | Win32_GettingStarted | Starts by opening an existing Win32 app project that has the WebView2 SDK and code already added. |
- Microsoft Edge WebView2 - initial introduction to WebView2, at
developer.microsoft.com. - Sample apps - these sample apps showcase more of the WebView2 APIs than the Getting Started tutorials.
- WebView2Samples repo - contains completed Visual Studio projects that result from following the steps in these Getting Started tutorials.