how to check the dynamic behavior of a web service (WCF) from process monitor?

177 views Asked by At

I need to monitor the behavior of a web service (WCF) that has been successfully published on my desktop with IIS6.

It was built by C# in VS2013 on win7.

I need to consume/access the service from my laptop by downloading a file from the web service.

 WebClient.DownloadFile(myUri, myFile);

This is called from a c# VS 2010.

I have installed fiddler, MS process explorer and cygwin (watch "ps -W") in order to monitor what has happened when

DownloadFile()

was executed.

But, in all the process monitors, I cannot see any dynamic update for behavior of my desktop which is the service host.

-----update ----

I want to monitor the process of how the host transfer the data to the client, becasue in client (my laptop), the DownloadFile() cannot download any files larger than 64KB. I also found that on the server side (my desktop), even thought I set maxRequestLength = 1 in wbe.config, I can still download files as long as they are smaller than 64KB. So, I think that the desktop must have some default setting to overwrite the max file size that is allowed to download.

I have checked all setting of timeout, minBytePerSec, maxrequestlength, weblimit of IIS and web.config on client and server (my desktop). None of them can solve the problem.

When I copied the code and debug it in my desktop, I got error of

 "The remote server returned an error: (504) Gateway Timeout."

But, when I run the same program from my laptop. No these errors.

In Fiddler, I got

[Fiddler] ReadResponse() failed: The server did not return a complete response for this request. Server returned 65536 bytes. 
0

There are 0 answers