Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is a service contract ( In WCF) ?

contract service wcf
0
Posted

What is a service contract ( In WCF) ?

0

In every service oriented architecture, services share schemas and contracts, not classes and types. What this means is that you don’t share class definitions neither any implementation details about your service to consumers. Everything your consumer has to know is your service interface, and how to talk to it. In order to know this, both parts (service and consumer) have to share something that is called a Contract. In WCF, there are 3 kinds of contracts: Service Contract, Data Contract and Message Contract. A Service Contract describes what the service can do. It defines some properties about the service, and a set of actions called Operation Contracts.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123