Share via


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.

Basic Walkthroughs

The following table lists walkthroughs that will help you start using Visual Web Developer.

Topic

Description

Introduction: Planning an ASP.NET Web Site

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.

Walkthrough: Creating a New ASP.NET Web Site

Provides an introduction to the Web development features of Visual Web Developer and guides you through creating a simple ASP.NET page.

Walkthrough: Code Editing in Web Pages in Visual Web Developer

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#.

Walkthrough: Creating a Basic Web Page with Code Separation in Visual Web Developer

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.

Walkthrough: Creating and Modifying a CSS File

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.

Walkthrough: Validating User Input in a Web Forms Page

Illustrates how to use ASP.NET validation controls to check user input in a Web page.

Walkthrough: Basic Data Access in Web Pages

Shows you how to create a simple data-bound page by using controls that are designed specifically for data access.

Walkthrough: Displaying, Paging, and Sorting Data Using the ListView Web Server Control

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.

Walkthrough: Creating Master/Detail Web Pages in Visual Studio

Shows you various ways to work with data in multiple controls and from multiple tables, which includes those that have a master/detail relationship.

Walkthrough: Retrieving, Updating, Inserting, and Deleting Data with the LinqDataSource and DetailsView Controls

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.

Walkthrough: Adding Site Navigation to a Web Site

Illustrates how to create site navigation by using various navigation controls, such as the Menu control, the TreeView control, and the SiteMapPath control, which adds a navigation path to Web pages.

Walkthrough: Displaying a Menu on Web Pages

Shows you how to add a menu control to a page and use it as a navigation tool.

Walkthrough: Creating a Web Site with Membership and User Login

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.

Walkthrough: Creating an AJAX-enabled Web Site

Shows you how to create a basic ASP.NET Web site that has a Web page that illustrates ASP.NET AJAX features.

Walkthrough: Creating and Using ASP.NET Master Pages in Visual Web Developer

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.

Walkthrough: Customizing a Web Site Using Themes in Visual Studio

Shows you how to use themes to apply a consistent look to pages and controls in a Web site.

Walkthrough: Debugging Web Pages in Visual Web Developer

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.

Walkthrough: Copying a Web Site Using the Copy Web Site Tool

Shows you how to use the Copy Web Site tool to copy files between your current Web site and another Web site.

Walkthrough: Publishing a 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.

Note

The Publish Web Site utility is not available in Visual Web Developer 2008 Express Edition.

Advanced Walkthroughs

The following table lists walkthroughs that illustrate more in-depth features of ASP.NET and Visual Web Developer.

Walkthrough

Description

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 profileproperties to your application and how to use the profileproperties to create a personalized experience for visitors to the Web site.

Walkthrough: Managing Web Site Users with Roles

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: Using ASP.NET Application Services

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.

See Also

Tasks

Walkthrough: Creating a Basic Web Page in Visual Web Developer