优化缓存日志显示
大石头 authored at 2017-09-29 22:11:20
798.00 B
X
using System.Web.Mvc;
using System.Web.Routing;
using NewLife.Log;

namespace NewLife.Cube
{
    /// <summary>
    /// 注意: 有关启用 IIS6 或 IIS7 经典模式的说明,
    /// 请访问 http://go.microsoft.com/?LinkId=9394801
    /// </summary>

    public class MvcApplication : System.Web.HttpApplication
    {
        /// <summary>应用程序启动</summary>
        protected void Application_Start()
        {
            XTrace.WriteLine("系统启动");

            AreaRegistration.RegisterAllAreas();

            RouteConfig.RegisterRoutes(RouteTable.Routes);
            //BundleConfig.RegisterBundles(BundleTable.Bundles);
            //XCode.Cache.CacheBase.Debug = true;

            XTrace.WriteLine("系统启动完成");
        }
    }
}