Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
クラスを送り返すと、DataContract - DataMember 属性が無視され、クラスのすべてのメンバーがシリアル化され、クラス名も "__type" フラグで送信されます。DataMember 属性を尊重するにはどうすればよいですか?
WebMethods は、従来の「ASMX Web サービス」テクノロジを使用します。DataContract は WCF の一部です。
それらはまったく無関係な技術です。