Quantcast
Channel: WCF, ASMX and other Web Services
Viewing all articles
Browse latest Browse all 555

datacontracts with list datamembers

$
0
0

Hello - I'm creating a DataContract for a WCF service. One of the DataMembers needs to be a list of objects. The service compiles but when I add a reference to the service in another project the list property is exposed as an array. Is this the expected behavior/constraint with WCF? If so then should I simply define DataMember lists as arrays since it appears to get converted to an array anyway?


Viewing all articles
Browse latest Browse all 555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>