appsettings.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "Sers": {
  3. /* ͨѶ������ */
  4. "CL": {
  5. /* one conn is one channel.can be multiable */
  6. "Client": [
  7. {
  8. // Socket.Iocp
  9. /* (x.1) type - Iocp */
  10. /* the class of builder in assemblyFile */
  11. "className": "Sers.CL.Socket.Iocp.OrganizeClientBuilder",
  12. /* (x.2) conn config */
  13. /* ����� host��ַ�����磺 "127.0.0.1"��"sers.com" */
  14. "host": "127.0.0.1",
  15. /* ����� �����˿ںš����磺 4501 */
  16. "port": 4501,
  17. /* ������Կ��������֤���Ӱ�ȫ�ԡ�����˺Ϳͻ��˱���һ�� */
  18. "secretKey": "SersCL"
  19. }
  20. ]
  21. },
  22. /* LocalApiService ����,�ɲ�ָ�� */
  23. "LocalApiService": {
  24. /* ��̨������̸߳�������λ����Ĭ��0,������������ */
  25. "workThreadCount": 16
  26. }
  27. },
  28. "Logging": {
  29. "LogLevel": {
  30. "Default": "Warning"
  31. }
  32. },
  33. "AllowedHosts": "*"
  34. }