随笔分类 -  WCF

IIS7 host WCF通过多播实现出版-预订(Build pub-sub with IIS7 Host WCF by msmq multicast and netmsmqintegrationbinding)
摘要:开发环境:Win2008 sp2 VS2008 sp1Add roles:Web Server(IIS7),Application Server(Message Queuing)Add features : WCF Activation Msmq:multicasting Support确认:Net.Msmq Listener Adapter Running 因为我是使用IIS7来Host WCF... 阅读全文

posted @ 2010-01-12 13:40 Utopia Coming 阅读(1719) 评论(5) 推荐(2)

扩展WCF操作行为
摘要:使用IParameterInspector, IOperationBehavior,Attribute(参数检查器、操作行为接口和标签)扩展WCF操作行为开发环境: VS2008 SP1 WIN2008 SP2WCF允许我们在端点Endpoint、消息message、操作Operation、参数Parameter中扩展WCF。本文简单介绍如何截获操作的参数来扩展WCF的操作。这种扩展需要在WCF的... 阅读全文

posted @ 2010-01-12 12:32 Utopia Coming 阅读(1182) 评论(0) 推荐(1)

扩展WCF的消息分发行为
摘要:使用消息分发检查器IDispatchMessageInspector、服务器行为IServiceBehavior、端点行为IEndpointBehavior扩展WCF的消息分发行为Extend WCF dispatch message behavior with IDispatchMessageInspector IServiceBehavior, IEndpointBehavior WCF从绑定... 阅读全文

posted @ 2010-01-12 11:27 Utopia Coming 阅读(885) 评论(1) 推荐(0)

使用消息分发检查器IDispatchMessageInspector、服务器行为IServiceBehavior、端点行为IEndpointBehavior扩展WCF的消息分发行为
摘要:使用消息分发检查器、服务器行为、端点行为扩展WCF的消息分发行为Extend WCF dispatch message behavior with IDispatchMessageInspector IServiceBehavior, IEndpointBehavior WCF从绑定的通道中接受到客户端调用它的消息后,使用消息分发器将消息发给需要调用的操作。这个过程中我们在不修改原有WCF的程序也... 阅读全文

posted @ 2009-12-04 16:46 Utopia Coming 阅读(2409) 评论(1) 推荐(4)

使用IParameterInspector, IOperationBehavior,Attribute(参数检查器、操作行为接口和标签)扩展WCF操作行为
摘要:开发环境: VS2008 SP1 WIN2008 SP2WCF允许我们在端点Endpoint、消息message、操作Operation、参数Parameter中扩展WCF。本文简单介绍如何截获操作的参数来扩展WCF的操作。这种扩展需要在WCF的Contract契约上加标签来实现,不能算是真正的AOP,但是有些AOP的意思。实现步骤:1、实现自己的参数检查器;2、将参数检查器放入要实现的操作行为;... 阅读全文

posted @ 2009-12-02 13:50 Utopia Coming 阅读(1735) 评论(0) 推荐(0)

Build pub-sub with IIS7 Host WCF by msmq multicast and netmsmqintegrationbinding(IIS7 host WCF通过多播实现出版-预订)
摘要:开发环境:Win2008 sp2 VS2008 sp1Add roles:Web Server(IIS7),Application Server(Message Queuing)Add features : WCF Activation Msmq:multicasting Support确认:Net.Msmq Listener Adapter Running 因为我是使用IIS7来Host WCF... 阅读全文

posted @ 2009-12-02 13:35 Utopia Coming 阅读(392) 评论(0) 推荐(1)

导航