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
I don't think so. You may find the discussion on this question informative:
Ignore field order in DataContractSerializer
I used IDispatchMessageInspector.AfterReceiveRequest to intercept the message and sort it alphabetically.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With