C#网络服务器/客户端应用程序 [英] C# NET Server/Client Application

查看:78
本文介绍了C#网络服务器/客户端应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始在一个相当基本的服务器/客户端应用程序(逻辑明智的),但我有点困惑,我应该用什么我的需要。它看起来像有几种选择,但基本上我将有一个主服务器和客户端应用的X数量(每专用机一个)。这种设置的主要目的是为了让我基本上可以执行下列操作...

I am starting on a fairly basic Server/Client application (logic wise), but I am a bit confused as to what I should use for my needs. It looks like there a few options, but basically I am going to have a Master Server, and X amount of client applications (one per dedicated machine). The main purpose of this setup is so that I can basically do the following...

通过ASP前端-issue命令服务器(控制台应用程序),以在远程客户机的一个安装软件。 - 服务器告诉客户端压缩包(从不同的FTP站点)下载到的位置,并将其解压到特定的路径

-Issue command to server (console app) via an ASP front end to install software on one of the remote clients. - Server tells client to download zip package (from a various FTP site) to location and extract it to specific path.

我不积极,但它看起来像C#有插座,然后某种交易的Web客户端类型。我假设套接字将采取的最佳路线,并使用异步(每个远程客户端连接在自己的线程,处理其他的独立服务器)。

I am not positive, but it looks like C# has Sockets and then some sort of WebClient type of deal. I am assuming Sockets would be the best route to take, and to use asynchronous (each remote client is connected in its own thread, dealing with the server individually of others).

这方面的消息将是巨大的!

Any information on this would be great!

推荐答案

在不考虑太多的细节为您的具体要求,我肯定会看的 WCF

Without going into too much detail for your specific requirements, I would definitely look at WCF.

它包含了很多现有的远程处理,客户端/服务器,在一个非常完整和安全框架,Web服务的场景。

It encompasses a lot of the existing remoting, client / server, web services scenarios in a very complete and secure framework.

与WCF 的客户端服务器编程

这篇关于C#网络服务器/客户端应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