Skip to content

Commit 94f025f

Browse files
committed
getstart above sample
1 parent fc30d86 commit 94f025f

12 files changed

Lines changed: 45 additions & 30 deletions

File tree

microsoft-edge/toc.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1286,6 +1286,10 @@
12861286
- name: WebView2 in Win32 apps
12871287
href: ./webview2/platforms/win32.md
12881288

1289+
- name: Get started with WebView2 in Win32 apps
1290+
href: ./webview2/get-started/win32.md
1291+
displayName: Win32_GettingStarted # repo dir name
1292+
12891293
- name: Win32 sample app
12901294
href: ./webview2/samples/webview2apissample.md
12911295
displayName: WebView2APISample, SampleApps # repo dir names
@@ -1298,41 +1302,41 @@
12981302
href: ./webview2/samples/webview2browser.md
12991303
displayName: WebView2Browser # repo dir name
13001304

1301-
- name: Get started with WebView2 in Win32 apps
1302-
href: ./webview2/get-started/win32.md
1303-
displayName: Win32_GettingStarted # repo dir name
1304-
13051305
- name: WinUI 2 (UWP)
13061306
items:
13071307
- name: WebView2 in WinUI 2 (UWP) apps
13081308
href: ./webview2/platforms/winui2-uwp.md
13091309

1310-
- name: WinUI 2 (UWP) sample app
1311-
href: ./webview2/samples/webview2_sample_uwp.md
1312-
displayName: webview2_sample_uwp # repo dir name
1313-
13141310
- name: Get started with WebView2 in WinUI 2 (UWP) apps
13151311
href: ./webview2/get-started/winui2.md
13161312
displayName: WinUI2_GettingStarted # repo dir name
13171313

1314+
- name: WinUI 2 (UWP) sample app
1315+
href: ./webview2/samples/webview2_sample_uwp.md
1316+
displayName: webview2_sample_uwp # repo dir name
1317+
13181318
- name: WinUI 3 (Windows App SDK)
13191319
items:
13201320
- name: WebView2 in WinUI 3 (Windows App SDK) apps
13211321
href: ./webview2/platforms/winui3-windows-app-sdk.md
13221322

1323-
- name: WinUI 3 (Windows App SDK) sample app
1324-
href: ./webview2/samples/webview2-winui3-sample.md
1325-
displayName: WebView2_WinUI3_Sample # repo dir name
1326-
13271323
- name: Get started with WebView2 in WinUI 3 (Windows App SDK) apps
13281324
href: ./webview2/get-started/winui.md
13291325
displayName: WinUI3_GettingStarted # repo dir name
13301326

1327+
- name: WinUI 3 (Windows App SDK) sample app
1328+
href: ./webview2/samples/webview2-winui3-sample.md
1329+
displayName: WebView2_WinUI3_Sample # repo dir name
1330+
13311331
- name: WPF
13321332
items:
13331333
- name: WebView2 in WPF apps
13341334
href: ./webview2/platforms/wpf.md
13351335

1336+
- name: Get started with WebView2 in WPF apps
1337+
href: ./webview2/get-started/wpf.md
1338+
displayName: WPF_GettingStarted # repo dir name
1339+
13361340
- name: WPF sample app
13371341
href: ./webview2/samples/webview2wpfbrowser.md
13381342
displayName: WebView2WpfBrowser # repo dir name
@@ -1341,23 +1345,19 @@
13411345
href: ./webview2/samples/wv2cdpextensionwpfsample.md
13421346
displayName: WV2CDPExtensionWPFSample # repo dir name
13431347

1344-
- name: Get started with WebView2 in WPF apps
1345-
href: ./webview2/get-started/wpf.md
1346-
displayName: WPF_GettingStarted # repo dir name
1347-
13481348
- name: WinForms
13491349
items:
13501350
- name: WebView2 in WinForms apps
13511351
href: ./webview2/platforms/winforms.md
13521352

