Last post Apr 26, 2012 11:40 AM by vividpath
Apr 23, 2012 03:23 PM|vividpath|LINK
I have 2 windows systems on my network.
System-1 has images to serve and system-2 should display the
On power-on of system-2, it will call the webservice on system-1
and gets an image and displays it.
So far so good, and this I managed to implement easily.
However now I want to be able to change the image on System-2, using a
GUI interface from system-1.
Idea is that system-1 should inform system-2 that it should change its image!
How can I accomplish this?
Should I also run a webservice on system-2 to accomplish this?
Is there any better way to think about this problem.
Probably using windows services?
I am new to windows programming, and not sure what is the best possible approach to
accomplish this. Can someone enlighten me? Thank you.
Apr 25, 2012 07:09 AM|Peter pi - MSFT|LINK
Based on my understanding, you can create a webservice on system 2 and if the image on the system 1 was being changed, then you can call that webservice to inform System 2. or you could use WCF dual binding (e.g: WSDualHttpBinding) which allows service to
communicate with client.
Apr 26, 2012 09:53 AM|vividpath|LINK
Thank you Peter for introducing me to WCF. I will look into this now. Running a webservice on system 2 is not a solution for me.
In the meanwhile I thought the "windows task scheduler" as a solution. Is this a good solution too?
The client will then periodically poll the webserver for new information. Please do let me know your opinion on this.
Apr 26, 2012 10:16 AM|Peter pi - MSFT|LINK
You want to call web service on system 1 in the windows task schedule and then schedule this task to run at periodical time, this approach could also complete above goal.
Apr 26, 2012 11:40 AM|vividpath|LINK
Thanks a lot Peter. Now I will see what best suits for the needs, WCF or Task scheduler and act accordingly.