|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|
ASP.NET Selected Walkthroughs
The topics in this section include a selection of walkthroughs that introduce you to Web development concepts in ASP.NET. These walkthroughs also cover Web development features in Visual Studio 2008 and Visual Web Developer 2008 Express Edition (collectively referred to as Visual Web Developer). The walkthroughs illustrate best practices for performing various tasks.
In addition to these walkthroughs, many topic sections in the Visual Web Developer documentation include walkthroughs that illustrate key features.
The following table lists walkthroughs that will help you start using Visual Web Developer.
Provides an overview of the factors that you should consider when you design a Web site. The topic provides links to topics that provide additional information about individual subjects.
Provides an introduction to the Web development features of Visual Web Developer and guides you through creating a simple ASP.NET page.
Illustrates various features of the code editor. Some of the features of the code editor depend on what language you are coding in. Therefore, in this walkthrough you create two pages, one that uses Visual Basic and another that uses C#.
Provides an introduction to creating Web pages in Visual Web Developer. It guides you through creating a simple page, illustrating the basic techniques of creating a new page, adding controls, and writing code.
Introduces the features of Visual Web Developer for working with cascading style sheets (CSS). It guides you through creating a three-column page layout, illustrating the basic techniques of creating a new Web page and a new style sheet.
Illustrates how to use ASP.NET validation controls to check user input in a Web page.
Shows you how to create a simple data-bound page by using controls that are designed specifically for data access.
Illustrates how to work with the ListView control, which enables you to display data in a format that you define by using templates. By working with templates, you can have complete control over the layout and appearance of the data in the control.
Shows you various ways to work with data in multiple controls and from multiple tables, which includes those that have a master/detail relationship.
Shows you how to create a simple database table and a Web page that uses the LinqDataSource control. The Web page enables users to retrieve, update, insert, and delete data from the database table.
Shows you how to add a menu control to a page and use it as a navigation tool.
Shows you how to use ASP.NET controls and ASP.NET membership services to create pages that let users log in and work with member-only pages.
Shows you how to create a basic ASP.NET Web site that has a Web page that illustrates ASP.NET AJAX features.
Illustrates how to create a master page and several content pages. Master pages let you to create a page layout (a template page). You can then create separate pages that contain content that is merged with the master page at run time.
Shows you how to use themes to apply a consistent look to pages and controls in a Web site.
Shows you how to use the debugger. You create a Web page that contains a simple calculator that includes a deliberate error, and then use the debugger to examine the page as it is running.
Shows you how to use the Copy Web Site tool to copy files between your current Web site and another Web site.
Shows you how to use the Publish Web Site utility to compile a Web site, and then copy the output to an active Web site.
The following table lists walkthroughs that illustrate more in-depth features of ASP.NET and Visual Web Developer.
Shows you how to display and update data in the ListView control. This walkthrough uses a SqlDataSource control to retrieve results from the data source and to manage updates. The SqlDataSource control acts as the data source for the ListView control.
Shows you how to use the ASP.NET GridView control's advanced functionality to add a drop-down list to the editing display.
Illustrates how to create an ASP.NET page that lets users select a theme for the page. Although this example uses a single control skin and a basic cascading style sheet (CSS) file, the principles shown apply to more complex themes that include graphics, different layout schemes in the CSS file, and more complex server control skins.
Shows a simple example of best practices for creating a Web site that accesses a database by isolating the data-access and business-logic layers.
Illustrates how to create and use a Web service.
Illustrates how to create a database application that includes AJAX features to refresh data on the page by using an asynchronous postback.
Shows you how to nest master pages so that the parent master page can provide a consistent layout throughout a Web site, and the child master page can be used as a template for consistent layout within the parent master page.
Shows you how to add profile properties to your application and how to use the profile properties to create a personalized experience for visitors to the Web site.
Shows you how to assign users to roles and how to create rules (permissions) that selectively grant or deny access to pages for different roles. It also shows how to programmatically determine whether a user is in a particular role and which roles the current user is in.
Illustrates how to configure an ASP.NET Web site to expose application services for authentication, roles, and profile properties.
Shows you how to create an ASP.NET user control that acts as a picker control. The picker control has two lists, with a set of choices in one list (the source). Users can select items in the source list and add the items to the target list.
Shows you how to create a simple class and then use it in an ASP.NET Web page where Visual Web Developer references the component automatically.
Shows you how to create localization resource files and reference them in Web pages by using declarative expressions.
Shows you how to use output caching, which uses a pre-processed copy of a page instead of processing the page again for each request.
Illustrates how to create accessible Web pages that enable you to reach as many customers as possible, such as people with disabilities and users who have slow connections or text-only browsers.
Illustrates how to create an HTTP handler, which lets you create custom dynamic output other than Web pages, such as RSS feeds.
Illustrates the basic functionality of a custom HTTP module. An HTTP module is called on every request, and lets you customize how the request or response is processed.
Shows you how to create and compile a custom ASP.NET server control and use it in a page.