Should WCF DataContracts be values ​​or reference types?

You are at the end of the service and do not know your customers.

Why do you choose one of them?

+5
source share
3 answers

Usually; when developing a type on its own, it must be a class, unless the type represents a single value, in which case it must be a structure.

+9
source

. , , . XML- WSDL. , , Perl ASP- - , .

, vs. reference - , , .

+4

, . WSDL, WCF, , . WCF , . , vs reference isNullable WSDL, .

, , - ( ) .

0

All Articles