Tuesday, January 8, 2013

For config settings use

System.Configuration.
ConfigurationManager.ConnectionStrings["MyConnectionName"].ConnectionString

No comments:

c# httpclient The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch

 If we get this error while trying to get http reponse using HttpClient object, it could mean that certificate validation fails for the remo...