for nettcpBinding config file should be :


<service name=”WcfServicenettcp.Service1″ behaviorConfiguration=”WcfServicenettcp.Service1Behavior”>
<add baseAddress = “http://localhost:655/WcfServicenettcp/Service1/&#8221; />
<add baseAddress = “net.tcp://localhost:878/WcfServicenettcp/Service1/” />

<endpoint address =”WcfServicenettcp” binding=”netTcpBinding” contract=”WcfServicenettcp.IService1″>

<dns value=”localhost”/>

<endpoint address=”mex” binding=”mexTcpBinding” contract=”IMetadataExchange”/>

<behavior name=”WcfServicenettcp.Service1Behavior”>
<serviceMetadata httpGetEnabled=”True”/>
<serviceDebug includeExceptionDetailInFaults=”False” />


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s