
wcf
yyf_ad
这个作者很懒,什么都没留下…
展开
-
wcf 单项操作
wcf :http://download.youkuaiyun.com/detail/bitfan/1378464http://www.cnblogs.com/yang_sy/archive/2012/03/09/2387597.html由于该操作需要耗费一定的时间去更新数据库,你将修改其为单向操作,并为ProductsService服务创建一个回调合约,使用该回调合约通知客户端操作的结果转载 2012-04-23 23:55:10 · 408 阅读 · 0 评论 -
WCF Out Parameter position change issue
WSDL does not show the original method signature; instead, it shows the input parameters as a group and the output parameters as another group. When Add Service Reference generates client side proxy,转载 2013-04-05 13:48:19 · 1011 阅读 · 0 评论 -
服务凭证(service credential)和服务身份(service identity)
http://www.cnblogs.com/artech/archive/2011/06/12/Authentication_043.html在采用TLS/SSL实现Transport安全的情况下,客户端对服务证书实施认证。但是在默认情况下,这种认证仅仅是确保服务证书的合法性(通过数字签名确保证书确实是由申明的CA颁发)和可信任性(证书或者CA证书存储于相应的可信赖存储区)。而WCF提供转载 2012-08-01 13:19:20 · 3007 阅读 · 0 评论 -
WCF安全之EndPointIdentity
http://www.cnblogs.com/viter/archive/2009/07/01/endpointidentity.html最近在做一个项目,应用了WCF进行分布式开发,中间还涉及到消息路由器等,好在有WCF提供了强大的基础支持,当然,本身也作了不少的扩展,实际,我 最关心的是WCF的安全问题,网上不少朋友介绍的WCF的安全也是少得可怜,微软发布的WCF Security GUI转载 2012-08-01 13:10:59 · 1112 阅读 · 0 评论 -
Windows Communication Foundation (WCF) Best Practices
http://bloggingabout.net/blogs/gerben/archive/2010/02/01/wcf-best-practices.aspxWCF is already around for a while, though best practices aren’t very well known in the developer community. In my se转载 2012-08-13 16:34:11 · 475 阅读 · 0 评论 -
Proxy Close() blocks with an OneWay operation
http://social.msdn.microsoft.com/Forums/en/wcf/thread/a1dad52a-44ef-4aa3-975a-5a3231d480e5I found out that closing a proxy can make your application block until the service operation is done for转载 2012-08-13 16:32:52 · 824 阅读 · 0 评论 -
限流,WCF配置连接数
http://hi.baidu.com/aptsnail/blog/item/7e4c6f3404733e3e5ab5f530.html限流(Throttling)限流“允许开发者限制客户端连接数以及服务的负荷。限流可以避免服务的最大化,以及分配与使用重要资源的最大化。引入限流技术后,一旦超出配置的设置值,WCF就会自动地将等待处理的调用者放入到队列中,然后转载 2012-08-07 12:23:34 · 2384 阅读 · 0 评论 -
How to: Host a WCF Service in a Managed Windows Service
http://msdn.microsoft.com/en-us/library/ms733069(v=vs.90).aspxHow to: Host a WCF Service in a Managed Windows Service.NET Framework 3.5Other Versions33 out of转载 2012-07-15 21:44:49 · 599 阅读 · 0 评论 -
我的WCF之旅(6):在Winform Application中调用Duplex Service出现TimeoutException的原因和解决方案
http://www.cnblogs.com/artech/archive/2007/03/29/692032.html几个星期之前写了一篇关于如何通过WCF进行 双向通信的文章([原创]我的WCF之旅(3):在WCF中实现双向通信(Bi-directional Communication) ),在文章中我提供了一个如果在Console Application 调用Duplex W转载 2012-07-15 21:43:16 · 472 阅读 · 0 评论 -
Writing Smart Clients by Using Windows Communication Foundation
http://msdn.microsoft.com/en-us/library/cc294424.aspxSummary: There are a number of important design constraints that you must accommodate in your application when combining Microsoft Windows Comm转载 2012-07-15 21:32:59 · 812 阅读 · 0 评论 -
wcf 回调
server:interface IMyCallbackContract { [OperationContract(IsOneWay=true)] void OnCallback(string info); } [ServiceContract(CallbackContract=typeof(IMyCallb转载 2012-07-08 23:06:11 · 461 阅读 · 0 评论 -
wcf广播
http://www.cnblogs.com/jillzhang/archive/2008/02/24/1079339.html上文讨论了WCF中三种消息交换模式,one-way,request/reply,duplex。前两项比较简单,无需多言,duplex相对比较复杂,上文只是实现了简单的回调,在真正应用的时候,还有许多值得注意之处,本文就结合一个实际的应用例子来谈论下dupl转载 2012-05-29 23:15:00 · 681 阅读 · 0 评论 -
用duplex实现消息广播
http://blog.youkuaiyun.com/fangxinggood/article/details/6142861WCF中定义3种消息交换模式: 1. Request/Reply; 2. One-Way; 3. Duplex。 Request/Reply 是缺省模式,即同步调用。在调用服务方法后需要等待服务的消息返回,即便该方法返回 void 类型。 One-Wa转载 2012-05-29 22:54:39 · 497 阅读 · 0 评论 -
wcf timeoutexception
http://blogs.msdn.com/b/hongmeig/archive/2010/03/06/timeouts-in-wcf-and-their-default-values.aspxThere are a lot of timeouts in WCF. let us summarize it here.Timeouts on bindingThese are the m转载 2012-04-23 23:49:27 · 1284 阅读 · 0 评论 -
wcf服务引用-List<T> to T[]
在wcf服务端定义了一个返回List的方法,然后客户端引用服务,方法返回值确变成了string[],返回值为什么会改变呢?经Google查询后,The reason is that WCF serializes Generic lists as arrays to send across the wire。为了使客户端的返回值变为List,可以specify that you want t原创 2013-04-16 10:23:32 · 707 阅读 · 0 评论