Merge branch 'master' of http://git.newlifex.com/NewLife/X
大石头 authored at 2018-09-25 18:53:17
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
        }
    }
}