Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Currently, my app makes a HTTP request of the server, the server responds in XML (about 1400 records, two columns). The client receives the XML into a memory stream and then loads the memory stream into a dataset using ds.readxml(ms).

 

The HTTP -> MemoryStream portion is very fast. It's done on average in about 2 seconds, but MemoryStream -> Dataset can take up 30 seconds and beyond.

 

Question 1: Can this be sped up? Should the server respond with a different format? Perhaps some sort of preformatted dataset?

 

Question 2: If using ds.readxml(ms) is the right way and I'm just going to have to live with the speed issue, is there a way to translate the progress of ReadXML into a ProgressBar?

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...