Click here to Skip to main content
15,891,022 members
Please Sign up or sign in to vote.
2.33/5 (3 votes)
See more:
But the problem is both the windows application will be running on non dedicated server. And using internet they should connect with each other.

What I have tried:

I have tried wcf wsDualHttpBinding to send progress update but it can't be running on non dedicated server
Posted
Updated 26-Apr-18 19:39pm
Comments
johannesnestler 25-Apr-18 7:22am    
I'd do it with a layer in between. E.g. A WebService for the Task to report with another part to retrieve the Progress Information. You will have to host this on the Internet/Cloud though....
manish.communityhub 25-Apr-18 8:10am    
Thanks for your comment but the information is not enough how could I connect to machine
A to machine B via a hosted service.
F-ES Sitecore 25-Apr-18 12:21pm    
You don't. Instead machine A tells the web service "I'm 10% done" and every 30 seconds machine B asks the webservice "What is the progress of machine a?" and it is told "10%" so displays that info.

Maybe SignalR would be an option, see: c# - How to create online signalR server - Stack Overflow[^]
This answer seems a bit simplistic though, just Google on SignalR for more information.

Raddevus has an interesting article about SignalR, Beginner's Guide to Using SignalR via ASP.NET[^]
and he recommends this hosting site: SmarterASP.net - Unlimited ASP.NET Web Hosting[^]
 
Share this answer
 
v2
I think this link would help me

Advanced TCP socket programming with .NET[^]
 
Share this answer
 

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