1353-
- name: WinForms sample app
1354-
href: ./webview2/samples/webview2windowsformsbrowser.md
1355-
displayName: WebView2WindowsFormsBrowser # repo dir name
1356-
13571353
- name: Get started with WebView2 in WinForms apps
13581354
href: ./webview2/get-started/winforms.md
13591355
displayName: WinForms_GettingStarted # repo dir name
13601356

1357+
- name: WinForms sample app
1358+
href: ./webview2/samples/webview2windowsformsbrowser.md
1359+
displayName: WebView2WindowsFormsBrowser # repo dir name
1360+
13611361
- name: HoloLens 2 Unity
13621362
items:
13631363
- name: WebView2 in HoloLens 2 Unity apps
@@ -1367,13 +1367,13 @@
13671367
href: ./webview2/get-started/hololens2.md
13681368
displayName: HoloLens2_GettingStarted # repo dir name
13691369

1370-
- name: WebView2 sample apps
1371-
href: ./webview2/code-samples-links.md # delete & redir?
1372-
13731370
- name: Getting Started tutorials
13741371
href: ./webview2/get-started/get-started.md # delete & redir?
13751372
displayName: GettingStartedGuides # repo dir name
13761373

1374+
- name: WebView2 sample apps
1375+
href: ./webview2/code-samples-links.md # delete & redir?
1376+
13771377
# -----------------------------------------------------------------------------
13781378
- name: Navigation, events, and authentication
13791379
items:

microsoft-edge/webview2/get-started/get-started.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ ms.date: 02/22/2023
1010
---
1111
# Getting Started tutorials
1212

13-
These articles cover how to set up your development tools and create an initial WebView2 app, like a Hello World app with basic functionality. Learn about WebView2 concepts along the way.
13+
These articles cover how to set up your development tools and create an initial WebView2 app, like a Hello World app with basic functionality. You learn WebView2 concepts along the way. If you want to first install and run a sample, see [Win32 sample app](../samples/webview2apissample.md) or another sample app article.
14+
1415

1516
| Article | Completed project | Description |
1617
|---|---|---|

microsoft-edge/webview2/get-started/hololens2.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ ms.date: 11/25/2024
1212

1313
This tutorial is for developers using WebView2 in immersive HoloLens 2 Unity applications.
1414

15+
This article is to learn to write your own WebView2 code. If you want to first install and run a sample, see [Win32 sample app](../samples/webview2apissample.md) or another sample app article.
16+
1517
> [!IMPORTANT]
1618
> WebView2 on Hololens 2 continues to be available. However, support for WebView2 on Hololens 2 is discontinued; there are no planned bug fixes or content updates, and technical support has ended. Applications that use WebView2 on Hololens 2 are not guaranteed to continue to work.
1719

microsoft-edge/webview2/get-started/win32.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ ms.date: 07/29/2022
1212

1313
<!-- TODO: Rewrite to start from a project template? -->
1414

15+
This article is to learn to write your own WebView2 code. If you want to first install and run a sample, see [Win32 sample app](../samples/webview2apissample.md) or another sample app article.
16+
1517
In this article, you set up your development tools (if not done already), learn how to add WebView2 code to a Win32 app project, and learn about WebView2 concepts along the way.
1618

