纽威

18 lines
484 B

3 years ago
  1. using NFine.Code;
  2. using System.Web.Mvc;
  3. using System.Web.Routing;
  4. namespace NFine.Web
  5. {
  6. public class MvcApplication : System.Web.HttpApplication
  7. {
  8. /// <summary>
  9. /// 启动应用程序
  10. /// </summary>
  11. protected void Application_Start()
  12. {
  13. AreaRegistration.RegisterAllAreas();
  14. FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
  15. RouteConfig.RegisterRoutes(RouteTable.Routes);
  16. }
  17. }
  18. }