纽威
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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. }