Day: May 12, 2012

W

WebRequest.GetResponse() throwing SSL secure channel error

Problem Statement: WebRequest.GetResponse() is one of the most common ways we adopt to perform a HTTPWebRequest from our server side. This case was a specific one, although the error appeared to be more generic in nature. In fact it happened only in SharePoint and not in my .Net application. The error observed in the GetResponse() ...

C

Convert a JSON string into a C# object

There could be scenarios in our project wherein we consume a service which returns back a JSON message. These JSON message is infact a stringified version of an object and are recognized as a simple string format by our server side. Decoding them gets difficult at the first shot. But C# itself has got a ...