我是 wcf 的新手,很想探索 wcf 的各个部分。我得到了这个网址http://msdn.microsoft.com/en-us/library/ee358762%28v=vs.110%29.aspx
从这里我看到存在许多不同类型的端点,但我不知道这些并且从未使用过它
<endpoint address="net.tcp://localhost:5555/Calculator" binding="netTcpBinding"
contract="CalculatorInterFace.ICalculator" name="NetTcpBinding_ICalculator" />
我了解端点,它将具有服务地址 url 和合同名称和端点名称。
这是所有不同类型的端点
AnnouncementEndpoint
A standard endpoint that is used by services to send announcement messages.
DiscoveryEndpoint
A standard endpoint that is used by services to send discovery messages.
UdpDiscoveryEndpoint
A standard endpoint that is pre-configured for discovery operations over a UDP multicast binding.
UdpAnnouncementEndpoint
A standard endpoint that is used by services to send announcement messages over a UDP binding.
DynamicEndpoint
A standard endpoint that uses WS-Discovery to find the endpoint address dynamically at runtime.
ServiceMetadataEndpoint
A standard endpoint for metadata exchange.
WebHttpEndpoint
A standard endpoint with a WebHttpBinding binding that automatically adds the WebHttpBehavior behavior
WebScriptEndpoint
A standard endpoint with a WebHttpBinding binding that automatically adds the WebScriptEnablingBehavior behavior.
WebServiceEndpoint
A standard endpoint with a WebHttpBinding binding.
WorkflowControlEndpoint
A standard endpoint that enables you to call control operations on workflow instances.
WorkflowHostingEndpoint
A standard endpoint that supports workflow creation and bookmark resumption.
那么我怎么知道我应该使用哪个端点以及何时使用?我怎么知道不同类型端点的语法是什么样子的。请尽可能多地讨论。谢谢