//using System.Net;
//using System.Security.Cryptography.X509Certificates;
//using System.Net.Security;
ServicePointManager.ServerCertificateValidationCallback +=
delegate(object sender, X509Certificate certificate,
X509Chain chain, SslPolicyErrors sslPolicyErrors)
{
return true;
};
Showing posts with label Quick Help. Show all posts
Showing posts with label Quick Help. Show all posts
Sunday, July 12, 2009
Overriding ServerCertificateValidation
I found the following code very useful, when trying to debug https calls through fiddler. During this proxying, fiddler creates its own certificates, which will be failed by the programs. In order to override the behavior, while doing debugging, the following code could be used.
Wednesday, March 25, 2009
Debugging using Fiddler
I have been using Fiddler for a long time. I use fiddler to trace http/https calls to see what is the actual http messages (request - response).
From C#, I typically use the following configuration.
From C#, I typically use the following configuration.
<system.net>
<defaultproxy>
<proxy bypassonlocal="False" usesystemdefault="True" />
</defaultproxy>
</system.net>
Sunday, March 22, 2009
Customizing Blogger Template
When I started blogging, one of the main requirements I had was to enable code block on my blog. I have enabled syntax highlighting on my blog by taking help from Using SyntaxHighlighter on BLOGGER and How to get syntax highlighting in Blogger with SyntaxHighlighter.
Also, by default the template that I was using was having smaller width for the main post area. To increase this I have followed Rounders 2 with a wider post area.
Also, by default the template that I was using was having smaller width for the main post area. To increase this I have followed Rounders 2 with a wider post area.
Subscribe to:
Posts (Atom)