Skip to content

ASP.NET consideration

linvi edited this page Mar 30, 2016 · 1 revision

This page is a simple wiki containing a list of tips and advices for ASP.NET.

ServicePointManager

Please consider using the following code :

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls
        | SecurityProtocolType.Tls11
        | SecurityProtocolType.Tls12
        | SecurityProtocolType.Ssl3;

Not doing this can result in the authentication to fail.

Clone this wiki locally