![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
WCF
_iorilan
10年以上软件工程经验,先后从事在线教育/IT金融/即时通信/政府/物流平台/零售/门禁/监控等领域。专注夯实基础/项目成本与架构平衡/框架调研/团队高效协同工作
展开
-
WCF 配置错误:没有与给定的地址“{0}”匹配的协议绑定。协议绑定在 IIS 或 WAS 配置中的站点级别配置。
因为没有给出的缘故。错误配置: http://localhost:8001/WcfService1" binding="wsHttpBinding" contract="WcfService1.IService1" />原创 2012-10-20 22:43:17 · 3105 阅读 · 0 评论 -
WCF update service reference dll issue
when met with some issue like :xxx.dll can not be loaded .1.check the GAC folder ,see the version of the dll ,use gacutill.exe to reinstall the dll , e.g:gacutil.exe /u RPS.RPSBusinessEntity原创 2013-02-20 12:24:51 · 1274 阅读 · 0 评论 -
WCF 第一个服务练习
1.定义接口(普通的request/reply模式)[ServiceContract] public interface IService1 { [OperationContract] string GetData(int value); }2.实现接口[Service原创 2012-10-29 19:52:57 · 1214 阅读 · 0 评论 -
WCF duplex 简单实例
1.定义两个接口//客户端调用 [ServiceContract(CallbackContract = typeof(IContractCallback))] public interface IContract { [OperationContract(IsOneWay = true)] void Foo(DataMember dt原创 2012-10-29 19:58:48 · 1617 阅读 · 0 评论 -
Wcf Publish and consume
Publish WCF in IIS1. Confirm IIS is enable in local2. Confirm WCF Service is enable in IIS3. Add a Site in Application pool4. Add Mime Type of svc File in IISOpen原创 2013-10-05 15:45:25 · 1595 阅读 · 0 评论 -
using Proto buf in WCF
Step 1: download Protobuf and ref in prjStep 2: Simply change DataContract -> ProtoContractDataMember -> Protomember (orderNo) [ProtoContract] public class CompositeType {原创 2013-12-02 17:29:52 · 1549 阅读 · 0 评论