引入redis服务,支持自动化单元测试
大石头 authored at 2022-03-31 22:56:30
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
        }
    }
}