Wednesday, July 29, 2015

asp.net google drive api service account System.Security.Cryptography.CryptographicException: An internal error occurred

  var certificate = new X509Certificate2(keyFilePath, "notasecret", X509KeyStorageFlags.MachineKeySet |
                                     X509KeyStorageFlags.Exportable);

Monday, July 13, 2015

SQL check null in where condition

 where (ISNULL(NULLIF(@tptCode,''),N'') =N'' OR msl.tpt_cd= @tptCode)