I created a browser instance using Cefsharp library. In the task manager I see only the below processes and not embedded browser webview
.
But, when I created browser instance using the Microsoft Edge WebView2, I see that process as well present. Since, both are chromium based I was thinking same set of processes to be present.
Any explanation should greatly be helpful.
Both CefSharp and MS Edge WebView2 are based on Chromium, so both libraries use multi-process architecture.
The msedgewebview2.exe
process with the --embedded-browser-view=1
command line parameter you see when running MS Edge WebView2 represents a main Chromium process. It doesn't have --type=...
.
In CefSharp you don't see the main Chromium process, because CefSharp initializes Chromium inside a .NET application which might have absolutely different name.
So, the behavior you see is expected and there's nothing strange or unusual if you know how it works inside ;)