WCF - Beginners question on Address (of ABC)

Posted by Lijo on Stack Overflow See other posts from Stack Overflow or by Lijo
Published on 2010-04-23T08:01:01Z Indexed on 2010/04/23 8:03 UTC
Read the original article Hit count: 376

Filed under:

Hi Team,

I am new to WCF. Following is a question on WCF.

Suppose, I have a service defined as follows.

The host has two addresses. I usually click on the base address http://.... to generate proxy.

  1. When the proxy is generated, will it have address of http alone?
  2. How can I generate a proxy with net.tcp.
  3. Is there any article that explains the use of net.tcp with local host and ASP.NET?

service name="XXX.RRR.Common.ServiceLayer.MySL" behaviorConfiguration="returnFaults"

endpoint contract="XXX.RRR.Common.ServiceLayer.IMySL" binding="netTcpBinding" bindingConfiguration="MessagingBinding" behaviorConfiguration="LargeEndpointBehavior"/

host baseAddresses

add baseAddress="net.tcp://localhost:86/XXX/RRR/ManagerService"

add baseAddress="http://localhost:76/XXX/RRR/ManagerService"

baseAddresses host /service

Thanks

Lijo

© Stack Overflow or respective owner

Related posts about wcf