summaryrefslogtreecommitdiffstats
path: root/samples/TestAzureAD/Global.asax.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/TestAzureAD/Global.asax.cs')
-rw-r--r--samples/TestAzureAD/Global.asax.cs33
1 files changed, 33 insertions, 0 deletions
diff --git a/samples/TestAzureAD/Global.asax.cs b/samples/TestAzureAD/Global.asax.cs
new file mode 100644
index 0000000..cc8988d
--- /dev/null
+++ b/samples/TestAzureAD/Global.asax.cs
@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.Optimization;
+using System.Web.Routing;
+using System.Web.Security;
+using TestAzureAD;
+
+namespace TestAzureAD
+{
+ public class Global : HttpApplication
+ {
+ void Application_Start(object sender, EventArgs e)
+ {
+ // Code that runs on application startup
+ BundleConfig.RegisterBundles(BundleTable.Bundles);
+ AuthConfig.RegisterOpenAuth();
+ }
+
+ void Application_End(object sender, EventArgs e)
+ {
+ // Code that runs on application shutdown
+
+ }
+
+ void Application_Error(object sender, EventArgs e)
+ {
+ // Code that runs when an unhandled error occurs
+
+ }
+ }
+}