/ Published in: C#
                    
                                        
ABC - Address Binding Contract
Note that the Service Name and Contract must match a real live type (case Sensitive)
Binding name is also case sensitive.
                Note that the Service Name and Contract must match a real live type (case Sensitive)
Binding name is also case sensitive.
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<system.serviceModel>
<services>
<service name="WCFServiceStuff.DoStuffImpl">
<endpoint address="net.tcp://localhost:8001"
binding="netTcpBinding"
contract="WCFServiceStuff.IDoStuff" />
</service>
</services>
</system.serviceModel>
With MetaData added
<system.serviceModel>
<services>
<service name="WCFServiceStuff.DoStuffImpl"
behaviorConfiguration="mex">
<endpoint address="net.tcp://localhost:8001"
binding="netTcpBinding"
contract="WCFServiceStuff.IDoStuff" />
<endpoint address="net.tcp://localhost:8001/mex"
binding="mexTcpBinding"
contract="IMetadataExchange" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="mex">
<serviceMetadata/>
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
Comments
 Subscribe to comments
                    Subscribe to comments
                
                