How To Take This Class

Course Overview

In this ASP.NET Using Visual Studio 2005 Training course, students will learn how to use Visual Studio 2005 and Visual Basic 2005 or C# to build ASP.NET 2.0 Web pages and XML Web services. Students will gain an understanding of the new architecture behind ASP.NET 2.0 and how to use the new server controls. Students will also learn to create consistent web sites using Master Pages, to improve performance with output caching, add membership features, configure and deploy ASP.NET applications, to authenticate users and limit their access to resources, direct users using new Site Navigation tools and to handle multi-user data access conflicts. Students will also become familiar with the debugging and tracing features in Visual Studio 2005 that help quickly troubleshoot issues and will learn how to take advantage of creating their own user-defined controls. This course can be delivered in Visual Basic or Visual C# to accommodate a student's language preferences.

Course Prerequisites

This course assumes that students are familiar with Microsoft Windows 2000 or higher, the Internet and building basic Web sites. Some prior experience with Visual Studio would be helpful.

Course Audience

This course is designed for students who are interested in learning how to develop ASP.NET web applications using Visual Basic or C# and Visual Studio 2005.

What You'll Learn

Upon successful completion of this course, students will be able to:
  • Use ASP.NET server controls to generate HTML and to execute event procedures
  • Promote consistency within your web site through Master Pages
  • Retrieve and manipulate data using ADO.NET
  • Display and edit data quickly and easily using new data binding features
  • Use Membership features to manage your Web users
  • Use new Site Navigation controls to direct users within your site
  • Redirect users on unhandled errors
  • Debug client-side script
  • Debug SQL Server stored procedures
  • Use the Trace object for page-level monitoring
  • Use Web Events to provide programmatic health monitoring
  • Create new user-defined controls
  • Create and consume XML Web Services
  • Take advantage of ASP.NET’s versatile output caching to increase performance
  • Add scalability and reliability by setting up an out-of-process session state server
  • Create a Web Setup project in Visual Studio to build a deployment package that takes advantage of Windows Installer

Course Duration

5 Days

Course Outline

  1. Introduction to ASP.NET
    • A Review of Classic ASP
    • ASP.NET Web Applications
    • Rendering HTML with Server Controls
    • Data Binding in ASP.NET 2.0
  2. What's New in ASP.NET 2.0
    • New Features in ASP.NET 2.0
    • Designer Features
    • Deployment and Configuration Tools
    • Increasing Productivity
  3. Working with Controls
    • Introduction to Web Controls
    • Simple Input Controls
    • HyperLink and Button Controls
    • List Controls
    • Controlling Focus
  4. Using Rich Server Controls
    • Introduction to Rich Controls
    • The Calendar Control
    • The AdRotator Control
    • The XML Control
  5. Accessing Data
    • Overview of ADO.NET
    • Connecting to Data
    • Executing Commands
    • Working with Data
    • Choosing an ADO.NET Provider
  6. Configuration
    • Configuration Overview
    • Using the Web Site Administration Tool
    • Programming Configuration Files
    • Encrypting Configuration Sections
  7. Data Binding
    • Introducing Data Source Controls
    • Reading and Write Data Using the SqlDataSource Control
    • Displaying and Editing Middle-Tier Data Using the ObjectDataSource Control
    • Displaying XML Data Using the XmlDataSource Control
  8. Validating User Input
    • Overview of ASP.NET Validation Controls
    • Using the Simple Validators
    • Using the Complex Validators
    • Summarizing Results with the ValidationSummary Control
    • Separating Validation into Validation Groups
  9. Themes and Master Pages
    • Creating a Consistent Web Site
    • Master Pages
  10. Site Navigation
    • Providers and Data Sources
    • Creating an XML Site Map File
    • Site Navigation Controls
    • Using the Site Navigation API
    • URL Mapping
    • Security Trimming
  11. Displaying Data with the GridView Control
    • Introducing the GridView Control
    • Filter Data in the GridView Control
    • Allow Users to Select from a DropDownList in the Grid
    • Add a Hyperlink to the Grid
    • Deleting a Row and Handling Errors
  12. Managing State
    • Preserving State in Web Applications
    • Page-Level State
    • Using Cookies to Preserve State
    • ASP.NET Session State
    • Storing Objects in Session State
    • Configuring Session State
    • Setting Up an Out-of-Process State Server
    • Storing Session State in SQL Server
    • Using Cookieless Session IDs
    • Application State
  13. Managing Users with ASP.NET's Membership Features
    • Introduction to Membership and Roles
    • Using Membership Controls
    • Writing Code to Interact with Membership and Roles
  14. Debugging
    • Using the Visual Debugging
    • Debugging Exceptions and Handling Errors
    • Debugging Client-Side Script
    • Debugging SQL Server Code
  15. Tracing
    • ASP.NET Trace
    • Health Monitoring with Web Events
  16. Creating New Controls
    • Two Kinds of User-Defined Controls
    • Creating a User Control
    • A More Complex User Control
    • Creating a Custom Control
    • Investigating the StateDropDownList Control
  17. Improving Performance with Output Caching
    • The Importance of Caching
    • Declarative Page Output Caching
    • Caching Page Fragments
    • Post-Cache Substitution
    • Caching Configuration
  18. Advanced Caching
    • ASP.NET Caching Review
    • Programmatic Page Caching
    • Caching Data
    • Expiring a Cached Item when Data Changes
  19. Using the DataList and Repeater Controls
    • Overview of List-Bound Controls
    • Creating a Repeater Control
    • Creating a DataList Control
  20. Creating and Consuming Web Services
    • The Motivation for XML Web Services
    • Creating an XML Web Service with Visual Studio
    • Designing XML Web Services
    • Creating Web Service Consumers
    • Discovering Web Services Using UDDI