3
2010
Search for better Logging Framework
Before I begin, I wanted to let you all know that I was not able to blog from long time mainly because I was bit busy with my project at office. Anyways, I am in a new project now and I am the only developer for the current project directly working with the client. I feel it has given me opportunity to implement things on my own way and at the same time flexibility to [...]
16
2009
Freeware tools I use
Visual Studio Addins 1. GhostDoc This is a free addin that automatically generates the XML comments for your code. Click on the method/field name and press Control + Shift + D and it generates the XML comments for you. GhostDoc provides two commands. a. Build Documentation b. Re-build Documentation I usually set default keyboard shortcut Control + Shift + D to Re-build Documentation as it helps me in re-writing the documentation whenever I change signature [...]
1
2009
LovelyCharts.com
I just finished developing a web application for my client. I was asked to create a developer reference document for the project I completed. At the end of the document, a solution architect in my team felt a need of a diagram to explain the control flow inside the system. To draw the diagram, I did not have the Microsoft Visio (which I often use for such kind of tasks), and I was not willing [...]
9
2009
Setting devenv to run Visual Studio version of your choice
Recently I found out that my wife has all VS 2003, VS 2005 and VS 2008 installed in her laptop. It is our usual practice that we hit devenv in Windows run menu to open our Visual Studio IDE. So whenever my wife hit devenv in run window, it always opened VS 2003 editor, where as she wanted it to open VS 2005. I just now found out how to change this behavior. Windows run [...]
9
2009
Setting custom toolwindow icon for Visual Studio add-in
I recently completed a minor update to my Favorites Menu for Visual Studio add-in. The new installer is already put under ‘My Development’ section on my site. The update includes a minor bug fix i.e, toolwindow icon is not set properly inside Visual Studio 2008. I do not remember from where I got the following code, but this worked for me. Paste the below code in to a Utililty.cs Usage: Note: 1. The code [...]
13
2008
Singleton Pattern vs. Static Class
The singleton pattern ensures a class has only one instance, and provide a global point of access to it. There is a nice article about choosing between Singleton pattern and the static class here with examples.
6
2008
DebuggerStepThrough attribute
Pedram Rezaei has written how we can let .NET debugger know, not to step in to certain elements of your program with the help of DebuggerStepThroughAttribute. Read it here
9
2008
TypeCode enum in C#
Recently, one of my friend digged in to metadata of TypeCode enum type and found out that, it does not have value 17 in it. Even I was surprised to see this, and wanted to know the reason behind value 17 missing from the enumeration. I googled and found a link to blog which explains, why the value 17 has been missed from the enum. From the author: We’ve had this “hole” in the [...]

An article by Utkarsh Shigihalli