[PR #968] feat: Add ElectronHostHook sample application (#967) #1388

Closed
opened 2026-01-29 17:00:16 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/ElectronNET/Electron.NET/pull/968

State: closed
Merged: Yes


Closes #967

Changes

  • Added new sample project \ElectronNET.Samples.ElectronHostHook\ demonstrating bidirectional communication using \ElectronHostHook\ logic.
  • Implemented \ElectronHostHook/index.ts\ to handle 'ping' event and return 'pong'.
  • Implemented HomeController to call the hook from C#.
  • Added the new sample to \ElectronNET.sln.

Details

This addresses the request for a focused 'ElectronHostHook Sample' in the linked issue. The sample is minimal and self-contained, showing only the hook mechanism.

**Original Pull Request:** https://github.com/ElectronNET/Electron.NET/pull/968 **State:** closed **Merged:** Yes --- Closes #967 ## Changes - Added new sample project \ElectronNET.Samples.ElectronHostHook\ demonstrating bidirectional communication using \ElectronHostHook\ logic. - Implemented \ElectronHostHook/index.ts\ to handle 'ping' event and return 'pong'. - Implemented HomeController to call the hook from C#. - Added the new sample to \ElectronNET.sln\. ## Details This addresses the request for a focused 'ElectronHostHook Sample' in the linked issue. The sample is minimal and self-contained, showing only the hook mechanism.
claunia added the pull-request label 2026-01-29 17:00:16 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#1388