-
Notifications
You must be signed in to change notification settings - Fork 30
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.
EdgeSharp
Getting Started
Resource handling - How files are loaded
Inter-process Communication (IPC)
- Introduction
- AddHostObjectToScript
- PostWebMessage
- Ajax XHR
- Action Controllers
- Creating & Registering Host Objects
- Creating & Registering PostWebMessage Script Promise
- Registering Custom Request Scheme Handlers
Customizing and Extending EdgeSharp
EdgeSharp Samples
Debugging