Tuesday, August 08, 2006

VS 2005 Code Snippets

For those of you who don’t know about snippets or who are sad that c# didn’t come with many snippets installed, here is a List of Microsoft Snippets that you can install.

Once installed (double-clicking vsi files) you can access the snippets either by typing in their shortcut name and hitting tab twice or by clicking Ctrl-K-S.

I made a custom SOAP snippet using Snippy to call a Web Service method from ASP.NET. To import my snippet use “Tools->Code Snippet Manager…->Import”. My snippet's shortcut is “soap”.

In addition, GotCodeSnippets.NET, has a lot of other snippets submitted by the .NET community.

No comments:

Post a Comment