If your Visual Studio either VS2005 or VS2008 is missing some default tempates, or whenever you want to add any new item and click add new item you are surprise to find that either your add new WebForm is missing or any other similar item is missing from the add new item list then your templates defaults are corrupted due to some reasons or latest updates or patches or any other software which you have recently installed.
So the workaround to this problem is:-
- Just go to the Visual Studio command prompt.
- Close all opened instances of Visual Studio
- Run this command devenv/installvstemplates on Visual Studio Command Prompt.
- And thats it all your templates will be set to defaults.