Global.asax.cs 829 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.Http;
  6. using System.Web.Mvc;
  7. using System.Web.Optimization;
  8. using System.Web.Routing;
  9. namespace EmisTerminal
  10. {
  11. // Note: For instructions on enabling IIS6 or IIS7 classic mode,
  12. // visit http://go.microsoft.com/?LinkId=9394801
  13. public class MvcApplication : System.Web.HttpApplication
  14. {
  15. protected void Application_Start()
  16. {
  17. AreaRegistration.RegisterAllAreas();
  18. WebApiConfig.Register(GlobalConfiguration.Configuration);
  19. FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
  20. RouteConfig.RegisterRoutes(RouteTable.Routes);
  21. BundleConfig.RegisterBundles(BundleTable.Bundles);
  22. AuthConfig.RegisterAuth();
  23. }
  24. }
  25. }