App.Dynamic.config 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0"?>
  2. <configuration>
  3. <configSections>
  4. <section name="superSocket" type="SuperSocket.SocketEngine.Configuration.SocketServiceConfig, SuperSocket.SocketEngine" />
  5. <section name='microsoft.scripting' requirePermission='false'
  6. type='Microsoft.Scripting.Hosting.Configuration.Section, Microsoft.Scripting'/>
  7. </configSections>
  8. <appSettings>
  9. <add key="ServiceName" value="SupperSocketService" />
  10. </appSettings>
  11. <connectionStrings/>
  12. <superSocket>
  13. <servers>
  14. <server name="YourServerInstanceName"
  15. serviceName="YourService"
  16. ip="Any" port="2020"
  17. mode="Async"
  18. maxConnectionNumber="100">
  19. </server>
  20. </servers>
  21. <serverTypes>
  22. <add name="YourService" type="YourServiceServerType, YourServiceAssembly" />
  23. </serverTypes>
  24. </superSocket>
  25. <microsoft.scripting>
  26. <languages>
  27. <language extensions=".py" displayName="IronPython"
  28. type="IronPython.Runtime.PythonContext, IronPython"
  29. names='IronPython;Python;py'/>
  30. </languages>
  31. </microsoft.scripting>
  32. <startup>
  33. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
  34. </startup>
  35. <runtime>
  36. <gcServer enabled="true" />
  37. </runtime>
  38. </configuration>