Hi, MonoTouch Community We're experiencing the issue with application distributed to the device. The application reads the file from the server by calling the REST Service method and receiving 64Kb chunks of the Base64 content wrapped in the Base64WrapperObject as a string property. Then the result stream is sent to DataContractJsonSerializer.ReadObject method and the ReadObject returns the Base64WrapperObject. Usually the ReadObject takes less than a second (we're not logging milliseconds so I cannot say the exact time). But sometimes (and that occurs on device only) the ReadObject takes 25-30 seconds (without obvious reason). We excluded the server-side issue. The request returns, data is loaded and we can load them into memory stream and pass it to ReadObject - no difference.
Did anyone seen such issue? We're going to redo the code to just load the binary stream, but would appreciate any possible explanation of such behavior. Thanks, Denis -- View this message in context: http://monotouch.2284126.n4.nabble.com/DataContractJsonSerializer-ReadObject-takes-a-very-long-time-on-device-tp3630108p3630108.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
