No Description

App.config 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <startup>
  4. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  5. </startup>
  6. <appSettings>
  7. <!--本机外网IP-->
  8. <add key="ip" value="Any" />
  9. <!--本机外网端口-->
  10. <add key="port" value="2022" />
  11. <!--客户端连接最大数-->
  12. <add key="maxnumber" value="1000" />
  13. <!--每页数量-->
  14. <add key="pagenumer" value="10" />
  15. <!--游客简称-->
  16. <add key="anyname" value="游客" />
  17. <!--首次连接欢迎词-->
  18. <add key="welcome" value="欢迎你!" />
  19. <!--客服不在线-->
  20. <add key="busy" value="客服不在线,请稍后咨询!" />
  21. <!--客户ip是黑名单-->
  22. <add key="black" value="当前状态异常,请电话联系!" />
  23. <!--IP获取地址url-->
  24. <add key="ipurl" value="http://ip.taobao.com/service/getIpInfo2.php" />
  25. </appSettings>
  26. <connectionStrings>
  27. <add name="ConnectionString" connectionString="Data Source=192.168.4.18;User ID=sa;pwd=800100;Initial Catalog=SQ12345;" />
  28. </connectionStrings>
  29. <runtime>
  30. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  31. <dependentAssembly>
  32. <assemblyIdentity name="SuperSocket.SocketBase" publicKeyToken="6c80000676988ebb" culture="neutral" />
  33. <bindingRedirect oldVersion="0.0.0.0-1.6.0.4" newVersion="1.6.0.4" />
  34. </dependentAssembly>
  35. <dependentAssembly>
  36. <assemblyIdentity name="SuperSocket.Common" publicKeyToken="6c80000676988ebb" culture="neutral" />
  37. <bindingRedirect oldVersion="0.0.0.0-1.6.0.4" newVersion="1.6.0.4" />
  38. </dependentAssembly>
  39. <dependentAssembly>
  40. <assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
  41. <bindingRedirect oldVersion="0.0.0.0-2.0.7.0" newVersion="2.0.7.0" />
  42. </dependentAssembly>
  43. <dependentAssembly>
  44. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  45. <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
  46. </dependentAssembly>
  47. </assemblyBinding>
  48. </runtime>
  49. </configuration>