Is it possible to make the WcfTestClient work for custom transport channels?

前端 未结 2 1404
暖寄归人
暖寄归人 2020-12-15 22:49

Goal

I would like to be able to both host and connect to a vanilla sockets server via WCF, within the hosting framework I am devising. I want to be able to use WC

相关标签:
2条回答
  • 2020-12-15 23:08

    It is possible to create custom transports in WCF. It's quite involved though!

    Roman Kiss has built a Null Transport that allows you to consume and host the services from within the same process without the overhead of marshalling the data through one of the built in transports. His CodePlex article is available at:

    http://www.codeproject.com/KB/WCF/NullTransportForWCF.aspx

    It may be a good starting point for helping you learn how to build your own transport. Good luck!

    0 讨论(0)
  • 2020-12-15 23:10

    I am not aware of custom transport channels. I think as per my experiance, it may not possible to make the WcfTestClient work for custom transport channels.

    0 讨论(0)
提交回复
热议问题