Skip to content

Inter process Communication (IPC)

mattkol edited this page Jul 21, 2021 · 2 revisions

EdgeSharp offers 3 primary IPC processes to communicate between the WebView2 renderer process (HTML, JavaScript frontend) and the WebView2 browser process (C#) - AddHostObjectToScript , PostWebMessage and Ajax XHR.

OWIN ASP.NET Core can be considered the fourth, but this is more an extension to EdgeSharp.

All IPC process requires creating and registering related ActionController class(es) to processs requests sent to the C# browser (backend). See - Action Controllers for more info.