Log in
28
September

Asp.net Read Reciept Request

Written by Adnan Rashid. No comments Posted in: Development
Tagged with , ,

Heres a quick tip. If you need to include a request for read receipt like Microsoft Outlook while sending mails through Asp.net, just add the Disposition-Notification-To Header to the MailMessage.
The MailMessage class does not have a corresponding attribute and thus it has to be set through the Header.

MailMessage mm = new MailMessage(fromAddress, toAddress);
mm.Subject = subject;
mm.Headers.Add("Disposition-Notification-To", [...]

26
September

Generic Handler – Session State

Written by Adnan Rashid. No comments Posted in: Development
Tagged with , ,

In my current project I needed to access the Session state in a Generic Handler. To my dismay, i realized that the Session StateBag was null. The StateBag class is sealed and manages the Viewstate of the Asp.net server controls and pages.
Upon discussion with my colleague, Mr. Hamed, we found the solution to my problem. [...]

15
September

Recently, I felt the need for removing a project from the Visual Studio Start Page, so I Googled and would like to share the solution. Don’t forget to close visual studio before trying this out. This trick requires modification to registry, so if you are skeptical do make a backup of the registry before proceeding.
Start [...]

14
September

Google Chrome

Written by Adnan Rashid. 1 comment Posted in: General
Tagged with

Being a Web Developer, I don’t know whether to rejoice the addition of another browser or not? With all the hype of IE 8 ; Cross-Browser compatibility and now this, life sure is chaotic.
I am not going to blog about the new features of Google Chrome (We already have tons of them). It’s been analyzed [...]