经过两天修正,足够稳定,发布0204,希望作为LTS版本
大石头 authored at 2020-02-04 22:44:36
567.00 B
X
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NewLife.Log;
using NewLife.Remoting;

namespace XCode.Service
{
    /// <summary>数据服务器</summary>
    public class DbServer : ApiServer
    {
        /// <summary>实例化数据服务</summary>
        public DbServer()
        {
            Port = 3305;

            Register(new DbController(), null);

#if DEBUG
            Log = XTrace.Log;
            EncoderLog = XTrace.Log;
#endif
        }
    }
}