zoukankan      html  css  js  c++  java
  • wcf布到服务器下载文件大小限制问题

    大家都知道,wcf上传文件是有大小限制的,对,上传下载都有限制,但是关于wcf的配置,网上确实不太好找或者说是不准确不全面

    <binding name="NetTcpBinding_IContract" closeTimeout="00:01:00" openTimeout="00:01:00" portSharingEnabled="true"
                receiveTimeout="00:10:00" sendTimeout="00:01:00" transactionFlow="false"
                transferMode="Buffered" transactionProtocol="OleTransactions"
                hostNameComparisonMode="StrongWildcard" listenBacklog="20"
                maxBufferPoolSize="2147483647" maxBufferSize="2147483647"
                maxConnections="500" maxReceivedMessageSize="2147483647">
               <readerQuotas maxDepth="32" maxStringContentLength="2147483647"
                  maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
              <reliableSession ordered="true" inactivityTimeout="00:10:00"
                  enabled="false" />
              <security mode="None">
                <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" />
                <message clientCredentialType="Windows" />
              </security>
            </binding>

    记住,要有security这个节点

  • 相关阅读:
    面向对象基础之类与对象
    常用模块(一)
    re模块与正则表达式
    初识模块
    函数进阶篇
    Spring + Mybatis 读写分离
    java包的所有类生成class
    Oralce数据库的优化
    Java 搜索引擎
    JAVA分布式架构的演进
  • 原文地址:https://www.cnblogs.com/chzbgb/p/6801593.html
Copyright © 2011-2022 走看看