MCPcopy Create free account
hub / github.com/MicrosoftEdge/WebView2Samples

github.com/MicrosoftEdge/WebView2Samples @1.0.4126-testing

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.0.4126-testing ↗ · + Follow
1,291 symbols 2,077 edges 218 files 290 documented · 22% updated 6d agov1.0.1466-prerelease · 2023-01-09★ 1,02962 open issues

Browse by type

Functions 1,142 Types & classes 149
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

WebView2 Samples

Welcome to the WebView2Samples repo. This repo contains several types of samples for WebView2:

  • Getting Started tutorial projects - Completed Visual Studio projects that result from following the steps in the Getting Started tutorials. These are like Hello World basic apps.

  • 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.

  • Deployment samples - Samples that demonstrate deploying the WebView2 Runtime. For more information, see Deployment samples.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft Trademark and Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Core symbols most depended-on inside this repo

Shape

Method 1,048
Class 144
Function 94
Enum 5

Languages

C#51%
C++47%
TypeScript2%

Modules by API surface

SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs260 symbols
SampleApps/WebView2WindowsFormsBrowser/BrowserForm.cs98 symbols
SampleApps/WebView2APISample/AppWindow.cpp77 symbols
SampleApps/WebView2APISample/ViewComponent.cpp35 symbols
SampleApps/WebView2APISample/ScriptComponent.cpp31 symbols
SampleApps/WV2CDPExtensionWPFSample/MainWindow.xaml.cs31 symbols
SampleApps/WebView2APISample/ScenarioWebViewEventMonitor.cpp23 symbols
SampleApps/webview2_sample_uwp/Pages/Browser.xaml.cs19 symbols
SampleApps/WebView2APISample/SettingsComponent.cpp19 symbols
SampleApps/WebView2APISample/ProcessComponent.cpp19 symbols
SampleApps/WebView2APISample/AppWindow.h17 symbols
SampleApps/WebView2WindowsFormsBrowser/EventMonitor.cs16 symbols

For agents

$ claude mcp add WebView2Samples \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page