WCF
How to Serialize and Deserialize the Dataset using DataSetSurroga...
Question:
Hi Guys!
I had WcfService which returns a dataset contains a bulk of records Like (1000). I want to transfer this records into client.
when the request process this dataset with more time.so i want to load the dataset within a second. but i comes on to load within 1.5 second by using binary formatter.meanwh
ile i want to load the dataset within a second. so i suggest to use dataset surrogate which will the increase the performance?
please help to serialize and deserialize the dataset with Dataset Surrogate with Better performance?
thanks in advance
sasi
Answer1:
Actually, this question is about DataSet serialization. Disregarding the WCF, you will have the same overhead of serialization. You may post your question to the forum below:
http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=2034&SiteID=1
For WCF site, just check the article below. You may use NetDataContractSerializer. For performance enhancement, you may customize serialization in WCF, which may or may not improve the serialization of DataSet.
http://msdn2.microsoft.com/en-us/magazine/cc163569.aspx
thanks