Passing a FileStream to WCF throws “Timeouts are not supported on this stream” exception
问题 When trying to pass a small FileStream to my WCF service I get "Timeouts are not supported on this stream" error. Can anyone see what I'm doing wrong? Interface: [OperationContract] List<SystemClass> ReadExcelFile(System.IO.FileStream stream); Web.Config <bindings> <basicHttpBinding> <binding name="streaming" maxReceivedMessageSize="2147483647" transferMode="Streamed"> </binding> </basicHttpBinding> </bindings> <services> <service name="MISDashboard.wcfService" behaviorConfiguration="">