/MyVMPortal/Global.asax.cs

https://github.com/mwasham/wasvcmgmntapi · C# · 31 lines · 23 code · 5 blank · 3 comment · 0 complexity · 344425519f584d3be3dd6615a72007ed MD5 · raw file

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.Routing;
  6. using System.Web.Security;
  7. using MyVMPortal;
  8. namespace MyVMPortal
  9. {
  10. public class Global : HttpApplication
  11. {
  12. void Application_Start(object sender, EventArgs e)
  13. {
  14. // Code that runs on application startup
  15. AuthConfig.RegisterOpenAuth();
  16. }
  17. void Application_End(object sender, EventArgs e)
  18. {
  19. // Code that runs on application shutdown
  20. }
  21. void Application_Error(object sender, EventArgs e)
  22. {
  23. // Code that runs when an unhandled error occurs
  24. }
  25. }
  26. }