0
我可以在Monotouch應用程序中使用帶有TransferMode =「StreamedRequest」的WCF服務嗎?Monotouch和BasicHttpBinding with TransferMode =「StreamedRequest」
我可以在Monotouch應用程序中使用帶有TransferMode =「StreamedRequest」的WCF服務嗎?Monotouch和BasicHttpBinding with TransferMode =「StreamedRequest」
查看單聲道源,似乎使用IRequestChannel接口支持StreamedRequest,並且此類型包含在MonoTouch附帶的WCF版本中。
但是,要知道它是否正常工作的唯一方法就是對照MonoTouch附帶的WCF子集對其進行測試。最簡單的方法是首先驗證您是否可以使用IRequestChannel接口創建一個有效的通用ChannelFactory。然後繼續實際綁定到實現此TransferMode的服務。
,這可能是一個很好的用例利用Touch.Unit在這裏重現相關測試:
https://github.com/mono/mono/tree/master/mcs/class/System.ServiceModel/Test/System.ServiceModel.Channels