473,395 Members | 1,631 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

soapformatter vs xmlserializer

Hi all, i'm looking for some performance comparison some charts. I have read
the xmlserializer is better, more flexible and faster (analyzing data types
in constructor), but there are some limitation (i.e. public members).
SoapFormatter is better to serialize arbitrary data.
I have done some tests and SoapFormatter is faster 5 times than
XmlSerializer. I don't undestand it, I have tried large arrays, small string
.... the result seems the same - soapformatter is better.

Any idea???

Thank's Petr


Nov 12 '05 #1
2 6273
Jarda,

Did you take a look at my write up at:

http://weblogs.asp.net/cschittko/articles/44277.aspx

HTH,
Christoph Schittko
MVP XML
http://weblogs.asp.net/cschittko
-----Original Message-----
From: Jarda [mailto:ja***@sh.cvut.cz]
Posted At: Thursday, September 23, 2004 11:23 AM
Posted To: microsoft.public.dotnet.xml
Conversation: soapformatter vs xmlserializer
Subject: soapformatter vs xmlserializer

Hi all, i'm looking for some performance comparison some charts. I have read
the xmlserializer is better, more flexible and faster (analyzing data
types
in constructor), but there are some limitation (i.e. public members).
SoapFormatter is better to serialize arbitrary data.
I have done some tests and SoapFormatter is faster 5 times than
XmlSerializer. I don't undestand it, I have tried large arrays, small
string
... the result seems the same - soapformatter is better.

Any idea???

Thank's Petr

Nov 12 '05 #2
Re: soapformatter vs xmlserializerYes, I' ve read it, but I need some concrete values some charts, table of measured values ... Do you have any?

Thanks.
"Christoph Schittko [MVP]" <IN**********@austin.rr.com> píse v diskusním príspevku news:OY**************@TK2MSFTNGP11.phx.gbl...
Jarda,

Did you take a look at my write up at:

http://weblogs.asp.net/cschittko/articles/44277.aspx

HTH,
Christoph Schittko
MVP XML
http://weblogs.asp.net/cschittko
-----Original Message-----
From: Jarda [mailto:ja***@sh.cvut.cz]
Posted At: Thursday, September 23, 2004 11:23 AM
Posted To: microsoft.public.dotnet.xml
Conversation: soapformatter vs xmlserializer
Subject: soapformatter vs xmlserializer

Hi all, i'm looking for some performance comparison some charts. I have
read
the xmlserializer is better, more flexible and faster (analyzing data
types
in constructor), but there are some limitation (i.e. public members).
SoapFormatter is better to serialize arbitrary data.
I have done some tests and SoapFormatter is faster 5 times than
XmlSerializer. I don't undestand it, I have tried large arrays, small
string
... the result seems the same - soapformatter is better.

Any idea???

Thank's Petr



Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: James Willock | last post by:
Hi, I have a class derived from ApplicationException as below (excuse formatting): public class MyException : ApplicationException { public string CompanyName { get {return...
2
by: Wiktor Zychla | last post by:
After signing all my assemblies with strong keys, I've found that the application refuses to deserialize any SOAP serialized data. The message says: Parse error, no assembly associated with the...
0
by: cmrchs | last post by:
Hi, XmlSerializer can serialize data to a file, but SoapFormatter can do the same except that the serialized data in the file is not proper Xml : for instance there is no XmlRoot-element. Why...
2
by: Paul | last post by:
We currently persist our objects to xml/soap files using a SoapFormatter. We control the serialization and de-serialization by implementing the ISerializable and its two interface methods, namely,...
1
by: Jim S | last post by:
I have an application where I have to make a tree of objects. To do this, I have my own node class. At certain points in the application, I need to save data. I am having a problem with the...
2
by: Phillip Galey | last post by:
I have an object called Place which contains only string properties and has the <Serializable()> flag before the class name declaration. I also have a collection object called Places, which is...
0
by: JackRazz | last post by:
I'm trying to serialize a collection to a file stream by serializing each object individually. The code below works fine with the BinaryFormatter, but the SoapFormatter reads the first object and...
5
by: =?Utf-8?B?TWFydHluIEZld3RyZWxs?= | last post by:
Hi there. I posted an earlier issue under the name "That assembly does not allow partially trusted callers" but have now identified what the issue is. As explained before I am working in...
0
by: =?ISO-8859-1?Q?=22Andr=E9s_G=2E_Aragoneses_=5B_kno | last post by:
Hello. I have found out that a VS2005 WebService by default serializes my objects using normal XmlSerializer. Howerver, I need it to serialize them using SoapFormatter by default (without doing the...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.