I am developing rest wcf service using linq to SQL. I am very new to wcf services. The problem I am facing is my web service output xml sorts my tags in ascending order and I don’t want that can anybody give me some suggestions why do the web service sorts the tags in alphabetical order?
Share
Serializing members in alphabetical order is default behavior of
DataContractSerializer. If you want different order you must setOrderinDataMemberattribute for every property.