Tulasi

Tulasi

  • 739
  • 1.1k
  • 208.3k

Hosting WCF In WAS

Dec 3 2013 6:49 AM
HI all,

 I created one Wcf Application and hosted in IIS8
 
 I configured the web.config as shown below 
<service name="MyWcfService">
        <endpoint address="" binding="wsHttpBinding"  contract="IService1">
          <identity>
            <dns value="localhost" />
          </identity>
        </endpoint>
        <endpoint address="" binding="netTcpBinding" contract="IService1">          
          <identity>
            <dns value="localhost" />
          </identity>
        </endpoint>
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"></endpoint>      
      </service>
    </services>

Consuming wshttpBinding 
http://localhost/WcfServiceApplication/Service1.svc

what will be the address to consume net.tcp binding 

If you didnt understand the question plz let me know