I got this exception. My code was working fine. Suddenly, it started not to work
sometime.  It then worked then not worked. I googled but could not find
any valuable answer to this case.

Then I removed try catch block , my code worked fine again.
The reason of this weird exception is using Response.Redirect in try catch block.

Crying old man

July 25th, 2008

A 93 year old man sitting on the street, crying.
A woman asks him, what’s wrong?
The old man says,
I am married to a beautiful 23 year old girl.
who gaves a great massage, cooks, cleans and likes sex, twice a day.

So the woman says, So whats the problem?
The old man replies,
I forget where I live!

Visual Studio Shortcuts

June 27th, 2008

This is a list of great shortcuts every visual studio developer should know:

ALT + CTRL + E: Opens the Exception Window where you tell Visual Studio to halt at a specific Exceptions or ignore all/some Exceptions

CTRL + K + F and CTRL + K + D: Both format the code to be nicely indented. D will format all the document, f formats only selected text. These shortcuts are for all types of documents such as HTML, Xaml, XML, C# and etc.

SHIFT + DEL: Cuts entire row where cursor is and pastes it to clipboard. No need to select the row.

CTRL + K + C and CTRL + K + U: These are for commenting and uncommenting selected text. C for commenting and u for uncommenting.

ALT + ENTER and F4: Opens up Proterties window.

CTRL + K + S: Opens Surround With Code snippets window.

CTRL + ALT + G and SHIFT + F9: Opens Quiick Watch Window while debugging.