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
Post a Comment