Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello, is it possible to send message from ASP.NET website to C# Windows Form Application? I want the servers to communicate in a way that people can't find out where the message is sent.

What I have tried:

Research, but I can't find anything I'm looking for.
Posted
Updated 13-Nov-17 6:03am
Comments
Suvendu Shekhar Giri 13-Nov-17 12:03pm    
That's bit weird requirement. The short answer is "NO".
But if you can share what is the message you want to share and why, then probably we will be able to suggest you a correct approach.

1 solution

Web applications using HTTP/HTTPS, like ASP.NET, are always request/response type apps. The client makes a request and the server sends a response to it. A web server NEVER arbitrarily sends anything to a client without the client making a request for it.

So, in a direct sense, no, you can't send a message from the web app to the client.

But, you can using other technologies, like SignalR[^].
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900