Wednesday, April 30, 2008

C# Interview Questions

I came across these C# interview questions when browsing the MSDN Code Gallery. This might come in handy if you are hiring someone and looking for some questions to ask. Check it out:

Happy Coding,

Madhu

Adding Info to Email Header

Adding custom info to email header is very simple in .Net. This info can be used to identify/trace the emails back to some business objects. In case the email is bounced back you can easily track the email and act on it. Encrypting that custom info makes it even more secure. Here is how you add the custom piece of information:

//create a new smtp mail message
System.Net.Mail.MailMessage mailMessage = new System.Net.Mail.MailMessage();
:
:
mailMessage.Headers.Add("AdditionalInfo", "Some Info");
:
:
//Send the mail.

smtpClient.Send(mailMessage);


Happy Coding,

Madhu

Wednesday, April 23, 2008

FastCopy

I downloaded a tool to copy and delete files for Windows OS. Sounds silly right? But actually not. It's called FastCopy and is really is super fast!! I used this program to copy large amounts of data and I was very impressed. It also has more options like XCopy and can do replication. The program directly calls the Win32 API and it's pretty fast. Best of all, it's open source.

You can download it here.

Tuesday, April 22, 2008

IE Developer Toolbar

I recently came across the IE tool bar for developers. This tool just amazed me; it's like a heaven for web developers. The IE tool bar will make your job so much easier by letting you select elements of a rendered web page, providing their DOM properties, outline all elements, validate HTML etc.

This is a must install for all the web developers. You can download it here

Happy coding,

Madhu