c# - Object graphs and web services -
I'm really new to web services and need to create a webservice that can deal with the object graph. My statutory example would be a CRM web service giving a customer number and returning the "object" of a type of company with the property of contact.
Public category company {.... public list & lt; Contacts & gt; Contact {get} {...}}}
It would be great to be able to create a web site so that it can be easily used with Visual Studio so that it can work directly Company and related contacts ...
Is this possible?
Thanks Friedrich
Instead of web services of ASMX, you (WCF) Using it will be better. With this, you can define data contracts with such characteristics:
[DataContract] public class company {[datamember] public contact [] contact {Get; Set; }}
Comments
Post a Comment