Alistair Posted March 11, 2005 Posted March 11, 2005 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? Quote
Alistair Posted March 30, 2005 Author Posted March 30, 2005 I ended up using SoapFormatter instead of strait XML. This increased the speed significantly. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.