ASP.NET Code Sample Downloads
The ASP.NET and Visual Web Developer documentation includes code sample downloads on the MSDN Code Gallery.
The code sample downloads have the following features:
Each sample is a Visual Studio project with full source code.
Each sample provides C# and Visual Basic versions of the code.
Each sample can be individually downloaded.
Each sample is linked to an associated ASP.NET topic on MSDN or the ASP.NET site.
For lists of samples that are available, see the following resources:
ASP.NET Code Examples from MSDN and the ASP.NET Site on the MSDN Code Gallery.
ASP.NET Code Examples from MSDN and the ASP.NET Site on the old MSDN Code Gallery.
(Includes many samples that have not yet been migrated to the current Code Gallery site.)
ASP.NET Code Examples on the MSDN Code Gallery.
(Lists all ASP.NET examples on the MSDN Code Gallery, including those that are not related to documentation on MSDN or the ASP.NET site. Some of these might not include both C# and VB code.)