I use XmlTextReader reader to get some data online.
During this stage application is like blocked.
I have tried to use BeginInvoke but it doesn’t help a lots.
Or may be I need to implemented some kined of COMPLETED action….
I don’t know…
Any clue how to resolve it?
Thank you!
var searchUrl = "http://weather.service.msn.com/find.aspx?outputview=search&src=vista&weasearchstr=" + query;
// Application is blocked here
var reader = new XmlTextReader(searchUrl);
while (reader.Read())
{
If you are using c# 5.0, async/await can help here