随笔分类 -  WCF

摘要:1.向ChannelFactory提供的InstanceContext包含未实现CallbackContractType的问题通过添加服务引用生成的客户端代码, public class CallbackHandler : ICalculatorDuplexCallback这里的接口必须是添加服务引... 阅读全文
posted @ 2015-08-12 15:53 ChuckLu 阅读(832) 评论(0) 推荐(0) 编辑
摘要:Duplex Servicesfrom msdnA duplex service contract is a message exchange pattern in which both endpoints can send messages to the other independently. ... 阅读全文
posted @ 2015-08-12 13:14 ChuckLu 阅读(329) 评论(0) 推荐(0) 编辑
摘要:File-less ActivationAlthough .svc files make it easy to expose WCF services, an even easier approach would be to define virtual activation endpoints w... 阅读全文
posted @ 2015-08-10 13:33 ChuckLu 阅读(276) 评论(0) 推荐(0) 编辑
摘要:“/”应用程序中的服务器错误。 未能加载文件或程序集“ZBMYunCoreLib.DLL”或它的某一个依赖项。找不到指定的模块。 说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.IO.Fi 阅读全文
posted @ 2015-08-10 11:16 ChuckLu 阅读(1005) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/x8a5axew.aspxLog on to the Web server by using an administrator account.Turn on Windows Authentication and II... 阅读全文
posted @ 2015-08-10 09:28 ChuckLu 阅读(356) 评论(0) 推荐(0) 编辑
摘要:[2015/8/5 19:28:49]错误信息:接收对 http://192.168.1.18:8001/ObtainData/Service 的 HTTP 响应时发生错误。这可能是由于服务终结点绑定未使用 HTTP 协议造成的。这还可能是由于服务器中止了 HTTP 请求上下文(可能由于服务关闭)所... 阅读全文
posted @ 2015-08-06 15:56 ChuckLu 阅读(9256) 评论(0) 推荐(0) 编辑
摘要:Service Trace Viewer Tool 建议把SdrConfigExample.e2e修改为SdrConfigExample.svclog 阅读全文
posted @ 2015-08-06 15:48 ChuckLu 阅读(1484) 评论(0) 推荐(0) 编辑
摘要:Net.TCP Port Sharing 阅读全文
posted @ 2015-08-04 13:48 ChuckLu 阅读(520) 评论(0) 推荐(0) 编辑
摘要:Hosting Multiple Service Implementations On The Same Port With WCFRecently I have been playing around with WCF and Visual Studio 2008. I was building ... 阅读全文
posted @ 2015-08-04 13:41 ChuckLu 阅读(525) 评论(0) 推荐(0) 编辑
摘要:错误信息:此集合已经采用方案 http 的地址。此集合中每个方案中最多只能包含一个地址。如果服务承载于 IIS 中,则可以通过将“system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled”设置为 true,或指... 阅读全文
posted @ 2015-08-04 10:56 ChuckLu 阅读(2734) 评论(1) 推荐(0) 编辑
摘要:http://sandrinodimattia.net/fixing-common-issues-when-hosting-a-net-4-0-wcf-service-in-iis-7/Until today I never had to host a WCF service in IIS… I a... 阅读全文
posted @ 2015-08-03 13:24 ChuckLu 阅读(292) 评论(0) 推荐(0) 编辑
摘要:https://svn.apache.org/repos/asf/incubator/stonehenge/contrib/stocktrader/dotnet/stocktrader项目的dotnet版本https://svn.apache.org/repos/asf/incubator/ston... 阅读全文
posted @ 2015-08-03 09:53 ChuckLu 阅读(235) 评论(0) 推荐(0) 编辑
摘要:协定类型 ZBMService.QueryHistoryData 不具有 ServiceContractAttribute 特性。若要定义有效协定,指定的类型(协定接口或服务类)必须具有 ServiceContractAttribute 特性。Uri TradeServiceUriBase = ne... 阅读全文
posted @ 2015-08-03 09:48 ChuckLu 阅读(2134) 评论(0) 推荐(0) 编辑
摘要:直接使用Exception进行捕获,然后在监视器中查看具体是哪一个异常 System.Exception {System.ServiceModel.Security.MessageSecurityException}查看StackTraceServer stack trace: 在 Syste... 阅读全文
posted @ 2015-07-30 14:19 ChuckLu 阅读(512) 评论(0) 推荐(0) 编辑
摘要:http://www.codeproject.com/Articles/96028/WCF-Service-with-custom-username-password-authenti需要制作证书http://www.cnblogs.com/chucklu/p/4685783.html首先生成证书 阅读全文
posted @ 2015-07-29 13:51 ChuckLu 阅读(1400) 评论(0) 推荐(0) 编辑
摘要:第一种解决方法:最暴力的配置去掉第二种解决方法:其实已经有了serviceBehavior,但是忘记绑定到Service上了 给Service的BehaviorConfiguration指定之前创建的ServiceBehavior 阅读全文
posted @ 2015-07-29 13:44 ChuckLu 阅读(2819) 评论(1) 推荐(1) 编辑
摘要:http://stackoverflow.com/questions/1252791/how-to-solve-the-channeldispatcher-is-unable-to-open-its-ichannellistener-erroWith this type of exception i... 阅读全文
posted @ 2015-07-28 18:35 ChuckLu 阅读(1508) 评论(0) 推荐(0) 编辑
摘要:of of element of 阅读全文
posted @ 2015-07-28 15:11 ChuckLu 阅读(146) 评论(0) 推荐(0) 编辑
摘要:Windows Communication Foundation Configuration Schema 阅读全文
posted @ 2015-07-28 14:43 ChuckLu 阅读(164) 评论(0) 推荐(0) 编辑
摘要:在wcf中使用自定义的用户名和密码验证方式 https://msdn.microsoft.com/en-us/library/aa702565.aspx http://www.codeproject.com/Articles/96028/WCF-Service-with-custom-usernam 阅读全文
posted @ 2015-07-28 13:34 ChuckLu 阅读(700) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示