היי שלום.
כן יש תחליף!
תבני אפליקציית דסקטופ כלשהי שתאזין לבקשות מהדפדפן באמצעות פרוטוקול websocket ולא http, כך שהיא תהווה כמעין HUB (מרכזיה) עבור הבקשות. זה מאוד דומה לעקרון של תקשורת בין clients ב-צ'אט.
ב-.NET יש את הסיפריה
websocket-sharp, בקישור הבא:
A C# implementation of the WebSocket protocol client and server - GitHub - sta/websocket-sharp: A C# implementation of the WebSocket protocol client and server
github.com
ב-frontend תשתמשי ב-WebSocket API, כך שתוכלי לשלוח בקשות מהדפדן ל-HUB.
מידע בקישור הבא:
The WebSocket API is an advanced technology that makes it possible to open a two-way interactive communication session between the user's browser and a server. With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply.
developer.mozilla.org
חשוב להדגיש שלאחר שאפליקצית הדסקטופ מקבלת את המידע מה-frontend, האפליקציה תוכל לתקשר עם מערכת ההפעלה באמצעות רכיבי COM.
נ.ב: כשאני מדבר על frontend, הכוונה שלי היא כל אפליקצית client, בין אם זה ב-
react, angular, vue.js או דף js שמהווה חלק מאפליקצית round-trip שנכתב ב-js vanilla או jquery.
מקווה שעזרתי.