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

Office Live Small Business Web Site Templates
A collection of Web site templates to be used in Office Live Small Business accounts. These templates included Web pages, business applications, im...

Excel Financial functions for .NET
What is it? This is a .NET library that contains all the financial functions of Excel. Its main goal is Excel compatibility. This is not a wrapper ...

Open XML Converter Interface Sample Code
This sample code provides the technical information and files necessary to develop an external Open XML file converter that is able to import and e...

dtexecRemote
Remote execution of SSIS packages.

TerkSean
TerkSean's Resource Page

MethodsAndTools
Methods & Tools is a free practical magazine on software development, software testing, quality assurance and project management

Code for "An Introduction to RESTful Services with WCF"
We discuss some of the basic tenets of REST as well as present an implementation of a RESTful service using WCF.

JonnyDexter
Source code snippets

Windows Mobile Webcast – Interoperability between managed and native code
Even though the .NET Compact Framework contains a lot of functionality, there are situations where you need to make use of native Win32 APIs in ord...

Windows Mobile Webcast – Developing Battery-Friendly Applications
One of the most compelling challenges every Mobile Device developer has to deal with is preserving battery life.

 

Most Popular Resources

Samples Environment for Microsoft Chart Controls
The samples environment for Microsoft Chart Controls for .NET Framework contains over 200 samples for both ASP.NET and Windows Forms. The samples c...

Windows 7 Developer Guide
Build applications on a solid foundation; enable richer application experiences; and integrate the best of Windows and web services. The features a...

C# Future
Samples and documents describing C# 4.0 language and IDE features.

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 ...

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

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...

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...

KB957507 - Loc Intellisense to replace all Loc Int shipped with VS 2008 SP1
Loc Intellisense QFE to replace all Loc Intellisense shipped with Visual Studio 2008 SP1 FIX: After you install a non-English version of Microsoft...

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...

Updating...
Page view tracker