summaryrefslogtreecommitdiffstats
path: root/TwoStepsAuthenticator.TestWebsite/Global.asax.cs
diff options
context:
space:
mode:
Diffstat (limited to 'TwoStepsAuthenticator.TestWebsite/Global.asax.cs')
-rw-r--r--TwoStepsAuthenticator.TestWebsite/Global.asax.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/TwoStepsAuthenticator.TestWebsite/Global.asax.cs b/TwoStepsAuthenticator.TestWebsite/Global.asax.cs
new file mode 100644
index 0000000..902168b
--- /dev/null
+++ b/TwoStepsAuthenticator.TestWebsite/Global.asax.cs
@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.Http;
+using System.Web.Mvc;
+using System.Web.Routing;
+
+namespace TwoStepsAuthenticator.TestWebsite
+{
+ // Note: For instructions on enabling IIS6 or IIS7 classic mode,
+ // visit http://go.microsoft.com/?LinkId=9394801
+ public class MvcApplication : System.Web.HttpApplication
+ {
+ protected void Application_Start()
+ {
+ AreaRegistration.RegisterAllAreas();
+
+ WebApiConfig.Register(GlobalConfiguration.Configuration);
+ FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
+ RouteConfig.RegisterRoutes(RouteTable.Routes);
+ }
+ }
+} \ No newline at end of file