zoukankan      html  css  js  c++  java
  • WCF上传大文件处理方法

    <system.serviceModel>
    <bindings>
    <basicHttpBind>
    <Binding name="服务名" maxBufferPollSize="2147483647" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647"
     maxReceivedMessageSize="2147483647" maxBufferSize="2147483647">
    
    <readerQuotas axDepth="2000000" maxStringContentlength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647">
    
    <security mode="none">
    <transport clientGredentialType="None" proxyCredentialType="None" realm="">
    <message clientGredentialType="userName" algorithmSuite="Default" >
    </security>
    </binding>
    <binding closeTime="00:20:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"></binding>
    
    </basicHttpBind>
    </bindings>
    
    <behavior>
    <dataContractSerializer mxItemsInObjectGraph="2147483647">
    <serviceMetadata HttpGetEnabled="True" httpsGetEnabled="False">
    </behavior>
    <protocolMapping>
    <add binding="basicHttpbinding" scheme="https">
    </protocolMapping>
    </system.serviceModel>
    
    <configuration>下加 <system.webServer><directoryBrowse enable="true"> </system.webServer>
  • 相关阅读:
    js的同步与异步
    单体应用SSM
    Spring 事务管理简介
    Linux
    Docker
    spring Cloud Netflix
    平台即服务
    MySQL InnoDB 索引组织表 & 主键作用
    Innodb Double Write
    Laravel 5.6: Specified key was too long error
  • 原文地址:https://www.cnblogs.com/softwaredeveloper/p/5355769.html
Copyright © 2011-2022 走看看