This documentation is archived and is not being maintained.

Advanced ASP.NET Walkthroughs

The topics in this section include a selection of advanced walkthroughs that illustrate more in-depth features of ASP.NET and Visual Web Developer. For walkthroughs that illustrate basic Web development concepts in ASP.NET, see Basic ASP.NET Walkthroughs



Walkthrough: Modifying Data Using the ListView Web Server Control

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.

Walkthrough: Displaying a Drop-Down List While Editing in the GridView Web Server Control

Shows you how to use the ASP.NET GridView control's advanced functionality to add a drop-down list to the editing display.

Walkthrough: Creating User-Selectable Themes

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.

Walkthrough: Creating the Data Access and Business Logic Layers in ASP.NET

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.

Walkthrough: Creating and Using an ASP.NET Web Service in Visual Web Developer

Illustrates how to create and use a Web service.

Walkthrough: Creating an AJAX-Enabled Data Application

Illustrates how to create a database application that includes AJAX features to refresh data on the page by using an asynchronous postback.

Walkthrough: Using Nested Master Pages in ASP.NET

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.

Walkthrough: Maintaining Web Site User Information with Profile Properties

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.

Walkthrough: Using ASP.NET Application Services

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.

Walkthrough: Managing Web Site Users with Roles

Illustrates how to configure an ASP.NET Web site to expose application services for authentication, roles, and profile properties.

Walkthrough: Creating Reusable Elements with ASP.NET User Controls

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.

Walkthrough: Using Shared Code in Web Sites in Visual Web Developer

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.

Walkthrough: Using Resources for Localization with ASP.NET

Shows you how to create localization resource files and reference them in Web pages by using declarative expressions.

Walkthrough: Using Output Caching to Enhance Web Site Performance

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.

Walkthrough: Creating an Accessible Web Application

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.

Walkthrough: Creating a Synchronous HTTP Handler

Illustrates how to create an HTTP handler, which lets you create custom dynamic output other than Web pages, such as RSS feeds.

Walkthrough: Creating and Registering a Custom HTTP Module

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.

Walkthrough: Developing and Using a Custom Web Server Control

Shows you how to create and compile a custom ASP.NET server control and use it in a page.