Like it or not, the first impression people get from you is your appearance.
When engaged in an interview or you are already hired, you always want to look best. Clean cut, professional looking people get treated like a professional. How you dress sends specific signals to people.
If you ever encountered the dreaded “401 unauthorized” error when trying to get the HTML code from a URL on the same domain due to the user from the application pool being different from the user logged in (windows authentication), this short snippet will show you how to work around this issue:
System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(url);
request.Credentials = System.Net.CredentialCache.DefaultCredentials;
request.AuthenticationLevel = System.Net.Security.AuthenticationLevel.MutualAuthRequested;
System.Net.HttpWebResponse response = (System.Net.HttpWebResponse)request.GetResponse();
if (response.StatusCode == System.Net.HttpStatusCode.OK)
System.IO.Stream receiveStream = response.GetResponseStream();
System.IO.StreamReader readStream = null;
if (response.CharacterSet == null)
readStream = new System.IO.StreamReader(receiveStream);
readStream = new System.IO.StreamReader(receiveStream, Encoding.GetEncoding(response.CharacterSet));
string data = readStream.ReadToEnd();