netTcpBinding.config 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <configuration>
  3. <system.serviceModel>
  4. <bindings>
  5. <netTcpBinding>
  6. <binding name="NetTcpBinding_IHelloWorldService" closeTimeout="00:01:00"
  7. openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
  8. transactionFlow="false" transferMode="Buffered" transactionProtocol="OleTransactions"
  9. hostNameComparisonMode="StrongWildcard" listenBacklog="10"
  10. maxBufferPoolSize="524288" maxBufferSize="65536" maxConnections="10"
  11. maxReceivedMessageSize="65536">
  12. <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
  13. maxBytesPerRead="4096" maxNameTableCharCount="16384" />
  14. <reliableSession ordered="true" inactivityTimeout="00:10:00"
  15. enabled="false" />
  16. <security mode="Transport">
  17. <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" />
  18. <message clientCredentialType="Windows" />
  19. </security>
  20. </binding>
  21. </netTcpBinding>
  22. </bindings>
  23. <client>
  24. <endpoint address="net.tcp://igorxp:8081/" binding="netTcpBinding"
  25. bindingConfiguration="NetTcpBinding_IHelloWorldService" contract="WCFClient.IHelloWorldService"
  26. name="NetTcpBinding_IHelloWorldService">
  27. <identity>
  28. <userPrincipalName value="[email protected]" />
  29. </identity>
  30. </endpoint>
  31. </client>
  32. </system.serviceModel>
  33. </configuration>