C
C#2y ago
djibouti

✅ Connecting desktop client to a web app. How to link the session via SignalR?

Hello. I am trying to design a new project. I need to build a client to run on user's desktops. This client will need to be able to open other processes in the user's session. At my company we are looking to consolidate our internal tools to a web application for the user interface. My hope is that I can have my web application (integrated with Azure AD) pass down commands to the desktop client. In the past I've used signalR to handle web sockets and the fallback if those aren't available. It has worked great. What I can't work out is how to link the desktop client with the web application. How do I communicate the connection ID for the desktop client to the web app session? Anyone have any good ideas? My design thoughts here may be over-engineering and flawed so criticism of that idea is welcome if you have other suggestions. I can't seem to make the mental model for how this desktop client starts up, connects to the SignalR hub, and the user's web app session knows which connection ID to transmit commands. If I can't work out a good solution I can always revert to a WPF application and scrap the idea of integration with our web app, but I wanted to see if I could crowdsource some good ideas. Thanks for reading!
1 Reply
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity. Closed!