WCF之自定义Channel

《WCF揭秘》那本烂书的Sample版本太低,我重写了一个:

基于这个WCFCustomChannelSolution0.zip

ChennelFactory:WCFCustomChannelSolution1.zip

ChannelListener:

 

System.ServiceModel.Channels命名空间下:

IInputChannel          相当于IsOneway=true

IOutputChannel

IRequestChannel      相当于IsOneway=false

IReplyChannel

IDuplexChannel        相当于IRequestChannel和IResponseChannel

 

IInputChannel和IOutputChannel要成对出现

posted @ 2009-11-01 11:44  包建强  Views(576)  Comments(0Edit  收藏  举报