MSDN Code Gallery

Download and share sample applications, code snippets, and other resources with the developer community.
MSDN Code Gallery RSS Feed

Browse and Download

Browse MSDN Code Gallery
Browse the Code Gallery to find samples contributed by the community.

Upload New Resource

Upload new resource
Create a new Resource Page to share code, provide an overview and host discussions about your code or resource.
Microsoft does not control, review, revise, endorse or distribute the third party resources on this site. Microsoft is hosting the MSDN Code Gallery site solely as a web storage site as a service to the developer community. For more information, read the Terms Of Use.

Newly Released Resources

SQL-Web
SQL Server Web Monitor.

Microsoft ESP: Drawing Gauges Using GDI+
The Drawing Gauges Using GDI+ code sample demonstrates one method of creating a custom C++ gauge in Microsoft ESP without using the XML gauge system.

Perseus Continuum
Contributions to the original Perseus project, making EF disconnected. Not nice, but disconnected. Also adding ObjectDataSource binding samples sin...

NETFx3 Samples
This Code Gallery project contains the samples and source code that had previously been hosted on the NetFX3 website. The NetFX3 website samples co...

WinForm Exception Interceptor
Intercept uncaught exceptions in Windows forms event handlers.

CSharpCodeResources
This is my C-Sharp Code Resources Page. Here you may find some useful C-Sharp Codes that would enhance your productivity in C-Sharp Applications De...

Devscribe
Code documentation that looks like just C# code!

Windows Hosts File Manager
Windows Hosts File Manager - Using this application you might to edit HOSTS file, add & delete some configurations in that file.

ActiveDirectory.Show
Here is a sample code derived from the excellent Family.Show application from Vertigo available on www.codeplex.com/familyshow . This sample show...

Encodo C# Handbook
This document covers many aspects of programming with C#, from naming, structural and formatting conventions to best practices for using existing a...

 

Most Popular Resources

C# Samples for Visual Studio 2008
Our first release on CodeGallery contains updates to the official C# samples that ship with Visual Studio 2008.

toyCRC-sharp
Sample CRC-32 manips in C# (not configurable)

Microsoft StyleCop
StyleCop analyzes C# source code to enforce a set of style and consistency rules. It can be run from inside of Visual Studio or integrated into an ...

Visual Basic Forms over Data Video Series Samples
This how-to video series is dedicated to getting Visual Basic developers productive on areas of data-based Windows Application development.

Employee Info Starter Kit
This is a starter kit, which includes very simple user requirements, where we can create, read, update and delete (crud) the employee info of a com...

Plugin development and samples for Microsoft Dynamics CRM 4.0
Sample Plugin for CRM 4.0 Tricks and Tweaks to Plugin development and plugin registration

Visual LINQ Query Builder
Visual LINQ Query Builder is an add-in to Visual Studio 2008 Designer that helps you visually build LINQ to SQL queries. Functionally it provides t...

Silverlight SDK Samples
Example code used by the Silverlight SDK.

PowerCommands for Visual Studio 2008
PowerCommands is a Visual Studio extension created with the Visual Studio SDK that provides many useful additional menu command functions within th...

WPF Forms over Data Videos
This how-to video series is dedicated to getting developers productive on areas of data-based Windows Presentation Foundation (WPF) Application dev...

Updating...
Page view tracker