其他分享
首页 > 其他分享> > WCF 大文件传输配置

WCF 大文件传输配置

作者:互联网

<bindings>    <webHttpBinding>                <binding name="CustomWebBinding" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" transferMode="Streamed" sendTimeout="00:05:00">          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />        binding>    webHttpBinding>bindings><services>    <service name="TravelMobileWCF_IISServer.WCFService">        <endpoint address="/service" behaviorConfiguration="web" binding="webHttpBinding" bindingConfiguration="CustomWebBinding" contract="TravelMobileWCF_IISServer.IServerInterface" />    service>services>

标签:service,文件传输,配置,binding,WCF,services,bindings
来源: https://blog.51cto.com/u_15180952/2733156