We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed14fc8 commit 4395ef4Copy full SHA for 4395ef4
AzureCloudServiceSample/WebRoleSample/Global.asax.cs
@@ -17,5 +17,11 @@ protected void Application_Start()
17
RouteConfig.RegisterRoutes(RouteTable.Routes);
18
BundleConfig.RegisterBundles(BundleTable.Bundles);
19
}
20
+
21
+ protected void Application_EndRequest(Object sender, EventArgs e)
22
+ {
23
+ HttpContext context = HttpContext.Current;
24
+ context.Response.AddHeader("Strict-Transport-Security", "max-age=15724800;includeSubDomains");
25
+ }
26
27
0 commit comments