469,645 Members | 1,174 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,645 developers. It's quick & easy.

Slow load of first node, xmltextreader

I have a problem with reading a xmlfile from a url. I am confused by
the long loading time of the first node.
When the first node has been loaded, the rest of the nodes is parsed
very fast.

I am on a c# 2003 environment.

The url returns an xml of appr 80 kB.

It takes 1,5 seconds from first,start to first, stop.

It takes appr. 0,5 seconds to generate the xml on the remote host.

I'll be very happy for any assistance on this!


// Gets the xml from the Url using XmlTextReader
Trace.Write("init reader","start");
XmlTextReader reader = new XmlTextReader(searchxmlurl);
Trace.Write("init reader","slut");

Sep 21 '07 #1
0 1902

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Kurt Bauer | last post: by
5 posts views Thread by juli jul | last post: by
1 post views Thread by Jonathan Taylor | last post: by
14 posts views Thread by Mr.D | last post: by
3 posts views Thread by cowznofsky | last post: by
2 posts views Thread by =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post: by
2 posts views Thread by =?Utf-8?B?QU5V?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.