We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4907a8e commit badfa35Copy full SHA for badfa35
Global.asax.cs
@@ -1,5 +1,6 @@
1
using ARMExplorer.App_Start;
2
using System.Configuration;
3
+using System.Net;
4
using System.Web.Http;
5
6
namespace ARMExplorer
@@ -9,6 +10,7 @@ public class Global : System.Web.HttpApplication
9
10
11
protected void Application_Start()
12
{
13
+ ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
14
Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration
15
.Active.InstrumentationKey = ConfigurationManager.AppSettings["AppInsightKey"] ?? System.Environment.GetEnvironmentVariable("AppInsightKey") ?? string.Empty;
16
0 commit comments