top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

WCF Service Endpoints

+4 votes
82 views

What are WCF Service Endpoints?

posted Mar 12, 2014 by Khusboo

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

1 Answer

+3 votes
 
Best answer

All communication with a Windows Communication Foundation (WCF) service occurs through the endpoints of the service. Endpoints provide clients access to the functionality offered by a WCF service.

Each endpoint consists of four properties:

An address that indicates where the endpoint can be found.
A binding that specifies how a client can communicate with the endpoint.
A contract that identifies the operations available.
A set of behaviors that specify local implementation details of the endpoint.

You have to define end point in web.config like e.g.

<system.serviceModel>
    <bindings>
      <basicHttpBinding>
        <binding name="BasicHttpBinding_IPairArihmeticService"/>
      </basicHttpBinding>
    </bindings>
    <client>
      <endpoint address="http://localhost:1062/WcfTestWebSite/PairArihmeticService.svc"
          binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IPairArihmeticService"
          contract="PairServiceReference.IPairArihmeticService"
          name="BasicHttpBinding_IPairArihmeticService"/>
    </client>
</system.serviceModel>
answer Mar 13, 2014 by Asmita Agrawal
Similar Questions
+5 votes

Could the IIS-hosted WCF service make use of HTTP transport security if the IIS virtual derectory that contains the service does not support it?

+10 votes
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...