Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How datacontractserializer different from xmlserializer?

893


How can we host wcf service?

880


What is fault contracts in wcf?

927


Explain data contracts?

867


What do you understand by the term soap?

835


What are the types of bindings in wcf?

889


Give an example of knowtype.

1009


What is extension of WCF Service?

986


What are the Advantages of hosting wcf in iis?

941


what are the main components of WCF?

884


Why to use wcf?

872


How to deal with operation overloading while exposing the wcf services?

939


What are the transport schemes supported by wcf? Give example of address for each scheme.

890


Define data contracts?

840


What is ConcurrencyMode in WCF?

1001