Skip to main content

Microsoft Silverlight

Answered Question HttpWebRequest Transfer SpeedRSS Feed

(0)

coryjohnson
coryjohnson

Member

Member

22 points

11 Posts

HttpWebRequest Transfer Speed

I think there is a bug or inefficiency in HttpWebRequest in silverlight 

I have implemented a downloader and uploader with resume capability, etc.  Everything is fine except that the download speed I get is much less that my actual connection bandwidth (like by a factor of 10 or more).

 I have done tests removing all other bookeeping logic, etc. and the transfer speed is still the same proportion slower than what I get just downloading straight from internet explorer from the same server.  So I know it has to be something internally with HttpWebRequest.

 Has anyone else experienced this problem or does anyone know a solution?

Jonathan Shen – MSFT
Jonathan...

All-Star

All-Star

24939 points

2,425 Posts

Microsoft

Re: HttpWebRequest Transfer Speed

Hi Coryjohnson,

How about the difference between using IE way and HttpWebRequest?    Did you use any proxy?  How about the second time use HttpWebRequest to visit its resource?   Also, how about the condition when do it on a normal asp.net page?   We can use Fiddler or Web Development Helper to get the request details. 

Best regards,

Jonathan

Jonathan Shen
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

coryjohnson
coryjohnson

Member

Member

22 points

11 Posts

Answered Question

Re: Re: HttpWebRequest Transfer Speed

I found that this was an issue with IIS 6 and that using IIS 7 to serve the handler improved the speed to a normal range.

Jonathan Shen – MSFT
Jonathan...

All-Star

All-Star

24939 points

2,425 Posts

Microsoft

Re: Re: HttpWebRequest Transfer Speed

Hi Coryjohnson,

Thanks for your sharing.

Best regards,

Jonathan

Jonathan Shen
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities