diff --git a/microsoft-edge/toc.yml b/microsoft-edge/toc.yml index 1eacb7234d..93ac818ce6 100644 --- a/microsoft-edge/toc.yml +++ b/microsoft-edge/toc.yml @@ -1780,9 +1780,6 @@ - name: WebView uid: 'WebView2Script!WebView:class' # ----------------------------------------------------------------------------- - - name: WebView2 end-user FAQ - href: ./webview2/concepts/end-user-faq.md - - name: Contact the WebView2 team href: ./webview2/contact.md displayName: feedback, log issues, enter issues, report issues, reporting issues, support diff --git a/microsoft-edge/webview2/concepts/end-user-faq-images/task-manager-details-view.png b/microsoft-edge/webview2/concepts/end-user-faq-images/task-manager-details-view.png deleted file mode 100644 index c173089d69..0000000000 Binary files a/microsoft-edge/webview2/concepts/end-user-faq-images/task-manager-details-view.png and /dev/null differ diff --git a/microsoft-edge/webview2/concepts/end-user-faq-images/task-manager-latest-windows.png b/microsoft-edge/webview2/concepts/end-user-faq-images/task-manager-latest-windows.png deleted file mode 100644 index f81da80034..0000000000 Binary files a/microsoft-edge/webview2/concepts/end-user-faq-images/task-manager-latest-windows.png and /dev/null differ diff --git a/microsoft-edge/webview2/concepts/end-user-faq-images/task-manager.png b/microsoft-edge/webview2/concepts/end-user-faq-images/task-manager.png deleted file mode 100644 index 90d0cecdce..0000000000 Binary files a/microsoft-edge/webview2/concepts/end-user-faq-images/task-manager.png and /dev/null differ diff --git a/microsoft-edge/webview2/concepts/end-user-faq.md b/microsoft-edge/webview2/concepts/end-user-faq.md deleted file mode 100644 index b0c5314fdb..0000000000 --- a/microsoft-edge/webview2/concepts/end-user-faq.md +++ /dev/null @@ -1,85 +0,0 @@ ---- -title: WebView2 end-user FAQ -description: Information for end users about WebView2 processes, memory and CPU usage, and automatic installation. -author: MSEdgeTeam -ms.author: msedgedevrel -ms.topic: article -ms.service: microsoft-edge -ms.subservice: webview -ms.date: 03/30/2023 ---- -# WebView2 end-user FAQ - -This Frequently Asked Questions (FAQ) page is for end users, to explain the **WebView2** or **msedgewebview2.exe** processes that are listed in Task Manager. See also [Contact the WebView2 team](../contact.md). - - - -## What is WebView2? - - -WebView2 is a way for app developers to embed web content (such as HTML, JavaScript, and CSS) in Windows applications. By including the WebView2 control in an app, a developer can write code for a website or web app, and then reuse that web code in their Windows application, saving time and effort. See [Introduction to Microsoft Edge WebView2](../index.md). - - - -## What's the purpose of the WebView2 executable? - -WebView2 (`msedgewebview2.exe`) is a Microsoft product that is updated automatically (by using the _Evergreen_ distribution method) to ensure that your applications have the latest feature support and security fixes. - -Most people will see WebView2 used by Widgets, Teams, Office, Outlook, Weather, and many more applications. Any application can use WebView2. - - - -## What are the WebView2 processes that are running? - -WebView2 follows the process model that's used in the Chromium browser engine of Microsoft Edge, described in [Process Model and Site Isolation](https://chromium.googlesource.com/chromium/src/+/main/docs/process_model_and_site_isolation.md). Having functionality broken up into multiple processes help reliability, security, and performance. Each process performs a certain responsibility, and can do that work uninterrupted, even if one of the other processes hits a problem. - -There are normally a few processes: -* The WebView2 manager. -* A GPU process. -* Utility processes, such as network or audio, depending on the content. -* Renderer processes. - -Your machine will have one set of processes for each app that uses WebView2, and typically one renderer process for each WebView2 control that's in the app, similar to how you have one renderer process per tab in a browser. For details, see [Process model for WebView2 apps](./process-model.md). - - - -## What memory and CPU resources does WebView2 use? - -In most cases, any extra memory or CPU usage is due to how WebView2 is being used, not WebView2 itself. If the application is rendering non-optimized web content, then the WebView2 control might consume more resources. Task Manager will normally show the processes grouped by parent, but that view is sometimes incorrect if you sort by a column other than **Name**. - -WebView2 processes are displayed in Task Manager's **Processes** tab as **WebView2**, grouped by parent app. For example, the WebView2 app from [Get started with WebView2 in Win32 apps](https://github.com/MicrosoftEdge/WebView2Samples/tree/main/GettingStartedGuides/Win32_GettingStarted) is listed in Task Manager's **Processes** tab as follows. - -In Windows 10 and early versions of Windows 11, the **Processes** tab only lists the name of the app that uses WebView2: - -![Task Manager showing an app that uses WebView2, with an older Windows version](./end-user-faq-images/task-manager.png) - -In the latest Windows 11 versions, the **Processes** tab lists each WebView2 process: - -![Task Manager showing an app that uses WebView2, with latest Windows](./end-user-faq-images/task-manager-latest-windows.png) - -In the **Details** tab, the WebView2 processes are listed as **msedgewebview2.exe**, and are grouped together rather than grouped by parent app: - -![Task Manager's Details tab, listing instances of the msedgewebview2.exe process](./end-user-faq-images/task-manager-details-view.png) - -You can also use Microsoft's [Process Explorer](/sysinternals/downloads/process-explorer) tool. If you find that an app is consistently causing heavy resource usage, contact the support for that app to report the resource usage. - - - -## Will uninstalling Microsoft Edge make WebView2 stop working? - -No. Microsoft Edge can be uninstalled without causing a problem for WebView2. When both Microsoft Edge and WebView2 are installed, the Microsoft Edge installer links the applications together, to avoid using extra disk space. - - - -## Why was WebView2 re-installed after I uninstalled it? - -WebView2 is pre-installed on Windows 11 and is installed on most Windows 10 devices. See [Delivering the Microsoft Edge WebView2 Runtime to Windows 10 Consumers](https://blogs.windows.com/msedgedev/2022/06/27/delivering-the-microsoft-edge-webview2-runtime-to-windows-10-consumers/). - -Many apps that are built on WebView2 perform checks to re-install WebView2 when the app is installed or launched. Enterprises can also push WebView2 to devices that they manage. - - - -## See also - -* [Introduction to Microsoft Edge WebView2](../index.md) -* [Contact the WebView2 team](../contact.md) diff --git a/microsoft-edge/webview2/landing/index.yml b/microsoft-edge/webview2/landing/index.yml index 548a4d2425..5d1e87fa2d 100644 --- a/microsoft-edge/webview2/landing/index.yml +++ b/microsoft-edge/webview2/landing/index.yml @@ -59,12 +59,6 @@ landingContent: links: - text: Release Notes for the WebView2 SDK url: ../release-notes/index.md - - - linkListType: how-to-guide - links: - - text: WebView2 end-user FAQ - url: ../concepts/end-user-faq.md - # ----------------------------------------------------------------------------- # Card r1c2 - title: Platforms and samples diff --git a/redirects/.openpublishing.redirection.webview2.json b/redirects/.openpublishing.redirection.webview2.json index 21a0de4960..85bedeaf9b 100644 --- a/redirects/.openpublishing.redirection.webview2.json +++ b/redirects/.openpublishing.redirection.webview2.json @@ -10,6 +10,7 @@ // Reference > .NET // Reference > WinForms // Reference > WPF + // Bottom leaf nodes // ====================================================================== // Top matter @@ -605,8 +606,16 @@ "source_path": "../microsoft-edge/webview2/reference/wpf/0-9-515/microsoft-web-webview2-wpf-webview2.md", "redirect_url": "/dotnet/api/microsoft.web.webview2.wpf.webview2", "redirect_document_id": false - } + }, // /Reference > WPF // /Reference + // ====================================================================== + // Bottom leaf nodes + { + "source_path": "../microsoft-edge/webview2/concepts/end-user-faq.md", + "redirect_url": "/microsoft-edge/webview2/landing/", // todo: point to SMC article location + "redirect_document_id": false + } + // /Bottom leaf nodes ] }