随笔分类 -  WCF

摘要:https://docs.microsoft.com/en-us/dotnet/framework/wcf/wcf-error-handling The errors encountered by a WCF application belong to one of three groups: Co 阅读全文
posted @ 2019-05-31 18:26 ChuckLu 阅读(296) 评论(0) 推荐(0) 编辑
摘要:The Fault Contract sample demonstrates how to communicate error information from a service to a client. The sample is based on the Getting Started, wi 阅读全文
posted @ 2019-05-31 15:57 ChuckLu 阅读(265) 评论(0) 推荐(0) 编辑
摘要:IsReference property in data contract It determines how objects are serialized, by default, IsReference=false. Setting IsReference = true allows the s 阅读全文
posted @ 2018-11-20 13:35 ChuckLu 阅读(266) 评论(0) 推荐(0) 编辑
摘要:https://blogs.msdn.microsoft.com/wenlong/2006/01/11/how-to-initialize-hosted-wcf-services/ Using AppInitialize The above global.asax does not work for 阅读全文
posted @ 2018-04-11 14:19 ChuckLu 阅读(267) 评论(0) 推荐(0) 编辑
摘要:https://docs.microsoft.com/en-us/dotnet/framework/wcf/diagnostics/tracing/recommended-settings-for-tracing-and-message-logging Recommended Settings fo 阅读全文
posted @ 2018-03-22 19:02 ChuckLu 阅读(242) 评论(0) 推荐(0) 编辑
摘要:1.设置服务器上的windows service的security,下面的命令只能用cmd.exe来运行(以管理员模式) sc sdset "LISA_43_Dev_Batch" "D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDW 阅读全文
posted @ 2017-12-14 09:53 ChuckLu 阅读(697) 评论(0) 推荐(0) 编辑
摘要:No connection could be made because the target machine actively refused it [::1]:808 确保安装了wcf 1.首先查看端口占用情况, 在资源监视器中查看808端口,没有发现端口被监听 2.和同事确认,他那边的808端口 阅读全文
posted @ 2017-11-22 15:41 ChuckLu 阅读(29738) 评论(0) 推荐(0) 编辑
摘要:https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/data-member-order In some applications, it is useful to know the order in which 阅读全文
posted @ 2017-09-20 13:46 ChuckLu 阅读(260) 评论(0) 推荐(0) 编辑
摘要:2016-04-08 09:15:05,581 [8] ERROR System.Threading.Thread - ErrorSystem.ServiceModel.EndpointNotFoundException: 没有终结点在侦听可以接受消息的 http://192.168.1.63:80 阅读全文
posted @ 2016-04-08 09:39 ChuckLu 阅读(9926) 评论(0) 推荐(0) 编辑
摘要:百度之后,知道这个原因是端口已经被其他进程打开了使用cmd命令,查看8002端口被哪一个程序占用了C:\Windows\System32>netstat -ano | find "8002" TCP 0.0.0.0:8002 0.0.0.0:0 ... 阅读全文
posted @ 2015-09-15 15:17 ChuckLu 阅读(727) 评论(0) 推荐(0) 编辑
摘要:最近谷歌没法用了,我的freegate经常性的崩溃无奈之下,用了必应,貌似也不错http://stackoverflow.com/questions/8414514/iis7-does-not-start-my-exe-file-by-process-start第一种方法Edit:After a l... 阅读全文
posted @ 2015-09-15 08:50 ChuckLu 阅读(687) 评论(0) 推荐(0) 编辑
摘要:1.确保客户端可以接收到服务端的异常 2.部署wcf出错,http错误404.3 3.无法自动调试 未能调试远程过程。这通常说明未在服务器上启用调试 WCF 托管在IIS上 4.ChannelFactory.Endpoint 上的地址属性为空。ChannelFactory 的终结点必须指定一个有效的 阅读全文
posted @ 2015-09-06 13:26 ChuckLu 阅读(1502) 评论(0) 推荐(0) 编辑
摘要:Three ways to do WCF instance management (Per call, Per session, and Single).IntroductionVery often we would like to control the way WCF service objec... 阅读全文
posted @ 2015-09-02 14:55 ChuckLu 阅读(242) 评论(0) 推荐(0) 编辑
摘要:http://www.codeproject.com/Articles/89858/WCF-Concurrency-Single-Multiple-and-Reentrant-andIntroduction and goalIn this article, we will concentrate o... 阅读全文
posted @ 2015-09-02 14:45 ChuckLu 阅读(405) 评论(0) 推荐(0) 编辑
摘要:WCF - net.pipe vs. net.tcp vs. http Bindings问题:I'm new to WCF and would like to know the differences/advantages/limitations/etc of each of the followi... 阅读全文
posted @ 2015-08-27 09:45 ChuckLu 阅读(1593) 评论(0) 推荐(0) 编辑
摘要:绑定 高级设置 http和net.tcp用逗号分隔 //擦擦擦,见鬼了,下面的是tcp.net导致我找了好久,都找不出这个错误 //一定要注意,不要写错了。 否则会收到提示:找不到具有绑定 NetTcpBinding 的终结点的与方案 net.tcp 匹配的基址。注册的基址方案是 [http]。 h 阅读全文
posted @ 2015-08-26 15:39 ChuckLu 阅读(660) 评论(0) 推荐(0) 编辑
摘要:https://social.msdn.microsoft.com/Forums/office/zh-CN/9f0c76d2-85b0-4cd3-979d-ceda7947bcd1/-?forum=wcfzhchs我重新修改了代码,在S端的”发送数据服务“的代码中添加了Current.Channel... 阅读全文
posted @ 2015-08-26 14:01 ChuckLu 阅读(581) 评论(0) 推荐(0) 编辑
摘要:WCF服务安全控制之netTcpBinding的用户名密码验证http://www.cnblogs.com/wengyuli/archive/2011/05/14/wcf-nettcpbinding-username.html http://www.cnblogs.com/woxpp/p/62323 阅读全文
posted @ 2015-08-18 17:36 ChuckLu 阅读(249) 评论(0) 推荐(0) 编辑
摘要:发送到 net.tcp://192.168.1.18:8732/CallbackService 的请求操作在配置的超时(00:00:59.9879994)内未收到回复。分配给此操作的时间可能已经是更长超时的一部分。这可能由于服务仍在处理操作或服务无法发送回复消息。请考虑增加操作超时(将通道/代理转换... 阅读全文
posted @ 2015-08-13 13:39 ChuckLu 阅读(2899) 评论(0) 推荐(0) 编辑
摘要:Duplex Service in WCFIn WCF, a service can call back to its clients. That is to say that, at the time of call back, the service behaves as a client as... 阅读全文
posted @ 2015-08-12 17:40 ChuckLu 阅读(414) 评论(0) 推荐(0) 编辑

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