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

TeamVision
TeamVision is a simple task management application built using the Windows Forms classes of the Microsoft® .NET Framework—an integral Windows® comp...

Excel输出与性能
向Excel文件输出数据时,随着数据量的增加,时间将呈现何种曲线增长呢?周末闲来无事,写了个小程序做了一次非正式的性能测试。测试结果如下—— ----------------------------------------------------- 输出方式 Rage for One Tim...

Generic Async Queue
Generic Async Queue is an generic class support Concurrent client enqueue,and dequeue in multi-threads.

Sample C#
List sample C#

Editing Tabular Data in WPF
This sample demonstrates how you can edit tabular data in a grid in WPF.

Creating a Windows SharePoint Services 3.0 Custom with the EntityPicker
This sample code demonstrates how to create an advanced custom field for Windows SharePoint Services 3.0 and use built-in search dialogs in SharePo...

zgrid
zgrid, a console tool to create the jobs to a distributed grid env, and download the results from...

nl - the unix-like line number tool
nl.exe is the unix-like line number tool, which just read your text file (or source code file), and then add line numbers, output to the screen

Solution Connector for Microsoft Office Project Portfolio Server 2007
The Solution Connector is an ASP.NET web service and .NET class library which provides a set of methods for programmatically creating, updating or ...

TechEd SouthEast Asia 2008 - Sessions by Lisa Feigenbaum
This resource page contains the presentation materials used in sessions led by Lisa Feigenbaum at TechEd SouthEast Asia 2008.

 

Most Popular Resources

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.

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

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.

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

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

Visual Basic 2008 Samples
Visual Basic 2008 Samples demonstrate many of the new features available with Visual Basic 2008

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

Microsoft Sync Framework
Introducing the Microsoft Sync Framework – a comprehensive synchronization platform enabling collaboration and offline for applications, services a...

F# Samples
F# Sample Applications

Updating...
Page view tracker