I have a project with requirements:
- Clients connect to server through internet (WAN) to get data.
- Server can notify to clients when server has new data.
P/S: Client is a .NET WinForm application. Someone suggest me to use .NET Remoting but it only works well on LAN and it has problem when send event to clients through internet.
Please help me a replace solution. Thanks.
UPDATE: 开发者_运维技巧I wonder that WCF can solve the problem when server want to send event to client through internet. If yes, please send me the article which solves this problem. And the server can send only some clients, not all clients? Thanks.
WCF (Windows Communication Foundation) allows you to wirte a service which can be connected via HTTP or TCP/IP over the internet or network.
Remoting was a predecessor to WCF.
http://msdn.microsoft.com/en-us/library/ms735119.aspx
WCF is the replacement for .NET Remoting.
See Beginner's Guide to Windows Communication Framework to get started.
精彩评论