纽威
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.

23 lines
667 B

  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 ICSSoft.WebAPI
  10. {
  11. public class WebApiApplication : System.Web.HttpApplication
  12. {
  13. protected void Application_Start()
  14. {
  15. AreaRegistration.RegisterAllAreas();
  16. GlobalConfiguration.Configure(WebApiConfig.Register);
  17. FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
  18. RouteConfig.RegisterRoutes(RouteTable.Routes);
  19. BundleConfig.RegisterBundles(BundleTable.Bundles);
  20. }
  21. }
  22. }