一,设置ASP.NET

<system.web>

    --这里的单位是K
    <httpRuntime maxRequestLength="102400"/>

</system.web>

二,设置WCF

<bindings>
      <wsHttpBinding>

        --这里的单位是B
        <binding name ="wsHttpBinding" maxReceivedMessageSize="2147483647" sendTimeout="00:10:00"></binding>
      </wsHttpBinding>
</bindings>

<endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding" contract="FE.WcfService.Services.IStorage"></endpoint>

相关文章:

  • 2022-12-23
  • 2021-07-30
  • 2022-12-23
  • 2021-06-12
  • 2021-07-13
  • 2021-08-18
  • 2022-12-23
  • 2021-12-03
猜你喜欢
  • 2021-08-14
  • 2021-06-20
  • 2021-12-28
  • 2022-12-23
  • 2021-11-20
  • 2021-09-01
相关资源
相似解决方案