What is DataContract and ServiceContract?Explain
Answer Posted / pradeeprajasekharan
ServiceContract
Defines the Interface that is exposed through end points
which says what functionality will be available for the
client. So the ServiceContract attribute will be placed in
the interface level. Interface contains the definition of
the available methods through the service.
OperationalContract
Defines the methods under the service.
DataContract
Defines the mapping between CLR datatypes with XSD schema.
The complex datatypes will be serialized and deserialized
according to the DataContact attribute associated.
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
What is wcf full form?
Which styles of models are supported in wcf?
What are dead letter queues?
What is the use of sessionmode?
do you know what is address in wcf and how many types of transport schemas are there in wcf? : Wcf data services
What is the use of servicebehavior attribute in wcf ?
can you explain fault contracts? : Wcf data services
Tell me what is three major points in wcf? : Wcf data services
What are WCF contracts?
WCF:What is it the Net.TCP Port Sharing? How can we use it?
What are the different wcf binding available?
How to Implement security in wcf rest service?
What are the core security features that wcf addresses?
What is the messaging pattern? Which messaging pattern wcf supports?
What is transport reliability in wcf?