App.config 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <configuration>
  3. <runtime>
  4. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  5. <probing privatePath="lib"/>
  6. </assemblyBinding>
  7. </runtime>
  8. <system.serviceModel>
  9. <behaviors>
  10. <endpointBehaviors>
  11. <behavior name="endpointBehavior_"></behavior>
  12. </endpointBehaviors>
  13. </behaviors>
  14. <bindings>
  15. <wsHttpBinding>
  16. <binding name="binding_wsHttp"
  17. closeTimeout="00:00:30"
  18. openTimeout="00:00:30"
  19. receiveTimeout="10:00:00"
  20. sendTimeout="10:00:00"
  21. maxReceivedMessageSize="2147483647">
  22. <security mode="None">
  23. <transport clientCredentialType="None" />
  24. <message clientCredentialType="None" />
  25. </security>
  26. </binding>
  27. </wsHttpBinding>
  28. </bindings>
  29. <client>
  30. <endpoint address=""
  31. behaviorConfiguration="endpointBehavior_"
  32. binding="wsHttpBinding"
  33. bindingConfiguration="binding_wsHttp"
  34. contract="SmartDeviceService.ISmartDevice"
  35. name="endpoint_SmartDevice" />
  36. </client>
  37. </system.serviceModel>
  38. </configuration>