top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is ABC in WCF?

+2 votes
414 views
What is ABC in WCF?
posted Sep 1, 2015 by Jdk

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best 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" />
answer Sep 3, 2015 by Manikandan J
...