Common Tasks QuickStarts
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Common Tasks QuickStarts 

The Common Task QuickStarts are designed to help you quickly find the answers to your most frequent programming questions. These QuickStarts show how to perform a range of typical development tasks, such as reading and parsing XML, performing data access, and accessing services such as Active Directory or the Win32 API

They are installed with the .NET Framework and Microsoft Visual Studio 2005. See QuickStarts for information about installing and configuring the QuickStarts on your computer. After you install the QuickStarts, you will have access to an HTML-based documentation system that describes them.

QuickStart Categories

The following table lists the QuickStarts by their functional area.

Category QuickStarts

Active Directory

Access Active Directory

Modify Active Directory


Create an assembly with a strong name

Change the default search path

Use version policy

Component Model

Use the CodeDOM to Emit Source Code


Encrypt and decrypt a file

Generate and compare a hash value

Data and ADO.NET

Get an overview of ADO.NET

Execute a command

Get out parameters from a stored procedure

Populate a DataSet from a Database

Update a database from a DataSet

Read and write XML

Use database transactions

Handle errors

Work with hierarchical or relational data

Work with typed data

Filter data

Use connection pooling

Generate XML with data from SQL Server

Load a native ADO recordset into a DataSet

Retrieve data from a database Using OLE DB

Retrieve data from a SQLServer database

Migrate from ADO to ADO.NET


Write to an event log

Read from an event log

Monitor an event log

Read from a performance counter

Count rate of change

Work with tracing

Use trace switches and listeners

Instrument a small application with tracing

Globalization and NLS

Use encodings

Set your current culture and region


Get started using Interoperability

Build a .NET COM Server Callable from COM clients

Build a .NET client that uses a COM server

Call COM methods from .NET

Sink unmanaged events from .NET

Call a function exported from an unmanaged DLL


Receive a message from a message queue

Pass a complex type through a message queue

Receive asynchronously

Use message formatters

Control a message queue


Make a GET request

Make a GET request with SSL

Make a GET request with NTLM

Make a GET request through a proxy

Make a GET request asynchronously

Handle WebExceptions

Make a POST request

Create a DateTime client with TCPClient

Create a DateTime server with TCPListener

Create a Chat client program with UDPClient

Regular Expressions

Use Regular Expressions to match a pattern

Get all matches for a pattern

Use Regular Expressions to make replacements

Find common Regular Expression patterns


Get an overview of remoting

How remoting works

Use the remoting samples

Create a remote server

Create a client of a remote server

Create a remote object as a singleton

Pass an object to a server by reference

Pass an object to a server by value

Compile a client against an interface

Make an asynchronous call to a remote object


Check Windows Identity in a client application

Request the permissions my code needs


Serialize an object graph

Use ISerializable


Write a simple Service application


Create system resources during installation

Execute custom code during installation


Use simple transactions in my application

Get the outcome of a transaction

Use system.transactions with SQL

Use transactions across threads

Use explicit transactions in my application

Enlist on a transaction

Use the System.Transactions transaction in System.EnterpriseServices

XML Data

Write Binary Data

Work with XML data and the XML classes

Read XML from a stream

Apply validation when reading XML

Use an XmlNodeReader

Create DataSet mappings from an XSD schema

Load a DataSet with XML

Infer DataSet mappings from XML

Save DataSet mappings to an XSD schema file

Save a DataSet as XML

Read and write schema

Use the Xml Schema Object Model

Extension objects

Multiple schemas

Modify an XML document

Debug an XSL Transformation Application

Apply an XSL Transformation to XML

Validate an XML Document

Read and Write XML

XML Serialization

Create an XSD schema from a class

Create a class from an XSD schema

Read and Write objects into XML

See Also

Other Resources


© 2015 Microsoft