Tuesday, September 25, 2007

24/7

Do advertisers really need to say "and you can shop online 24/7". It's 2007, I think everyone is well aware that websites are available ALL THE TIME.

Tuesday, September 18, 2007

Tuesday, September 11, 2007

Comcast must die.

Yet another story on how Comcast screwed one of their customers. They're Craptastic!

read more | digg story

Monday, September 10, 2007

System.Net.WebClient

I needed a way to grab some content from a remote site. The following code worked the best. You may not need to specify a proxy as I have.

System.Net.WebClient wc = new System.Net.WebClient();
 
string proxyURL = ConfigurationManager.AppSettings["ProxyURL"];
string proxyCredUserName = ConfigurationManager.AppSettings["ProxyUserName"];
string proxyCredPassword = ConfigurationManager.AppSettings["ProxyPassword"];
 
System.Net.WebProxy proxy = new System.Net.WebProxy(proxyURL);
System.Net.NetworkCredential cred = new System.Net.NetworkCredential(proxyCredUserName, proxyCredPassword, domain);
 
proxy.UseDefaultCredentials = true;
proxy.Credentials = cred;
wc.Proxy = proxy;
 
chartImage = wc.DownloadData(chartImageURL);