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.

Global.asax.cs 659B

12345678910111213141516171819202122
  1. using System.Web.Http;
  2. using System.Web.Mvc;
  3. using System.Web.Optimization;
  4. using System.Web.Routing;
  5. using iiie.WebApiUtils.BusinessManager;
  6. namespace WebAPiUtils_test
  7. {
  8. public class WebApiApplication : System.Web.HttpApplication
  9. {
  10. protected void Application_Start()
  11. {
  12. AreaRegistration.RegisterAllAreas();
  13. GlobalConfiguration.Configure(WebApiConfig.Register);
  14. FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
  15. RouteConfig.RegisterRoutes(RouteTable.Routes);
  16. BundleConfig.RegisterBundles(BundleTable.Bundles);
  17. WebApiUtils.Config();
  18. }
  19. }
  20. }