Click here to Skip to main content
15,920,632 members
Home / Discussions / C#
   

C#

 
GeneralRe: Xml serialization problem Pin
Heath Stewart22-Dec-03 11:12
protectorHeath Stewart22-Dec-03 11:12 
GeneralRe: Xml serialization problem Pin
Wizard_0122-Dec-03 11:26
Wizard_0122-Dec-03 11:26 
GeneralRe: Xml serialization problem Pin
Heath Stewart22-Dec-03 11:40
protectorHeath Stewart22-Dec-03 11:40 
GeneralRe: Xml serialization problem Pin
Wizard_0122-Dec-03 11:54
Wizard_0122-Dec-03 11:54 
GeneralRe: Xml serialization problem Pin
Heath Stewart22-Dec-03 11:59
protectorHeath Stewart22-Dec-03 11:59 
GeneralRe: Xml serialization problem Pin
J. Dunlap22-Dec-03 21:33
J. Dunlap22-Dec-03 21:33 
GeneralRe: Xml serialization problem Pin
Heath Stewart23-Dec-03 2:40
protectorHeath Stewart23-Dec-03 2:40 
GeneralRe: Xml serialization problem Pin
J. Dunlap23-Dec-03 10:38
J. Dunlap23-Dec-03 10:38 
Heath Stewart wrote:
Why not just use the BinaryFormatter and save yourself the trouble?

Because we want to allow most of the types to be able to edited by hand in the XML file, but also allow embedded binary serialization of types that can't be serialized to XML directly.

Note that we are *not* re-implementing serialization from scratch - only unifying and extending what's already there. Our system basically orchestrates the identification of what serializer to use, and allows the serialization to be handled the same from the outside regardless of what means is used for serialization. So if it can be serialized through our interface, that is used, if it can be serialized using the XmlSerializer directly, the XmlSerializer is used, if it can be serialized using the TypeConverter, that is used, or if it is marked as serializable, binary serialization is used and it is encoded using Base64 encoding.

The first and foremost reason we re-implemented the IXmlSerializable interface ourselves is that it is unsupported and therefore may change without notice or backwards compatibility.

As I said, it's not anything really special, but it serves a need.

"A people that values its privileges above its principles soon loses both." -- Dwight D. Eisenhower

FLUID UI Toolkit | FloodFill in C# & GDI+







QuestionMicrosoft .NET parser C# error ? Pin
identy22-Dec-03 9:20
identy22-Dec-03 9:20 
AnswerRe: Microsoft .NET parser C# error ? Pin
J. Dunlap22-Dec-03 9:31
J. Dunlap22-Dec-03 9:31 
GeneralRe: Microsoft .NET parser C# error ? Pin
Anonymous22-Dec-03 23:48
Anonymous22-Dec-03 23:48 
GeneralRe: Microsoft .NET parser C# error ? Pin
Member 26118822-Dec-03 23:48
Member 26118822-Dec-03 23:48 
GeneralRe: Microsoft .NET parser C# error ? Pin
identy6-Jan-04 9:53
identy6-Jan-04 9:53 
GeneralString Alignment Question Pin
RB@Emphasys22-Dec-03 8:18
RB@Emphasys22-Dec-03 8:18 
GeneralRe: String Alignment Question Pin
leppie22-Dec-03 9:57
leppie22-Dec-03 9:57 
GeneralRe: String Alignment Question Pin
Heath Stewart22-Dec-03 11:10
protectorHeath Stewart22-Dec-03 11:10 
GeneralRe: String Alignment Question Pin
RB@Emphasys29-Dec-03 3:07
RB@Emphasys29-Dec-03 3:07 
GeneralRe: String Alignment Question Pin
Heath Stewart29-Dec-03 3:56
protectorHeath Stewart29-Dec-03 3:56 
QuestionStatic destructor? Pin
CBoland22-Dec-03 6:07
CBoland22-Dec-03 6:07 
AnswerRe: Static destructor? Pin
leppie22-Dec-03 6:38
leppie22-Dec-03 6:38 
GeneralRe: Static destructor? Pin
CBoland22-Dec-03 7:04
CBoland22-Dec-03 7:04 
GeneralString tokenizer in C# Pin
dabs22-Dec-03 5:37
dabs22-Dec-03 5:37 
GeneralRe: String tokenizer in C# Pin
leppie22-Dec-03 6:35
leppie22-Dec-03 6:35 
GeneralRe: String tokenizer in C# Pin
Larry Antram22-Dec-03 11:51
Larry Antram22-Dec-03 11:51 
GeneralC# API to generate PDF files from XSL:FO Pin
MrEyes22-Dec-03 4:21
MrEyes22-Dec-03 4:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.