<?xml version="1.0"?> <configuration> <system.web> <compilation debug="true" targetFramework="4.0" /> </system.web> <system.serviceModel> <services> <service behaviorConfiguration="servicebehave" name="NETTCP.Service1"> <endpoint address="" binding="netTcpBinding" bindingConfiguration="" name="nettcp" contract="NETTCP.IService1" /> <endpoint address="netTcpMex" binding="mexTcpBinding" bindingConfiguration="" name="netTcpMex" contract="IMetadataExchange" /> <host> <baseAddresses> <add baseAddress="net.tcp://localhost:8181"/> <add baseAddress="http://localhost:8181/Service1.svc"/> </baseAddresses> </host> </service> </services> <behaviors> <serviceBehaviors> <behavior name="servicebehave"> <serviceMetadata httpGetEnabled="true" /> <serviceDebug includeExceptionDetailInFaults="false" /> </behavior> </serviceBehaviors> </behaviors> <serviceHostingEnvironment multipleSiteBindingsEnabled="false" /> </system.serviceModel> <system.webServer> <modules runAllManagedModulesForAllRequests="true"/> </system.webServer> </configuration>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)