multithreading - Silverlight Background Thread using WebClient -


i'm using webclient infos asynchronously web service :

    wc.downloadstringcompleted += downloadstringcompleted;     wc.downloadstringasync(service); 

i works fine, think downloadstringcompleted method working on ui thread, , since i'm doing lot of parsing there, page takes few seconds appear. however, since have fixed data , progress bar, would'nt mind have appearing instantly.

how perfom ?

thanks !

use httpwebrequest rather webclient. hwr doesn't return on ui thread , doesn't block updating.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -