

WebView. So I tried to call the initialization method: var webView = new WebView2() If I set the Source, it loads the web page correctly, but I can't do this way, because I have the html content in memory (and it's not allowed to write to disk). I read in the docs and in other posts as well, that I should call the EnsureCoreWebView2Async() or set the Source property in order to initialize the WebView. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.Īny use of third-party trademarks or logos are subject to those third-party's policies.I'm trying to use WebView2 in a WPF application. The WebView2 Runtime is a stripped-down version of Edge Chromium that’s installed and runs separately from the Edge web browser. Microsoft Trademark and Brand Guidelines. Trademarks or logos is subject to and must follow It allows developers to leverage the best of what Microsoft Edge Chromium platform can offer and build seamless experiences for their users that incorporate web-based content. This project may contain trademarks or logos for projects, products, or services. published JMicrosoft Edge WebView2 is a developer control for embedding web content in applications. This project has adopted the Microsoft Open Source Code of Conduct.įor more information see the Code of Conduct FAQ orĬontact with any additional questions or comments.

You will only need to do this once across all repos using our CLA.

Documentation about Microsoft Edge WebView2 Download Now Give Feedback. When you submit a pull request, a CLA bot will automatically determine whether you need to provideĪ CLA and decorate the PR appropriately (e.g., status check, comment). Embed web content (HTML, CSS, and JavaScript) in your native applications with Microsoft Edge WebView2. Most contributions require you to agree to aĬontributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us

This project welcomes contributions and suggestions. The WebView2 control enables you to embed web technologies (HTML, CSS, and JavaScript) in your native applications powered by Microsoft Edge (Chromium). For more information, see Deployment samples. For more information, see Sample apps.ĭeployment samples - Samples that demonstrate deploying the WebView2 Runtime. The WebView2 control uses Microsoft Edge as the rendering engine to display the web content in native apps. These samples have menus and demonstrate various APIs. Sample apps - WebView2 sample apps for various frameworks and platforms, as Visual Studio projects. Getting Started tutorial projects - Completed Visual Studio projects that result from following the steps in the Getting Started tutorials. This repo contains several types of samples for WebView2:
