标签:run tom pre pool stream content ring comment tab
<bindings>
<webHttpBinding>
<!--这个是接收大数据加的,设置WCF服务器端数据接收上限参数,此处单位字节,故2147483647字节==2G,
仅修改这里尚不能突破 .net默认只能传4M文件的限制,还要修改 httpRuntime maxRequestLength 参数-->
<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>
标签:run tom pre pool stream content ring comment tab
原文地址:http://www.cnblogs.com/Lulus/p/7872352.html