Quantcast
Channel: Web API
Viewing all articles
Browse latest Browse all 4850

[DataMember] and [DataContract] are not know to compiler !! is there any reference I should add ??

$
0
0

Hi,

I'm using Web API and try to use the attributes [DataMember] and [DataContract] but I got compiler error says "The type or namespace name 'DataContract' could not be found (are you missing a using directive or an assembly reference?)"

what is the assembly i should add ???

Thanks.


Viewing all articles
Browse latest Browse all 4850

Trending Articles



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