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 641B

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