wcf的wcfdualHTTPBinding的調用嚴重慢的問題

 發現有時候需要增加紅色部分的內容,調用纔不會很長時間

   <services>

      <service behaviorConfiguration="MyServiceBehavior" name="service.MyPublisher" >

        <endpoint address="" binding="wsDualHttpBinding" contract="service.IMyContract" bindingConfiguration="dualHttpBinding">

          <identity>

            <dns value="localhost"/>

          </identity>

        </endpoint>

        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />

        <!--<endpoint address="net.tcp://locolhost:9999" binding="netTcpBinding"  contract="service.IMyContract" />-->

        <host>

          <baseAddresses>

            <add baseAddress="http://localhost:6678/" />

          </baseAddresses>

        </host>

      </service>


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章