using NFine.Code;using System.Web.Mvc;using System.Web.Routing; namespace NFine.Web{ public class MvcApplication : System.Web.HttpApplication { /// <summary> /// 启动应用程序 /// </summary> protected void Application_Start() { AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); } }}
using NFine.Code;
using System.Web.Mvc;
using System.Web.Routing;
namespace NFine.Web
{
public class MvcApplication : System.Web.HttpApplication
/// <summary>
/// 启动应用程序
/// </summary>
protected void Application_Start()
AreaRegistration.RegisterAllAreas();
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
RouteConfig.RegisterRoutes(RouteTable.Routes);
}