B.1 VB.NET, C#, and J# Templates

Windows Form

A source file that defines a class derived from System.Windows.Forms.Form.

Class

A source file containing an empty class declaration.

Code File

An empty source file.

Assembly Information File

A source file containing general assembly information. This is where all assembly level attributes are placed.

Application Configuration File

A .NET application configuration file. This file is named app.config, but at build time, VS.NET copies the file into the startup directory with the name <exename>.exe.config. (This is the name that the .NET Framework expects configuration files to have.)

Installer Class

A source file containing a class to be invoked at setup time. This would be used in a project that implements a custom action for a Setup and Deployment project.

Component Class

A source file containing a class that derives from System.ComponentModel.Component. (This enables integration with the VS.NET design-time environment. See Chapter 7 for more details.)

User Control

A source file containing a class derived from System.Windows.Forms.UserControl. User controls can be edited using the visual designer.

Data Form Wizard

A source file containing a Windows Forms form and also an associated type-safe DataSet to allow data binding to controls on the form.

DataSet

An XML schema and a generated strongly typed DataSet class.

Custom Control

A source file containing a class that derives directly from System.Windows.Forms.Control.

Inherited Form

A source file containing a Windows Forms form that derives from another form.

Web Custom Control

A source file containing a class that derives from System.Web.UI.WebControl.

Inherited User Control

A source file containing a Windows Forms control that derives from another control.

Windows Service

A source file containing a class for creating a Windows service.

Web Form

An .aspx file (an ASP.NET Web Form) and an associated codebehind file.

Web Service

An .asmx file and an associated codebehind file.

Dynamic Discovery File

A file used to publish information about a web service.

Static Discovery File

A file used to publish information about a web service.

Global Application Class

A class for handling web application events.

Web Configuration File

A web.config file used to configure ASP.NET web application settings.