summaryrefslogtreecommitdiffstats
path: root/TwoStepsAuthenticator.TestWebsite/Global.asax.cs
diff options
context:
space:
mode:
authorGuillaume <guillaumelacasa@hotmail.com>2013-06-12 22:12:40 +0200
committerGuillaume <guillaumelacasa@hotmail.com>2013-06-12 22:12:40 +0200
commitb06c0faaf8881f9447f3fd682feffcf3ddae1990 (patch)
tree5e1b02b441e672171d2438e09880484131991a2f /TwoStepsAuthenticator.TestWebsite/Global.asax.cs
parent9cfb653f0b1ddcdc221a3abcb9e16769e0ab1d71 (diff)
downloadTwoStepsAuthenticator-b06c0faaf8881f9447f3fd682feffcf3ddae1990.zip
TwoStepsAuthenticator-b06c0faaf8881f9447f3fd682feffcf3ddae1990.tar.gz
TwoStepsAuthenticator-b06c0faaf8881f9447f3fd682feffcf3ddae1990.tar.bz2
Test site ok
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