HighTechTalks DotNet Forums  

Smartclient takes 2 minutes to render a object

Dotnet Framework (Performance) microsoft.public.dotnet.framework.performance


Discuss Smartclient takes 2 minutes to render a object in the Dotnet Framework (Performance) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
aparna
 
Posts: n/a

Default Smartclient takes 2 minutes to render a object - 08-13-2005 , 08:04 AM






HI,

I have made a smartclient by using the object tag to render a dotnet object
in a html page.
The code in the dll is
WebClient wc = new WebClient();
wc.Credentials = CredentialCache.DefaultCredentials;
System.IO.Stream sResponseStream;
sResponseStream= new MemoryStream(wc.DownloadData(strUrl));
return Image.FromStream(sResponseStream);

This takes around 2 seconds on normal machines. However on some machines
this takes around 2 minutes!!! Any idea why this could be happening ?

Regards
Aparna

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.