1

まだフィドラー2でリクエストを記録しようとしています:(

vs.net 2010 で単純な WcfService1 を作成しましたが、wcftestclient.exe で呼び出すと、Fiddler には表示されません。誰でもアイデアはありますか?

web.config

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

  <system.net>
    <defaultProxy>
      <proxy bypassonlocal="False" usesystemdefault="True" proxyaddress="http://127.0.0.1:8888" />
    </defaultProxy>
  </system.net>

  <system.web>
    <compilation debug="true" targetFramework="4.0" />
  </system.web>
  <system.serviceModel>
    <bindings />
    <client />
    <behaviors>
      <serviceBehaviors>
        <behavior>
          <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
          <serviceMetadata httpGetEnabled="true"/>
          <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->
          <serviceDebug includeExceptionDetailInFaults="false"/>
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
  </system.serviceModel>
 <system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/>
  </system.webServer>

</configuration>
4

1 に答える 1

3

localhostホスト名として使用してエンドポイントをアドレス指定しますか? localhostへのトラフィックまたは127.0.0.1キャプチャされないトラフィックのため、マシン名またはネットワーク IP アドレスを使用します。

于 2012-07-05T13:26:59.997 に答える