摘要:
协定类型 ZBMService.QueryHistoryData 不具有 ServiceContractAttribute 特性。若要定义有效协定,指定的类型(协定接口或服务类)必须具有 ServiceContractAttribute 特性。Uri TradeServiceUriBase = ne... 阅读全文
摘要:
直接使用Exception进行捕获,然后在监视器中查看具体是哪一个异常 System.Exception {System.ServiceModel.Security.MessageSecurityException}查看StackTraceServer stack trace: 在 Syste... 阅读全文
摘要:
http://blog.pluralsight.com/selfcert-create-a-self-signed-certificate-interactively-gui-or-programmatically-in-net 下载链接 https://s3.amazonaws.com/plura 阅读全文
摘要:
http://www.codeproject.com/Articles/96028/WCF-Service-with-custom-username-password-authenti需要制作证书http://www.cnblogs.com/chucklu/p/4685783.html首先生成证书 阅读全文
摘要:
第一种解决方法:最暴力的配置去掉第二种解决方法:其实已经有了serviceBehavior,但是忘记绑定到Service上了 给Service的BehaviorConfiguration指定之前创建的ServiceBehavior 阅读全文
“net.tcp://localhost:9000/ObtainData”处带有协定“"IObtainData"”的 ChannelDispatcher 无法打开其 IchannelListener。
摘要:
http://stackoverflow.com/questions/1252791/how-to-solve-the-channeldispatcher-is-unable-to-open-its-ichannellistener-erroWith this type of exception i... 阅读全文
摘要:
http://blogs.msdn.com/b/ericlippert/archive/2009/02/02/properties-vs-attributes.aspxHere is yet another question I got from a C# user recently:I have ... 阅读全文
摘要:
of of element of 阅读全文
摘要:
Windows Communication Foundation Configuration Schema 阅读全文
摘要:
在wcf中使用自定义的用户名和密码验证方式 https://msdn.microsoft.com/en-us/library/aa702565.aspx http://www.codeproject.com/Articles/96028/WCF-Service-with-custom-usernam 阅读全文