V
V
Vitaly Pukhov2015-06-05 09:21:56
Programming
Vitaly Pukhov, 2015-06-05 09:21:56

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

3 answer(s)
S
Sergey, 2015-06-05
@senal

Use ASP.NET SignalR, don't let ASP.NET confuse you. SignalR can be hosted in both a console application and a Windows service .

A
Artyom, 2015-06-05
@artem_b89

You create a WCF library and use it in a console application.

E
Eugene, 2015-06-05
@EvgenijDv

When receiving a message of a certain type from one of the clients, it must send it to all the others.
You already decide

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question