Skip to main content
Home Forums Silverlight Programming Report a Silverlight Bug HttpWebRequest Transfer Speed
3 replies. Latest Post by Jonathan Shen – MSFT on November 12, 2009.
(0)
coryjohnson
Member
22 points
11 Posts
10-28-2009 10:29 PM |
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...
All-Star
24939 points
2,425 Posts
11-04-2009 9:24 PM |
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
11-12-2009 2:09 AM |
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.
11-12-2009 2:14 AM |
Thanks for your sharing.