是否可以从另一台服务器“中继"WCF 服务? [英] Is is possible to 'relay' a WCF service from another server?

查看:47
本文介绍了是否可以从另一台服务器“中继"WCF 服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在防火墙一侧的服务器上有一个 WCF 服务.我需要从防火墙另一侧的许多工作站访问该服务.网络人员坚持认为所有穿过防火墙的漏洞都是一对一的,所以在mo 中,我必须一一设置每个工作站.可能会有负载,它会变得乏味并且容易出错.

I've got a WCF service on a server on one side of a firewall. I need to access the service from many workstations on the other side of the firewall. The network guys insist that all holes through the firewall are one-to-one so at the mo, I'll have to set up every workstation one by one. There could be loads and it'll get tedious and be prone to errors.

是否可以在防火墙的这一侧设置一个 WCF 服务器,它可以以某种巧妙的方式充当防火墙另一侧真实"WCF 服务的代理?如果是这样,你能指点我一些参考资料吗?

Is it possible to set up a WCF server on this side of the firewall that can in some clever way just act as a proxy to the 'real' WCF service on the other side of the firewall? If so, could you point me to some reference material?

推荐答案

我有一些建议,也许适合你的情况:

I have a few suggestions, maybe one would work in your case:

  • 将 WCF 服务置于防火墙之外.如果 WCF 服务需要与数据库通信,请为运行 WCF 服务的机器的 IP 地址打开数据库端口.
  • 编程或使用代码生成来创建一个 WCF 服务,它只是一个传递层
  • 您的防火墙中可能有一些功能允许您发布端点

这篇关于是否可以从另一台服务器“中继"WCF 服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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