Home All Groups Group Topic Archive Search About

Serialization Files Compatibility

Author
21 Aug 2006 2:52 PM
E
I pciked up a project and am encountering several deficiencies on the
architecture. 

My current concerns are the persisted data files that are written and read
through dynamic reflection and Serialization/De-Serialization.  The
application has been going on for a while and is using .Net Framework 1.1. 
They intend to switch to .Net Framework 2.0.  If data files are saved through
an application saved on .Net 1.1  and later attempted to read through an
application running on the .Net 2.0 Framework, will it work?  Also,  this is
a number crunching application.  There will be versions running on 32-bit
machines and 64-bit machines.  Can Serialized data files be shared between
versions of the application running on the 2 platforms?

--
Ed Reyes

Author
21 Aug 2006 5:51 PM
Kevin Spencer
As for your first question, that depends on how they are serialized. As for
your second question, serialized data should be independent of processor or
platform.

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

Orange you bland I stopped splaying bananas?


Show quote
"E" <E@discussions.microsoft.com> wrote in message
news:2DF2AA2C-4F9D-4EE0-A8F3-A2E0159C4EB4@microsoft.com...
>I pciked up a project and am encountering several deficiencies on the
> architecture.
>
> My current concerns are the persisted data files that are written and read
> through dynamic reflection and Serialization/De-Serialization.  The
> application has been going on for a while and is using .Net Framework 1.1.
> They intend to switch to .Net Framework 2.0.  If data files are saved
> through
> an application saved on .Net 1.1  and later attempted to read through an
> application running on the .Net 2.0 Framework, will it work?  Also,  this
> is
> a number crunching application.  There will be versions running on 32-bit
> machines and 64-bit machines.  Can Serialized data files be shared between
> versions of the application running on the 2 platforms?
>
> --
> Ed Reyes
>
Author
22 Aug 2006 2:39 PM
David Jessee
Its not promised to work, unfortunately.
That's probably why one of the new features of 2.0 is "Version Tolerant
Serialization"


Show quote
"E" wrote:

> I pciked up a project and am encountering several deficiencies on the
> architecture. 
>
> My current concerns are the persisted data files that are written and read
> through dynamic reflection and Serialization/De-Serialization.  The
> application has been going on for a while and is using .Net Framework 1.1. 
> They intend to switch to .Net Framework 2.0.  If data files are saved through
> an application saved on .Net 1.1  and later attempted to read through an
> application running on the .Net 2.0 Framework, will it work?  Also,  this is
> a number crunching application.  There will be versions running on 32-bit
> machines and 64-bit machines.  Can Serialized data files be shared between
> versions of the application running on the 2 platforms?

> --
> Ed Reyes
>

AddThis Social Bookmark Button