ASituation: We have a web application is running on a server. This application needs to fetch data from some other PC(Clients), which are on a different network.
On the clients' pc there are WCF hosted in Windows Services using its owntheir local Sql db. That's why Server wantsi want to getmake duplex communication between server and clients for share data fromwith each other. data share mean share data-table,data-set,string etc between clients and client also want to get data from server .
Problem :
1) I have no control over the firewall, proxy, NAT on the client side PC. Mostly company Employee PCs have lots of network security e.g firewall block ICMP traffic and some port too, some Router might be Disabled port-forwarding etc etc .
Put another way, client can change network place. I don't want to make something like duplexany setting on client side Router,proxy,firewall though . during communication between Serverhow can i handle that's kind of issue of client side? as you know skype is working perfect in that situation.
firewalls very often block inbound connections to clients; the client may not be reachable from the server, it may be using NAT translation behind a router and Client so that clientscannot be contacted without port forwarding being set up on the router and server are ablesome new router disabled port forwarding .
2) On clients side there is no IIS .
I don't want to share data among each otherallow remote access on clients PC.
eThere are more than 100 Clients and only one Server.g data share (data-table,data-set,string etc one server need communicate with many clients on different network ) between Server and Client.
Computer A (server PC)3) One side my client application is using window application and wcf hosted in window service ,Other side on my server i'm using Web-Page application (.Net) so its mean communication is between desktop pc and web pc , that's issue .
Computer B (client PC) isIf both using a Desktop Applicationweb application then it was not issue to make duplex communication.because i know WEBRTC is fit there lol.
Technology which i had already test and find issue
WSDualHttpBinding: Not work if client behind NAT.
MSMQ : its bad technique if clients more than 1 and performance issue also because its use RAM memory (WCF hosted in windows services) C#.
Xsocket: Its also not work if ICMP traffic block by firewall on client.
WebRTC: Its work fine but its support web to web communication .as my client side i have win app.
Computer CSocket.io: Its need to set up node.js and many other thing (Client PC) is using a Desktop Application, hard to implement because i need implement on existence application (WCF hosted in windows services) C#, i am not making new application.
All Computers AC# Socket Program: Its not work if client and B AND C aresever on different network and using Windows. There is no LAN networking between server and client pcs
Service Bus relay: Its not free even for testing .
On the client sidesocketPro: I don't wantstudied i find its good but i can't find any settingright sample on Router or proxy or Firewallgoogle . On clientsso that i could test that.
Genuine Channels: I can't find any sample on google .
Lets see SignalR issue which i get.: Server side therei run a console application and Client side i run two application ,one is no IISconsole and other web. when i don't want to allow remote access on clients PC too. There are morewas running console client application than 500 Client PCsit was not initiating connection with Server but when i was using web client application then it was working fine. I can't understand why thas??
Please tell me What is best most secure and fast way to handle this situation?
I have studied dual HTTP binding , MSMQ , Xsocket what approach should i use , Socket.io, SignalR, Websocket, WebRTC but I have too many questions to choose one.?
I need communication server to client and client to server, not client to clientThanks Advance .