App.config 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <system.serviceModel>
  4. <behaviors>
  5. <endpointBehaviors>
  6. <behavior name="endpointBehavior_DKIBOSSPRDService">
  7. </behavior>
  8. </endpointBehaviors>
  9. </behaviors>
  10. <bindings>
  11. <wsHttpBinding>
  12. <binding name="wsHttpBinding_DKIBOSSPRDService" closeTimeout="00:10:00"
  13. openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
  14. bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
  15. maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
  16. messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
  17. allowCookies="false">
  18. <readerQuotas maxDepth="32" maxStringContentLength="2147483647"
  19. maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
  20. <reliableSession ordered="true" inactivityTimeout="00:10:00"
  21. enabled="false" />
  22. <security mode="None">
  23. <transport clientCredentialType="Windows" proxyCredentialType="None"
  24. realm="" />
  25. <message clientCredentialType="Windows" negotiateServiceCredential="true"
  26. establishSecurityContext="true" />
  27. </security>
  28. </binding>
  29. <binding name="WSHttpBinding_IDKIBOSSPRD">
  30. <security mode="None" />
  31. </binding>
  32. </wsHttpBinding>
  33. </bindings>
  34. <client>
  35. <endpoint address="" behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  36. binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  37. contract="DKIBOSSPRDService.IDKIBOSSPRD" name="DKIBOSSPRDService" />
  38. <endpoint address="" behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  39. binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  40. contract="PublicModuleService.IPublicModule" name="PublicModuleService" />
  41. <endpoint address="http://127.0.0.1:1234/DKService/DKIBOSSPRDService"
  42. binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IDKIBOSSPRD"
  43. contract="DKIBOSSPRDService.IDKIBOSSPRD" name="WSHttpBinding_IDKIBOSSPRD" />
  44. </client>
  45. </system.serviceModel>
  46. </configuration>