WCF RESTFUL 服務提示Large Entity
類別 [選擇一個類別或鍵入一個新類別]
標準wcf服務提示Entity Too Large的解決方案,參考:WCF錯誤:413 Request Entity Too Large - Gyoung - 博客園 (cnblogs.com)
使用WCF提供restful api時,同樣會存在Entity Too Large,參考(吐槽百度搜索)
c# - WCF RestFull "413 Request Entity Too Large" - Stack Overflow
<bindings>
<basicHttpBinding>
<binding closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxBufferPoolSize="5242880000" maxBufferSize="655360000" maxReceivedMessageSize="655360000">
<readerQuotas maxDepth="32" maxStringContentLength="655360000" maxArrayLength="2147483647" maxBytesPerRead="655360000" maxNameTableCharCount="16384" />
<security mode="None" />
</binding>
<binding name="ZyPaySoap" maxReceivedMessageSize="2147483647" />
<binding name="ZyPaySoap1" />
</basicHttpBinding>
<webHttpBinding>
<binding maxReceivedMessageSize="2147483647" maxBufferPoolSize="2147483647" maxBufferSize="2147483647"
>
</binding>
</webHttpBinding>
</bindings>
@@#