在web.config文件中具有nettcp绑定的WCF服务. [英] WCF Service with nettcp binding in web.config file.

查看:72
本文介绍了在web.config文件中具有nettcp绑定的WCF服务.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的要求是开发一种wcf服务,该服务可以在Windows和Web应用程序中使用.谁能告诉我如何完成这项任务?

MY requirement is developing a wcf service it can be use in both windows and web applications. can anyone tell me how to achieve this task?

which binding model is good for this requirement?

推荐答案

创建服务使用WAS托管服务,并为同一服务使用2个不同的端点.比使用单一绑定要好得多.
Create the service use the WAS to host the service and use 2 different end points for the same service.That would be a lot better than using a single binding.


这篇关于在web.config文件中具有nettcp绑定的WCF服务.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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