ASP.NET Logo Back to WebMatrix Home

 
Help & Community
File Templates
ASP.NET Web Matrix provides several file templates that you can use to get a jump-start on developing your ASP.NET Web application. A file template creates the initial files, references, code framework, property settings, and tasks appropriate for the selected task.

When you create a new file, icons in the New File dialog box represent the available file tasks. For example, the following are the File Templates for the (General) category: 

(General) Template Library

 

The file template that is associated with the icon you choose determines the output type and other options available for that project. When you select a file template, a brief description of that item appears beneath the Templates frame.

Note This Guided Tour utilizes only a small subset of the available file templates, including the ASP.NET Page (see Create a new ASP.NET page), the XML Web Service (see Create a new XML Web service), the Simple Mobile Page (see Create a new Mobile page) and the Master-Details Grid Data Report (see Create Default page under the Build a Simple Application section).

ASP.NET Web Matrix file templates are grouped into six categories:

  • General: used for general purpose development of ASP.NET pages, XML Web Services, HTML files, reusable Class files, StyleSheets and XML files.

     

  • Data Pages: used for retrieving and manipulating database data in DataGrids.

     

  • Mobile Pages: used for general purpose development of applications targeted for mobile devices such as mobile phones.

     

  • Output Caching: used for improving the performance of ASP.NET pages by caching requests for a particular page so the code that initially creates the page does not have to be run upon subsequent requests.

     

  • Security: used to build login and logout pages for an application that requires Forms Based Authentication.

     

  • Web Services: used to author an XML Web service that can be consumed by other Web services or applications on a network.

     

Next Step >>