What is ABC in WCF ?

Answer

Endpoint = Address (A) + Binding (B) + Contract (C)

Address specifies where the services is hosted.

Binding specifies how to access the hosted service. It specifies the transport, encoding, protocol etc.

Contract specifies what type of data can be sent to or received from the service.

Eg:

<endpoint name="BasicHttpGreetingService" address="http://localhost:5487/MyService/GreetingService.svc" binding="basicHttpBinding" contract="MyNamespace.MyService.IGreetingService" />

All wcf Questions

Ask your interview questions on wcf

Write Your comment or Questions if you want the answers on wcf from wcf Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---