RESTFUL WCF Delete all xmlns

I set my DataContracts namespace to "", which deleted one namespace, but I need to delete another:

XMLNS: I = "http://www.w3.org/2001/XMLSchema-instance"

If there is no other way, how can I serialize my class before returning and crack the namespace?

I have to do this in order to work with another company API.

+3
source share
2 answers

, WCF, - , XML . , , , .

XML POST, . WCF .

+1

DataContract DataMember. .

0

Source: https://habr.com/ru/post/1725428/


All Articles