zoukankan      html  css  js  c++  java
  • supersocket中quickstart文件夹下的MultipleCommandAssembly的配置文件分析

    首先确认下配置文件中的内容

    第一部分configSections【需要注意的是name=superSocket】

    <configSections>
        <section name="superSocket" type="SuperSocket.SocketEngine.Configuration.SocketServiceConfig, SuperSocket.SocketEngine"/>
      </configSections>


    第二部分appSettings【需要注意的是key=ServiceName】

     <appSettings>
        <add key="ServiceName" value="BroardcastService"/>
      </appSettings>

    第三部分superSocket【】

    <superSocket>
        <servers>
          <server name="SampleServer"
                  serverType="SuperSocket.QuickStart.SampleServer.SampleAppServer, SuperSocket.QuickStart.SampleServer"
                  ip="Any" port="2012">
            <commandAssemblies>
              <add assembly="SuperSocket.QuickStart.SampleServer.CommandAssemblyA"></add>
              <add assembly="SuperSocket.QuickStart.SampleServer.CommandAssemblyB"></add>
              <add assembly="SuperSocket.QuickStart.SampleServer.CommandAssemblyC"></add>
            </commandAssemblies>
          </server>
        </servers>
      </superSocket>

    第四部分startup【创建项目的时候自带的,指示了.net的版本】

    <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
      </startup>

    第五部分runtime

    <runtime>
        <gcServer enabled="true" />
      </runtime>
  • 相关阅读:
    react开发环境搭建
    react 组件创建
    Redux 视频教程
    echars3.0 柱状图y轴字体斜放
    echars3.0 柱状图大小设置
    ECharts地图详解 【转】
    html 超出出现省略号
    html JS打印添加水印图片
    js 重庆38区县 数组
    docker 暴露2375 端口。
  • 原文地址:https://www.cnblogs.com/chucklu/p/4337848.html
Copyright © 2011-2022 走看看