Hi Terry,
Thanks Pete for you reply!
I can create my own collection base class if needed. I guess my main
questions are will it help and why is the performance so bad? If I have to
create a collection class for each of my collections than it defeats the
purpose of having a collection base class.
If I understand the way serialization works, GetType() is called on each
object in the array to find out what object type it is. Once it knows this
it serializes that object.
The strange thing is the performance is excellent on a Windows 2003 server
(regardless of the edition) but any other OS like Windows 2k or Windows XP
the performance is very, very bad. I've tried 4 different servers and 4
different XP machines and 2 Windows 2k machine and the results are pretty
much the same.
To give you an idea on the difference a server OS take < 2 seconds to
serialize and object and the XP and 2000 machines take ~2 minutes.
These are not super servers. In fact one of them is an identical hardware
match to one of the XP machines.
In any case I'm going to test out a custom collection base and see what
happens.
Thanks again,
Joe
""TerryFei"" <v-******@online.microsoft.com> wrote in message
news:ZP**************@TK2MSFTNGXA02.phx.gbl...
Hi Joe,
Thanks for Pete's reply. I just wanted to check how things are going and
whether or not Pete's suggestin is helpful for you.
If there is any question, please feel free to join the community and we
are
here to support you at your convenience. Thanks again and have a nice day.
Best Regards,
Terry Fei[MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)