Re: serializable
Kenneth Lee <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.cx |
|---|---|
| Message-ID | <[email protected]> |
In a message dated 7/28/2006 2:28:25 PM Pacific Standard Time, [email protected] writes: On a related note, can anyone contrast these two (XML vs. binary) in terms of support? Specifically, is one or the other more stable? Does MS offer any commitment not to change formats between .Net versions? Are either of them appropriate to use as the native file format for an application, or not? How well can you read a C++ binary file in C#? An author I read (Don't know which one right now.) briefly went into serializable formatting of files and then went into detail on designing a formatted file that keeps version information in the file so when you change your objects, you can read both the new and old files for this program. (I got the impression you redesign your object the least little bit and your old binary files for the program are just so much junk.) XML format is a readable format so it should be easier, however I personally would format stuff I wanted retained in data tables on data sets so the data is independent of the object. (Of course Iâm a crusty old programmer who just sees problems with handing over complete data management control over to the programmers of object software.) =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com