Monday, 5 December 2016


WCF service comes in existence with an valid EndPoint.  An endpoint consists of 3 major components.

These components are generally refer as ABC of WCF.
A- Address (Where)
B- Binding (How)
C- Contract (What)

Address is basically an URL for eg- http://localhost:1001/myservice/testservice.svc

Binding describes that how a client will communicate with wcf service. It tells that what protocol will be used to communicate, as WCF supports various protocols like HTTP, TCP, MSMQ, Named Pipes

Contract tells that what an endpoint will communicate and client will be aware about the operations that were exposed.

<endpoint address="http://localhost:1001/myservice/testservice.svc" contract="ITestService"

In next blog, I will wrote about various types of Bindings in WCF

No comments:

Post a Comment