Click here to Skip to main content
15,891,513 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in order to get a desktop notification of messages from the website how can we connect a web application to a desktop application in c#
Posted
Comments
Sinisa Hajnal 4-May-15 8:06am    
Set timed thread in desktop app and check database table (or service or queue or any other resource you use) for the messages posted from the web.

Without offering more details this is the best generic description I can give you.
ZurdoDev 4-May-15 8:20am    
This is not clear. What exactly do you need?

Hi
Try to use URI Protocol..

reference
http://www.openwinforms.com/run_exe_from_javascript.html

Thanks
Saravanan
 
Share this answer
 
See,
Either you could pull the data from your website, which is easier to implement, but is not ideal when you want high performance.

1.Expose a webservice or Rest Api in your webapplication.
2.Use a HTTP client object to call the API from your desktop application.


Or you could push the data from web server, using push service. You could refer following link for better understanding;
http://en.wikipedia.org/wiki/Push_technology[^]
 
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