App.config 1.1 KB

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