zoukankan      html  css  js  c++  java
  • WCFhttp_tcp 协议

    1、 <add baseAddress="http://localhost:8000/"/>     <!--<add baseAddress="net.tcp://localhost:8006/"/>-->

    2、 <endpoint address="" binding="wsHttpBinding" bindingConfiguration="LargeDataTransferServicesBinding" contract="WcfService.IService"></endpoint>     中 binding="wsHttpBinding"

    3、 <behaviors>       <serviceBehaviors>         <behavior name="CalculatorServiceBehavior">           <serviceMetadata httpGetEnabled="True"/>           <serviceDebug includeExceptionDetailInFaults="false"/>         </behavior>       </serviceBehaviors>     </behaviors>

       中 httpGetEnabled="True"    includeExceptionDetailInFaults="false" 不发错误信息

    4、<bindings>中     <wsHttpBinding>         <binding name="LargeDataTransferServicesBinding"            maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" sendTimeout="00:20:00" useDefaultWebProxy="false">           <readerQuotas maxStringContentLength="12000000" maxArrayLength="12000000"/>           <security mode="None"/>         </binding>       </wsHttpBinding>

  • 相关阅读:
    Mysql InnoDB引擎下 事务的隔离级别
    Spring 两大核心 IOC 和 AOP
    java 冒泡排序
    MyBatis 传入List集合作为条件查询数据
    fastfusion运行
    数据集
    工具学习
    三维重建
    Scrivener破解
    博客园设置
  • 原文地址:https://www.cnblogs.com/fengzhengfly/p/4146877.html
Copyright © 2011-2022 走看看