Dlaczego usługa wsHttpBinding nie obsługuje przesyłania strumieniowego?Dlaczego wsHttpBinding nie obsługuje przesyłania strumieniowego?
EDIT: Aby przetestować mój komentarz o netTcpBinding, próbowałem poniższy kod, co daje błąd wykonania:
<netTcpBinding >
<binding name="myBinding" transferMode="Streamed">
<reliableSession enabled="true"/>
</binding>
</netTcpBinding>
Runtime wyjątek:
Unhandled Exception: System.InvalidOperationException: Transfer mode Streamed is
not supported by ReliableSessionBindingElement.
at System.ServiceModel.Channels.ReliableSessionBindingElement.VerifyTransport
Mode(BindingContext context)
jeśli <reliableSession enabled="true"/>
zostanie usunięta, kod działa.
Ponieważ nie zaprojektowały go. –