1719
This tutorial starts by opening an existing Win32 app project that has WebView2 code added. The project uses the [Win32_GettingStarted (WebView2GettingStarted.sln)](https://github.com/MicrosoftEdge/WebView2Samples/tree/main/GettingStartedGuides/Win32_GettingStarted) directory that's part of the `WebView2Samples` repo. To use this article, you do the following:

microsoft-edge/webview2/get-started/winforms.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.date: 10/26/2022
1010
---
1111
# Get started with WebView2 in WinForms apps
1212

13+
This article is to learn to write your own WebView2 code. If you want to first install and run a sample, see [Win32 sample app](../samples/webview2apissample.md) or another sample app article, such as [WinForms sample app](../samples/webview2windowsformsbrowser.md).
14+
1315
<!--
1416
todo: errors experienced with vs2022 by following these instructions:
1517
* The addressbar text box & Go button shift to the right when alt+tab to the Form1 window.

microsoft-edge/webview2/get-started/winui.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.date: 11/01/2024
1010
---
1111
# Get started with WebView2 in WinUI 3 (Windows App SDK) apps
1212

13+
This article is to learn to write your own WebView2 code. If you want to first install and run a sample, see [Win32 sample app](../samples/webview2apissample.md) or another sample app article, such as [WinUI 3 (Windows App SDK) sample app](../samples/webview2-winui3-sample.md).
14+
1315
This article covers how to set up your development tools and create an initial WebView2 app for WinUI 3 (Windows App SDK), and learn about WebView2 concepts along the way. You first use the **Blank App, Packaged (WinUI 3 in Desktop)** Visual Studio project template, which uses the WindowsAppSDK, which includes the WebView2 SDK. You then add a WebView2 control, an Address bar and **Go** button, and URL logic to only allow navigating to HTTPS URLs.
1416

1517

microsoft-edge/webview2/get-started/winui2.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.date: 10/31/2023
1010
---
1111
# Get started with WebView2 in WinUI 2 (UWP) apps
1212

13+
This article is to learn to write your own WebView2 code. If you want to first install and run a sample, see [Win32 sample app](../samples/webview2apissample.md) or another sample app article, such as [WinUI 2 (UWP) sample app](../samples/webview2_sample_uwp.md).
14+
1315
In this tutorial, you:
1416
* Set up your development tools for creating UWP apps that use WebView2 to display web content.
1517
* Create an initial WinUI 2 (UWP) app.

microsoft-edge/webview2/get-started/wpf.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.date: 09/19/2022
1010
---
1111
# Get started with WebView2 in WPF apps
1212

13+
This article is to learn to write your own WebView2 code. If you want to first install and run a sample, see [Win32 sample app](../samples/webview2apissample.md) or another sample app article, such as [WPF sample app](../samples/webview2wpfbrowser.md).
14+
1315
This article covers how to set up your development tools and create an initial WebView2 app for Windows Presentation Foundation (WPF), and learn about WebView2 concepts along the way.
1416

1517
In this tutorial, you 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.

microsoft-edge/webview2/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ developer.microsoft.com:
132132
* [Microsoft Edge WebView2](https://developer.microsoft.com/microsoft-edge/webview2) - initial introduction to WebView2 features at developer.microsoft.com.
133133

134134
Microsoft.com:
135-
* [Become a Microsoft Edge Insider](https://www.microsoft.com/en-us/edge/download/insider) - download the preview channels of Microsoft Edge (Canary, Dev, and Beta).
135+
* [Become a Microsoft Edge Insider](https://www.microsoft.com/edge/download/insider) - download the preview channels of Microsoft Edge (Canary, Dev, and Beta).
136136

137137
YouTube:
138138
* [Building, Deploying, and Managing WebView2 Applications](https://www.youtube.com/watch?v=LX-eXvcSx6c) - March 2, 2021.

microsoft-edge/webview2/platforms/wpf.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ n/a
4949

5050
* [WebView2CompositionControl Class](/dotnet/api/microsoft.web.webview2.wpf.webview2compositioncontrol)
5151

52-
* [WPF Airspace - WebView2CompositionControl](https://github.com/MicrosoftEdge/WebView2Feedback/blob/main/specs/WPF_WebView2CompositionControl.md) - Spec.
53-
52+
Airspace:
5453
* [Mitigating Airspace Issues In WPF Applications](https://dwayneneed.github.io/wpf/2013/02/26/mitigating-airspace-issues-in-wpf-applications.html)
54+
* [WPF Airspace - WebView2CompositionControl](https://github.com/MicrosoftEdge/WebView2Feedback/blob/main/specs/WPF_WebView2CompositionControl.md) - Spec.

0 commit comments

Comments
 (0)