0
Friends、 私はMVC 2 WebクライアントからローカルにステップインしようとしているWCFサービスを持っています。私はWCFサービスにステップインしようとすると、次のエラーメッセージが表示されます "リモートプロシージャを実行できません"。ここでローカルIISでホストされているASP.NET MVCクライアントからWindowsサービス内でホストされているWCFサービスをデバッグ
私のクライアントであり、ホスト構成
ホスト
<host>
<service name="MyService" behaviorConfiguration="ServiceBehavior">
<host>
<baseAddresses>
<add baseAddress="http://localhost:8000/MyService" />
<add baseAddress="net.tcp://localhost:9002/MyService" />
</baseAddresses>
</host>
<endpoint address="" bindingConfiguration="bigTcpArrayBinding" binding="netTcpBinding" contract="IMyServices" />
<endpoint address="" bindingConfiguration="bigArrayBinding" binding="basicHttpBinding" contract="IMyServices" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
</host>
と クライアントが
、私はすべてのヘルプは大幅 を高く評価しているWindows 7上でVS 2010を使用<client>
<endpoint address="net.tcp://localhost:9002/MyService" binding="netTcpBinding" bindingConfiguration="bigTcpArrayBinding" contract="LPS.HAMP.MARS.IHampServices" name="SANDBOX_HampServicesSvcContract" />
</client>
です
ありがとう RJ
ありがとうございます。 Webクライアントをw3wp.exe iisプロセスに接続してデバッグしていました。では、VSの複数のプロセスにデバッガをアタッチできますか? – RJT
はい、いくつかのWindowsサービスを一度に接続しましたが、同時にいくつのWindowsサービスを接続できるかには限界があります。 –