Skip to content

Commit dce00b6

Browse files
Merge pull request #140 from mikehoffms/user/v-mhoffman/readmes
Normalize Readmes
2 parents 5297f81 + 6677053 commit dce00b6

File tree

25 files changed

+147
-677
lines changed

25 files changed

+147
-677
lines changed

GettingStartedGuides/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Getting Started tutorial projects
2+
3+
<!-- only enough info to differentiate this dir level vs the others; what is different about this dir compared to the sibling dirs? -->
4+
These are completed Visual Studio projects that result from following the steps in the [Getting Started tutorials](https://docs.microsoft.com/microsoft-edge/webview2/get-started/get-started).
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
---
2-
description: "Getting started with WebView2 in WPF doc"
2+
description: "Completed Visual Studio project from the tutorial Get started with WebView2 in WPF apps."
33
languages:
44
- csharp
55
page_type: sample
66
products:
77
- microsoft-edge
8-
urlFragment: webview2-wpf-getting-started
8+
urlFragment: WPF_GettingStarted
99
---
10-
# Getting Started with WebView2 in WPF
10+
# Get started with WebView2 in WPF apps
1111

12-
This sample relates to the [Getting started with WebView2 in WPF](https://docs.microsoft.com/microsoft-edge/webview2/gettingstarted/wpf) doc.
12+
<!-- only enough info to differentiate this sample vs the others; what is different about this sample compared to the sibling samples? -->
13+
This sample, **WPF_GettingStarted**, is the completed Visual Studio project that results from following the steps in the tutorial [Get started with WebView2 in WPF apps](https://docs.microsoft.com/microsoft-edge/webview2/get-started/wpf).
1314

14-
![sample snapshot](https://raw.githubusercontent.com/MicrosoftDocs/edge-developer/main/microsoft-edge/webview2/get-started/media/wpf-getting-started-app.png)
15+
![The running app from the finished WinUI 3 (Windows App SDK) tutorial](screenshots/wpf-getting-started-bing.png)
1.19 MB
Loading
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
---
2-
description: "Getting started with WebView2 for Win32 apps doc"
2+
description: "Completed Visual Studio project from the tutorial Get started with WebView2 in Win32 apps."
33
languages:
44
- cpp
55
page_type: sample
66
products:
77
- microsoft-edge
8-
urlFragment: webview2-win32-getting-started
8+
urlFragment: Win32_GettingStarted
99
---
10-
# Getting Started with WebView2 for Win32 apps
10+
# Get started with WebView2 in Win32 apps
1111

12-
This sample relates to the [Getting started with WebView2 for Win32 apps](https://docs.microsoft.com/microsoft-edge/webview2/gettingstarted/win32) doc.
12+
<!-- only enough info to differentiate this sample vs the others; what is different about this sample compared to the sibling samples? -->
13+
This sample, **Win32_GettingStarted**, is a completed Visual Studio project that includes WebView2 code already added for you. The tutorial [Get started with WebView2 in Win32 apps](https://docs.microsoft.com/microsoft-edge/webview2/get-started/win32) starts by opening this completed project.
1314

14-
![sample snapshot](https://raw.githubusercontent.com/MicrosoftDocs/edge-developer/main/microsoft-edge/webview2/media/bing-window.png)
15+
![The running app for the Win32 Get Started tutorial](screenshots/bing-window.png)
1.34 MB
Loading
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
description: "Completed Visual Studio project from the tutorial Get started with WebView2 in WinForms apps."
3+
languages:
4+
- csharp
5+
page_type: sample
6+
products:
7+
- microsoft-edge
8+
urlFragment: WinForms_GettingStarted
9+
---
10+
# Get started with WebView2 in WinForms apps
11+
12+
<!-- only enough info to differentiate this sample vs the others; what is different about this sample compared to the sibling samples? -->
13+
This sample, **WinForms_GettingStarted**, is the completed Visual Studio project that results from following the steps in the tutorial [Get started with WebView2 in WinForms apps](https://docs.microsoft.com/microsoft-edge/webview2/get-started/winforms).
14+
15+
![The running app from the finished WinForms tutorial](screenshots/winforms-bing.png)
353 KB
Loading
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
---
2-
description: "Getting started with WebView2 in WinUI3 doc"
2+
description: "Completed Visual Studio project from the tutorial Get started with WebView2 in WinUI 3 (Windows App SDK) apps."
33
languages:
44
- csharp
55
page_type: sample
66
products:
77
- microsoft-edge
8-
urlFragment: webview2-winui3-getting-started
8+
urlFragment: WinUI3_GettingStarted
99
---
10-
# Getting Started with WebView2 in WinUI3
10+
# Get started with WebView2 in WinUI 3 (Windows App SDK) apps
1111

12-
This sample relates to the [Getting started with WebView2 in WinUI3](https://docs.microsoft.com/microsoft-edge/webview2/gettingstarted/winui) doc.
12+
<!-- only enough info to differentiate this sample vs the others; what is different about this sample compared to the sibling samples? -->
13+
This sample, **WinUI3_GettingStarted**, is the completed Visual Studio project that results from following the steps in the tutorial [Get started with WebView2 in WinUI 3 (Windows App SDK) apps](https://docs.microsoft.com/microsoft-edge/webview2/get-started/winui).
1314

14-
![sample snapshot](https://raw.githubusercontent.com/MicrosoftDocs/edge-developer/main/microsoft-edge/webview2/get-started/media/winui-getting-started-part-3.png)
15+
![The running app from the finished WinUI 3 (Windows App SDK) tutorial](screenshots/getting-started-part-3.png)
132 KB
Loading

README.md

Lines changed: 20 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,33 @@
11
# WebView2 Samples
22

3-
This repository contains getting started apps as well as sample apps that demonstrate the features and usage patterns of [WebView2](https://docs.microsoft.com/microsoft-edge/webview2/). As we add more features to WebView2, we will regularly update our samples.
3+
Welcome to the WebView2Samples repo. This repo contains several types of samples for [WebView2](https://docs.microsoft.com/microsoft-edge/webview2/):
44

5-
In the [GettingStarted](./GettingStartedGuides/) folder you will find the starter code for its respective guide listed below:
6-
- [Win32 Getting Started](https://docs.microsoft.com/microsoft-edge/webview2/gettingstarted/win32)
7-
- [WPF Getting Started](https://docs.microsoft.com/microsoft-edge/webview2/gettingstarted/wpf)
8-
- [WinForms Getting Started](https://docs.microsoft.com/microsoft-edge/webview2/gettingstarted/winforms)
9-
- [WinUI Getting Started](https://docs.microsoft.com/microsoft-edge/webview2/gettingstarted/winui)
5+
* Getting Started tutorial projects - Completed Visual Studio projects that result from following the steps in the [Getting Started tutorials](https://docs.microsoft.com/microsoft-edge/webview2/get-started/get-started). These are like Hello World basic apps.
106

11-
In the [SampleApps](./SampleApps/) folder you will find:
12-
- [WebView2Samples.sln](SampleApps/WebView2Samples.sln) - a collective solution that includes [WebView2APISample.vcxproj](SampleApps/WebView2APISample/WebView2APISample.vcxproj), [WebView2SampleWinComp.vcxproj](SampleApps/WebView2SampleWinComp/WebView2SampleWinComp.vcxproj), [WebView2WpfBrowser.csproj](SampleApps/WebView2WpfBrowser/WebView2WpfBrowser.csproj), [WebView2WindowsFormsBrowser.csproj](SampleApps/WebView2WindowsFormsBrowser/WebView2WindowsFormsBrowser.csproj), [WV2DeploymentWiXCustomActionSample](/SampleApps/WV2DeploymentWiXCustomActionSample/README.md), and [WV2DeploymentWiXBurnBundleSample](/SampleApps/WV2DeploymentWiXBurnBundleSample/README.md).
7+
* Sample apps - WebView2 sample apps for various frameworks and platforms, as Visual Studio projects. These samples have menus and demonstrate various APIs. For more information, see [Sample apps](https://docs.microsoft.com/microsoft-edge/webview2/code-samples-links).
138

14-
Share feedback in the [WebView2 Feedback repo](https://aka.ms/webviewfeedback).
9+
* Deployment samples - Samples that demonstrate deploying the WebView2 Runtime. For more information, see [Deployment samples](https://docs.microsoft.com/microsoft-edge/webview2/samples/deployment-samples).
1510

16-
## Win32 C/C++
1711

18-
#### Getting Started
12+
## Contributing
1913

20-
Start with the [Win32 WebView2 getting-started guide](https://docs.microsoft.com/microsoft-edge/webview2/gettingstarted/win32) to learn how to setup a WebView within a Win32 application.
14+
This project welcomes contributions and suggestions. Most contributions require you to agree to a
15+
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
16+
the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
2117

22-
This guide uses the [Win32_GettingStarted](./GettingStartedGuides/Win32_GettingStarted) sample code from the [GettingStartedGuides](./GettingStartedGuides/) directory.
18+
When you submit a pull request, a CLA bot will automatically determine whether you need to provide
19+
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
20+
provided by the bot. You will only need to do this once across all repos using our CLA.
2321

24-
#### Comprehensive API Sample
22+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
23+
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
24+
contact [[email protected]](mailto:[email protected]) with any additional questions or comments.
2525

26-
The **Win32 C++ Sample** is in the [WebView2APISample](./SampleApps/WebView2APISample) directory and [WebView2SampleWinComp](./SampleApps/WebView2SampleWinComp) directory.
2726

28-
#### Multiple WebViews Sample
27+
## Trademarks
2928

30-
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`.
31-
32-
Follow the [WebView2Browser guide](https://github.com/MicrosoftEdge/WebView2Browser) to learn how to build an application that utilizes multiple WebViews.
33-
34-
## .NET (WPF and Windows Forms)
35-
36-
#### Getting Started
37-
38-
* Read the [WPF getting started guide](https://docs.microsoft.com/microsoft-edge/webview2/gettingstarted/wpf) for WebView2 in WPF applications.
39-
40-
* See the [Windows Forms getting started guide](https://docs.microsoft.com/microsoft-edge/webview2/gettingstarted/winforms) for WebView2 in WinForms applications.
41-
42-
#### Comprehensive API Sample
43-
44-
* The **WPF Sample** is in the [WebView2WpfBrowser](./SampleApps/WebView2WpfBrowser) directory.
45-
* The **Windows Forms Sample** is in the [WebView2WindowsFormsBrowser](./SampleApps/WebView2WindowsFormsBrowser) directory.
46-
47-
## UWP/WinUI
48-
49-
The **UWP WinUI Sample** is in the [WinUI Controls Gallery](https://github.com/microsoft/Xaml-Controls-Gallery/tree/winui3preview) directory.
50-
51-
## WebView2 Deployment
52-
53-
To help developers understand how to [deploy Evergreen WebView2 Runtime](https://docs.microsoft.com/microsoft-edge/webview2/concepts/distribution#deploying-the-evergreen-webview2-runtime) with your applications, see the following samples:
54-
55-
* [WV2DeploymentWiXCustomActionSample](/SampleApps/WV2DeploymentWiXCustomActionSample/README.md) creates a [WiX](https://wixtoolset.org/) installer for [WebView2APISample](./SampleApps/WebView2APISample/README.md) and uses [WiX Custom Action](https://wixtoolset.org/documentation/manual/v3/wixdev/extensions/authoring_custom_actions.html) to chain-install the Evergreen WebView2 Runtime.
56-
* [WV2DeploymentWiXBurnBundleSample](/SampleApps/WV2DeploymentWiXBurnBundleSample/README.md) creates a [WiX](https://wixtoolset.org/) installer for [WebView2APISample](./SampleApps/WebView2APISample/README.md) and uses [WiX Burn Bundle](https://wixtoolset.org/documentation/manual/v3/bundle/) to chain-install the Evergreen WebView2 Runtime.
57-
* [WV2DeploymentVSInstallerSample](/SampleApps/WV2DeploymentVSInstallerSample/README.md) uses the [Microsoft Visual Studio Installer Projects](https://marketplace.visualstudio.com/items?itemName=visualstudioclient.MicrosoftVisualStudio2017InstallerProjects) to create an installer for [WebView2APISample](./SampleApps/WebView2APISample/README.md) and chain-install the Evergreen WebView2 Runtime.
58-
59-
## Next Steps
60-
61-
* See [Introduction to Microsoft Edge WebView2](https://aka.ms/webview) to learn more about WebView2.
62-
* To submit an issue specifically about this repo, see [Issues | MicrosoftEdge\/WebView2Samples](https://github.com/MicrosoftEdge/WebView2Samples/issues).
63-
* Share feedback about the WebView2 control in the [WebView2 Feedback repo](https://aka.ms/webviewfeedback).
29+
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft
30+
trademarks or logos is subject to and must follow
31+
[Microsoft Trademark and Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general).
32+
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
33+
Any use of third-party trademarks or logos are subject to those third-party's policies.

0 commit comments

Comments
 (0)