Security Switch 4.2 =================== Security Switch enables various ASP.NET applications to automatically switch requests for pages/resources between the HTTP and HTTPS protocols without the need to write absolute URLs in HTML markup. With deprec…
1.项目中异常报错如下: 2.百度结果:原来是 网站没有使用SSL证书或者是SSl证书失效了的缘故. 3.具体解决方案如下: )导入命名空间 using System.Net.Security; using System.Security.Authentication; using System.Security.Cryptography.X509Certificates; )重载CheckValidationResult方法,返回true public bool CheckValidation…