Monthly Archives: April 2009

ASP.NET 3.5 – How to send an email using exchange server from the ASP.NET Application?

The .NET Framework 1.x had a System.Web.Mail class to send an email from the ASP.NET framework. While this namespace and these classes still exist in the .NET Framework version 2.0 and later, they have been deprecated and replaced by the … Continue reading

Posted in Uncategorized | Leave a comment

SQL Server 2005 – Add a uniqueidentifier column in exisiting table and populate column with unique GUIDs

Many DBAs prefer to have “uniqueidentifier” as a table identifier in their data model design over “identity” column. That way DBAs can easily import-export SQL Server tables and data from one database to other database without worrying about uniqueness of … Continue reading

Posted in SQL Server | Leave a comment

ASP.NET 3.5 – How to access web.config AppSettings and ConnectionStrings from the code.

Please note that this article applies to the ASP.NET 2.0 framework and later. With the ASP.NET 2.0 configuration API, there is a new way to retrieve AppSettings and ConnectionString sections from web.config in the ASP.NET applications. New ConfigurationManager class allows … Continue reading

Posted in Uncategorized | Leave a comment

Visual Studio Tip – How to Clear Recent Projects in Visual Studio 2005 or Visual Studio 2008

I have been in the situations where I end up having lots of unwanted project items in the “Recent Projects” pan in Visual Studio startup page. If you ever wanted to clear the list, read further and follow following steps. … Continue reading

Posted in Uncategorized | Leave a comment