title: Cannot set app to use system default TLS version by adding appcontext settings in web.config
body: <p>According to .net guidance of <a href="https://docs.microsoft.com/en-us/dotnet/framework/network-programming/tls#configuring-security-via-appcontext-switches-for-net-framework-46-or-later-versions" rel="noreferrer">TLS protocol programming</a>, it suggests to config security via appcontext switch when your project targets on .net 4.6. This way works when add appcontext in app.config for console application. However, it doesn't work when add appconext switch in web.config for website project.</p>
  
  <p>This is the config I add. </p>
  
  <pre><code>&lt;runtime&gt;
     &lt;AppContextSwitchOverrides value="Switch.System.Net.DontEnableSchUseStrongCrypto=false;Switch.System.Net.DontEnableSystemDefaultTlsVersions=false"/&gt;
  &lt;/runtime&gt;
  </code></pre>