Answer the question
In order to leave comments, you need to log in
What is the best way to implement Push service for Windows application without IIS?
You need to create 2 applications, the first server is a console application. Must accept and hold connections until they disconnect themselves. When receiving a message of a certain type from one of the clients, it must send it to all the others.
The client, respectively, connects to the server and does not send anything to it, it only waits for a message from it, sometimes it must check the connection (test request).
I tried to google, but these are either services on WCF with IIS, for which I don’t want to fence self host, or services according to the principle “constantly ask the server if there is any new information”.
Third-party services on the Internet are not suitable (there are such, I saw them), because this goodness should work on a local network without internet access.
What is better to use for this? Are there any similar examples?
Answer the question
In order to leave comments, you need to log in
Use ASP.NET SignalR, don't let ASP.NET confuse you. SignalR can be hosted in both a console application and a Windows service .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question