johnrscott
New member
- Joined
- May 13, 2021
- Messages
- 3
- Programming Experience
- 5-10
We have developed a system, written in c#: There are physical electronic controllers that have ethernet adapters. They communicate to the socket server over UDP which is writtren in c# (.net 4.8) as a dll with a winforms application on the front. There is a web based front end written in CoreASP .net MVC.
I need to have real time information on the website from the socket server. The website users also need to issue commands and alter settings on the devices, and have instantaneous (or thereabouts) feedback.
Also when a notifiable event happens on a controller, it issues a signal to the socket server which has to be relayed to the website in real time to update a dashboard.
I initially configured a SignalR client on the socket server and used it to relay messages to the website but found it really unreliable and troublesome to manage.
The current setup has the socket server attached to the website as a DLL, but I am unsure if this is wise because I don't know exactly what IIS will do to the web application when there are no page requests or when it recycles the app pool.
EDIT*** I forgot to mention that both socket server and web server will exist on the same internal network, but not necessarily on the same machine. (Currently not possible to put it on separate machines) This will never be an internet facing solution.
Can anyone recommend a robust way to fit these pieces together?
I need to have real time information on the website from the socket server. The website users also need to issue commands and alter settings on the devices, and have instantaneous (or thereabouts) feedback.
Also when a notifiable event happens on a controller, it issues a signal to the socket server which has to be relayed to the website in real time to update a dashboard.
I initially configured a SignalR client on the socket server and used it to relay messages to the website but found it really unreliable and troublesome to manage.
The current setup has the socket server attached to the website as a DLL, but I am unsure if this is wise because I don't know exactly what IIS will do to the web application when there are no page requests or when it recycles the app pool.
EDIT*** I forgot to mention that both socket server and web server will exist on the same internal network, but not necessarily on the same machine. (Currently not possible to put it on separate machines) This will never be an internet facing solution.
Can anyone recommend a robust way to fit these pieces together?
Last edited: