I just realized that DataContractSerializer
expects nodes in the alphabetical order or the specified order. Is there any way i could make it NOT do it?
TIA
kbrimington
I don't think so. You may find the discussion on this question informative:
I used IDispatchMessageInspector.AfterReceiveRequest to intercept the message and sort it alphabetically.
来源:https://stackoverflow.com/questions/3570729/xmlserializer-vs-datacontractserializer