91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

WCF wsDualHttpBinding 綁定

發布時間:2020-06-28 17:12:59 來源:網絡 閱讀:655 作者:rmlifejun 欄目:編程語言
服務端配置文件:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
  </configSections>
  <appSettings>
    <add key="secretKey" value="!@#$aIMeILIfe2014SysTem%^*" />
  </appSettings>
  <system.web>
    <compilation debug="true" targetFramework="4.0" />
  </system.web>

  <!--LOG日志 2014-10-15 BY 翁喬-->
  <log4net>
    <logger name="MPLIFE">
      <level value="ALL" />
    </logger>
    <logger name="logerror">
      <level value="ERROR" />
      <appender-ref ref="ErrorAppender" />
    </logger>
    <logger name="loginfo">
      <level value="INFO" />
      <appender-ref ref="InfoAppender" />
    </logger>
    <logger name="logtrace">
      <level value="INFO" />
      <appender-ref ref="TraceAppender" />
    </logger>
    <!--調試日志-->
    <appender name="InfoAppender" type="log4net.Appender.RollingFileAppender">
      <param name="File" value="Log\\Info\\" />
      <param name="AppendToFile" value="true" />
      <param name="StaticLogFileName" value="false" />
      <param name="DatePattern" value="yyyyMMdd&quot;.log&quot;" />
      <param name="RollingStyle" value="Date" />
      <layout type="log4net.Layout.PatternLayout">
        <param name="ConversionPattern" value="%n信息時間:%d%n信息內容:%m%n" />
      </layout>
      <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
    </appender>
    <!--錯誤日志-->
    <appender name="ErrorAppender" type="log4net.Appender.RollingFileAppender">
      <param name="File" value="Log\\Error\\" />
      <param name="AppendToFile" value="true" />
      <param name="StaticLogFileName" value="false" />
      <param name="DatePattern" value="yyyyMMdd&quot;.log&quot;" />
      <param name="RollingStyle" value="Date" />
      <layout type="log4net.Layout.PatternLayout">
        <param name="ConversionPattern" value="%n異常時間:%d%n異常內容:%m%n" />
      </layout>
      <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
    </appender>
    <!--跟蹤日志-->
    <appender name="TraceAppender" type="log4net.Appender.TraceAppender">
      <layout type="log4net.Layout.PatternLayout">
        <param name="ConversionPattern" value="%m" />
      </layout>
    </appender>
  </log4net>

  <system.serviceModel>
    <services>
      <service name="Suppot.Servies.SuppotServies">
        <endpoint binding="wsDualHttpBinding" bindingConfiguration="SuppotServicesBinding" behaviorConfiguration="SuppotBehavior" contract="Suppot.Servies.ISuppotServies">
        </endpoint>
      </service>
    </services>
    <behaviors>
      <endpointBehaviors>
        <behavior name="SuppotBehavior">
          <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
        </behavior>
      </endpointBehaviors>
      <serviceBehaviors>
        <behavior>
          <!-- 為避免泄漏元數據信息,請在部署前將以下值設置為 false 并刪除上面的元數據終結點 -->
          <serviceMetadata httpGetEnabled="true" />
          <!-- 要接收故障異常詳細信息以進行調試,請將以下值設置為 true。在部署前設置為 false 以避免泄漏異常信息 -->
          <serviceDebug includeExceptionDetailInFaults="false" />
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <bindings>
      <wsDualHttpBinding>
        <binding name="SuppotServicesBinding" receiveTimeout="00:03:00" sendTimeout="00:03:00" maxReceivedMessageSize="2147483647" transactionFlow="True">
          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
          <security mode="None" />
        </binding>
      </wsDualHttpBinding>
    </bindings>
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
  </system.serviceModel>
  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true" />
    <directoryBrowse enabled="true" />
  </system.webServer>

</configuration>

客戶端配置:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <system.serviceModel>
    <bindings>
      <basicHttpBinding>
        <binding name="BasicHttpBinding_IAccount" />
        <binding name="BasicHttpBinding_IBaseService" />
      </basicHttpBinding>
      <wsDualHttpBinding>
        <binding name="WSDualHttpBinding_ISuppotServies" closeTimeout="00:01:00"
          openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
          bypassProxyOnLocal="false" transactionFlow="true" hostNameComparisonMode="StrongWildcard"
          maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text"
          textEncoding="utf-8" useDefaultWebProxy="true">
          <readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647"
            maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
          <reliableSession ordered="true" inactivityTimeout="00:10:00" />
          <security mode="None">
            <message clientCredentialType="Windows" negotiateServiceCredential="true" />
          </security>
        </binding>
      </wsDualHttpBinding>
    </bindings>
    <client>
      <endpoint address="http://****/Sys/Account.svc"
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IAccount"
        contract="Account.IAccount" name="BasicHttpBinding_IAccount" />
      <endpoint address="http://****/baseinfo/BaseService.svc"
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IBaseService"
        contract="BaseService.IBaseService" name="BasicHttpBinding_IBaseService" />
      <endpoint address="http://****/SuppotServies.svc"
        binding="wsDualHttpBinding" bindingConfiguration="WSDualHttpBinding_ISuppotServies"
        contract="SuppotServies.ISuppotServies" name="WSDualHttpBinding_ISuppotServies" />
    </client>
  </system.serviceModel>
</configuration>

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

长白| 盈江县| 梧州市| 平顺县| 张家口市| 新和县| 福贡县| 临沭县| 扎鲁特旗| 南投县| 阜阳市| 大关县| 苏尼特右旗| 洮南市| 丰县| 海盐县| 商城县| 黔西| 成安县| 襄城县| 巴东县| 商河县| 益阳市| 肇东市| 黄浦区| 吉木乃县| 大新县| 元谋县| 织金县| 阳江市| 政和县| 龙井市| 丰台区| 玛纳斯县| 金沙县| 松原市| 子洲县| 龙岩市| 延边| 枣强县| 宾阳县|