|
1 | 1 | # WebView2 Samples
|
2 | 2 |
|
3 |
| -This repository contain examples of how to use the [WebView 2 API](https://aka.ms/webview2). Please use [WebView2Samples issue tracker](https://github.com/MicrosoftEdge/WebView2Samples/issues) for sample issues and [WebViewFeedback issue tracker](https://aka.ms/webviewfeedback) for general WebView2 issues and feedback. |
| 3 | +This repository contains sampples that demonstrate the features and usage patterns of [WebView2](https://aka.ms/webview2). As we add more features to WebView2, we will regularly update our samples. |
4 | 4 |
|
5 |
| -## 1. Getting Started Guide |
| 5 | +Please leave feedback in out [our feedback repo](https://aka.ms/webviewfeedback)! |
6 | 6 |
|
7 |
| -This Sample is found within the [GettingStartedGuide](https://github.com/MicrosoftEdge/WebView2Samples/tree/master/GettingStartedGuide) directory. |
| 7 | +## Win32 C/C++ |
| 8 | +#### Getting Started |
| 9 | +Start with the [Win32 WebView2 getting-started guide](https://docs.microsoft.com/en-us/microsoft-edge/webview2/gettingstarted/win32) to learn how to setup a WebView within a Win32 application. |
8 | 10 |
|
9 |
| -Start with the [Microsoft Edge WebView2 getting-started guide](https://docs.microsoft.com/microsoft-edge/hosting/webview2/gettingstarted) to learn how to setup a WebView within a Win32 application. |
| 11 | +This will require downloading the [Getting Started Guide](https://github.com/MicrosoftEdge/WebView2Samples/tree/master/GettingStartedGuide) directory. |
10 | 12 |
|
11 |
| -## 2. WebView2 API Samples |
| 13 | +#### Comprehensive API Sample |
| 14 | +The **Win32 C++ Sample** can be found in the [WebView2APISample](./WebView2APISample) directory. |
12 | 15 |
|
13 |
| -The Samples demonstrate all of the WebView2 SDK's features and their API use patterns. As we add more features to the WebView2 SDK, we will regularly update our sample applications. See [WebView2Samples.sln](./WebView2Samples.sln) that includes all three projects below: |
| 16 | +#### Multiple WebView Sample |
14 | 17 |
|
15 |
| -* Win32 C++ Sample can be found within [WebView2APISample](./WebView2APISample) directory. |
16 |
| -* WPF Sample can be found within [WebView2WpfBrowser](./WebView2WpfBrowser) directory. |
17 |
| -* Windows Forms Sample can be found within [WebView2WindowsFormsBrowser](./WebView2WindowsFormsBrowser) directory. |
| 18 | +The [WebView2Browser](https://github.com/MicrosoftEdge/WebView2Browser) is an additional Win32 WebView2 sample project that uses multiple WebViews in a single application. Clone this project by running `git clone https://github.com/MicrosoftEdge/WebView2Browser.git`. |
18 | 19 |
|
19 |
| -## 3. WebView2 Browser Example |
| 20 | +Follow the [WebView2Browser guide](https://github.com/MicrosoftEdge/WebView2Browser) to learn how to build an application that utilizes multiple WebViews. |
| 21 | + |
| 22 | +## .NET WPF/WinForms |
| 23 | +#### Getting Started |
| 24 | +* Checkout the [WPF getting started guide](https://docs.microsoft.com/en-us/microsoft-edge/webview2/gettingstarted/wpf) for WebView2 in WPF applications |
| 25 | +* Checkout the [WinForms getting started guide](https://docs.microsoft.com/en-us/microsoft-edge/webview2/gettingstarted/winforms) for WebView2 in WinForms applications |
| 26 | + |
| 27 | +#### Comprehensive API Sample |
| 28 | +* The **WPF Sample** can be found in the [WebView2WpfBrowser](./WebView2WpfBrowser) directory. |
| 29 | +* The **Windows Forms Sample** can be found in the[WebView2WindowsFormsBrowser](./WebView2WindowsFormsBrowser) directory. |
| 30 | + |
| 31 | +## WinUI/UWP |
| 32 | +#### Comprehensive API Sample |
| 33 | +The **UWP WinUI Sample** can be found in the [WinUI Controls Gallery](https://github.com/microsoft/Xaml-Controls-Gallery/tree/winui3preview). |
| 34 | + |
| 35 | +## Next Steps |
| 36 | +1. Checkout [Introduction to Microsoft Edge WebView2](aka.ms/webview) to learn more about WebView2 |
| 37 | +2. Please leave us feedback in out [feedback repo](https://aka.ms/webviewfeedback). |
20 | 38 |
|
21 |
| -Clone the [WebView2Browser](https://github.com/MicrosoftEdge/WebView2Browser) by running `git clone https://github.com/MicrosoftEdge/WebView2Browser.git` to get started. |
22 | 39 |
|
23 |
| -Follow the [WebView2Browser guide](https://github.com/MicrosoftEdge/WebView2Browser) to learn how to build an application that utilizes multiple WebViews. |
|
0 commit comments