开发者

Need a solution for my project to replace the current .NET Remoting solution

开发者 https://www.devze.com 2022-12-21 14:57 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号