0

私は自分のサービスとクライアントに喜んで取り組んでおり、すべてが正常に機能していましたが、そのセキュリティをセットアップすることにしました.configファイルにバインディング情報がないことに驚きました. プロトコルなし、エンコードなし...

使用しているバインディングを確認するにはどうすればよいですか? IISでホストできたので、間違いなくhttpです(WASはないと思います..)

<?xml version="1.0"?>
<configuration>

  <system.web>
    <compilation debug="true" targetFramework="4.0" />
  </system.web>
  <system.serviceModel>
    <behaviors>
      <serviceBehaviors>
        <behavior>
          <serviceMetadata httpGetEnabled="true"/>
          <serviceDebug includeExceptionDetailInFaults="false"/>
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
  </system.serviceModel>
 <system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/>
  </system.webServer>
</configuration>
4

1 に答える 1

0

デフォルトはBasicHttpBindingNetTcpBindingです。ここを参照してください: Windows Communication Foundation 4 (MSDN) の開発者向け紹介

于 2012-09-23T00:25:40.890 に答える