发布1203
大石头 authored at 2019-12-03 22:57:54
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
        }
    }
}