Visual C# Walkthroughs
Walkthroughs give step-by-step instructions for common scenarios, which makes them a good place to start learning about the product or a particular feature area.
Distributed Applications Walkthrough
- Creating a Distributed Application
Explains how to create a multitiered, distributed application that has both a rich Windows client and a browser interface.
Data Walkthroughs
- Reading XML Data into a Dataset
Describes how to read XML data onto a form. - Validating User Input in a Web Forms Page
Describes how to use Web Forms validation controls to check for required entries, data types, ranges, patterns, and specific values. - Creating a Master-Detail Windows Form
Describes how to build a parent-child data relationship on a Windows Form. - Creating Read-Only Data Access in a Web Forms Page
Describes how to create a Web Forms page with an ASP.NET DataGrid server control on it that uses a data reader to display read-only data. - Displaying Data in a Windows Form Using a Parameterized Query
Describes how to create a Windows Form with individually bound controls that display different data depending on what the user enters into a text box. - Mapping Data Source Tables to Dataset Tables
Describes how to map the structure of tables in a data source to the structure of a dataset. - Simple Data Access in a Windows Form
Describes the steps to create a Windows Form containing a data grid that displays information from a SQL Server database. - Creating a Dataset with Tables, Keys and One-to-Many Relationships
Describes the steps to create a dataset and use it to validate data in a one-to-many or keyed relationship. - Creating an XML File with an Associated XML Schema
Describes the steps for creating an XML file and a schema, associating the two, and working on the XML file in the designer's XML view. - Creating an XML Schema with the XML Designer
Describes the steps to create an XML purchase-order schema as part of a Windows application. - Handling a Concurrency Exception
Creates a Windows application that raises a concurrency error and illustrates one strategy for handling it.
XML Web Services Walkthroughs
- Creating an XML Web Service Using Visual Basic or Visual C#
Explains how to create an XML Web service that converts temperatures measured in Fahrenheit to Celsius. - Accessing an XML Web Service Using Visual Basic or Visual C#
Describes how to make use of an existing XML Web service.
Windows Forms Walkthroughs
- Creating a Simple Windows Form
Describes how to build and run a simple Windows Form. - Simple Data Access in a Windows Form
Explains the steps for creating a Windows Form to display data in a grid. - Creating Dynamic Context Menus on Windows Forms
Steps through a detailed example of creating a single context menu to serve two or more different controls. - Switching Windows Forms Menu Structures Based on Application State
Gives directions for switching between MainMenu objects programmatically. - Demonstrating Visual Inheritance
Describes how to create a base Windows Form and compile it into a class library. You will import this class library into another project, and create a new form that inherits from the base form. - Creating a Multipane User Interface with Windows Forms
Describes how to create a multipane user interface that is similar to the one used in Microsoft Outlook. - Creating a Windows Service Application in the Component Designer
Describes how to create a long-running executable file that does not have a user interface. - Calling XML Web Services from Windows Forms
Describes how to make calls to XML Web service methods from a Windows application. - Retrieving Dialog Box Information Collectively Using Objects
Gives directions for using an object to expose a group of related data from a dialog box. - Updating Status-Bar Information at Run Time
Gives directions for programmatically controlling the data within status bar panels.
Web Forms Walkthroughs
- Creating a Basic Web Forms Page
Illustrates the basic techniques of how to create a Web Forms page in Visual Basic or Visual C#, add controls to it, and run it. - Creating a Web Application Using Visual C# or Visual Basic
Describes how to write a Web Forms application and then integrate a business-object component that gives you a 10% discount for purchases. - Creating a Web Application Using a Third-Party Business Object
Describes how to write a Web Forms application using Managed Extensions for C++ and then integrate a third-party business-object component that gives you a 10% discount for purchases. - Validating User Input in a Web Forms Page
Describes how to use Web Forms validation controls to check user entries without code, including required entries, data types, patterns, and specific values. - Displaying Data in a Web Forms Page
Illustrates a basic data-access scenario, providing step-by-step instructions for how to create a Web Forms page that displays data in a grid control. - Creating Read-Only Data Access in a Web Forms Page
Describes how use an ADO.NET data command and data reader to provide optimized access to read-only data in a Web Forms page. - Updating Data Using a Database Update Query in Web Forms
Describes the basic techniques of creating a Web Forms page that uses a data command to update the database. - Using a DataGrid Web Control to Read and Write Data
Gives step-by-step details on how to use a grid control to allow users to view and edit data. - Creating Paged Data Access using a Web Forms Page
Describes how to create a Web Forms page that allows users to view data records a few records at a time, paging back and forth to view earlier and later records. - Creating a Web User Control
Describes how to create a Web Forms user control — a page configured to act as a control — and use it on another page. - Converting a Web Forms Page to a User Control
Describes how to convert a basic Web Forms page into a user control that can be hosted on another page. - Creating a Web Custom Control
Describes how to create a custom control, add it to the toolbox, and use it on a Web Forms page. - Displaying an XML Document in a Web Forms Page using Transformations
Gives step-by-step details on how to read an XML file and display it in different ways on a Web Forms page.
Component and Control Authoring Walkthroughs
- Authoring a Component with Visual C#
Shows the development of a simple component in Visual C#, illustrating the interaction between client and component, object lifetime and circular references, debugging clients and components, and the use of shared methods and instance methods. - Authoring a Simple Multithreaded Component with Visual C#
Demonstrates the development of a simple multithreaded component in Visual C#, explaining how threads work and how to coordinate multiple threads in your component. - Authoring a User Control with Visual C#
Shows the development of a simple control in Visual C# that inherits from the UserControl class, and how to inherit from an established user control. - Creating Your Own Collection Class
Describes how to use inheritance to create a simple, strongly typed collection inherited from the CollectionBase class. - Inheriting From a Windows Forms Control with Visual C#
Demonstrates how to create a simple inherited button control. This button will inherited functionality from the standard Windows Forms button and will expose a custom property.
Dynamic Properties Walkthroughs
- Storing and Retrieving Dynamic Properties
Describes the major steps in storing and retrieving property values.
Framework Services Component Walkthroughs
- Exploring Event Logs, Event Sources, and Entries
Describes how to use an EventLog component instance to interact with existing logs, create custom logs, and read and write values to logs. - Installing an Event Log Component
Describes how to use an installation component to configure server resources needed for your EventLog component instance. - Creating a Queue and Working with Messages
Describes how to use a MessageQueue component instance to interact with Windows message queues. - Changing and Retrieving Performance Counter Values
Describes how to use a PerformanceCounter component instance to retrieve and set raw and calculated values from a Windows performance counter. - Retrieving Categories and Counters
Describes how to use a PerformanceCounter component instance to retrieve lists of Windows performance counter categories on a server. - Managing Windows Processes
Describes how to use the Process component to monitor and interact with Windows processes on a server. - Reacting to File System Events
Describes how to use a FileSystemWatcher component instance to monitor files and directories and react when changes occur. - Adding Active Directory Objects
Describes how to use the DirectorySearcher component to interact with Active Directory file system structures.
Internationalization Walkthroughs
- Localizing Web Forms Pages
Describes the major steps in creating a global-ready Web Forms application. - Localizing Windows Forms
Describes the major steps in creating a global-ready Windows Forms application.
Accessibility Walkthroughs
- Creating an Accessible Windows Application
Describes how to create a Windows application that is optimized for different accessibility issues.
Additional Information
- Visual Studio Walkthroughs
Gives a related list of walkthroughs for all areas of programming in Visual Studio. - Deployment Walkthroughs
Provides step-by-step examples of common deployment scenarios.