ASP.NET using Visual C#

Course:   CS2
Duration:   5 Days
Level:   I
On our website at:   http://www.verhoef-training.com/courses/CS2.html
 
Course Summary

In this course, delegates will learn how to use Visual Studio and Visual C# to build ASP.NET Web pages and XML Web services. Attendees will gain an understanding of the architecture behind ASP.NET and how to use the server controls. They?ll 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. Delegates will also become familiar with the debugging and tracing features in Visual Studio that help to quickly troubleshoot issues and they'll learn how to take advantage of creating they're own user-defined controls.

Topics Covered In This Course

Introduction to ASP.NET

  • A Review of Classic ASP.
  • ASP.NET Web Applications.
  • Rendering HTML with Server Controls.
  • Data Binding in ASP.NET.

What's New in ASP.NET

  • New Features in ASP.NET.
  • Designer Features.
  • Deployment and Configuration Tools.
  • Increasing Productivity.

Working with Controls

  • Introduction to Web Controls.
  • Simple Input Controls.
  • HyperLink and Button Controls.
  • List Controls.
  • Controlling Focus.

Using Rich Server Controls

  • Introduction to Rich Controls.
  • The Calendar Control.
  • The AdRotator Control.
  • The XML Control.

Accessing Data

  • Overview of ADO.NET.
  • Connecting to Data.
  • Executing Commands.
  • Working with Data.
  • Choosing an ADO.NET Provider.

Configuration

  • Configuration Overview.
  • Using the Web Site Administration Tool.
  • Programming Configuration Files.
  • Encrypting Configuration Sections.

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.

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.

Themes and Master Pages

  • Creating a Consistent Web Site.
  • ASP.NET Themes.
  • Master Pages.

Site Navigation

  • Providers and Data Sources.
  • Creating an XML Site Map File.
  • Site Navigation Controls.
  • Using the Site Navigation API.
  • URL Mapping.
  • Security Trimming.

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.

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.

Managing Users with ASP.NET's Membership Features

  • Introduction to Membership and Roles.
  • Using Membership Controls.
  • Writing Code to Interact with Membership and Roles.

Debugging ASP.NET Applications

  • Using the Visual Studio Debugging Features.
  • Handling Errors and Redirecting Users.
  • Debugging Client-Side Script.
  • Debugging SQL Server Code.

Tracing

  • Using Page-Level Tracing.
  • Using Application-Level Tracing.
  • Using Web Events.
  • Viewing Information With the Web Development Helper.

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.

Improving Performance with Output Caching

  • The Importance of Caching.
  • Declarative Page Output Caching.
  • Caching Page Fragments.
  • Post-Cache Substitution.
  • Caching Configuration.

Advanced Caching

  • A Review of Basic ASP.NET Caching.
  • Using Code to Implement Caching.
  • Caching Data Rather Than Output.
  • Using Database Dependencies for Cache Expiration.
  • DataSource Control Caching.

Using the DataList and Repeater Controls

  • Overview of List-Bound Controls.
  • Creating a Repeater Control.
  • Creating a DataList Control.

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.
What You Can Expect

At the end of this course, delegates will be able to:

Use ASP.NET server controls to generate HTML and to execute event procedures.

Promote consistency within 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 Web users.

Use new Site Navigation controls to direct users within a 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.

Who Should Take This Course

evelopers wishing to learn how to use ASP.NET to create great web applications will benefit greatly from this course.

Recommended Prerequisites

This course assumes that delegates are familiar with Windows, the Internet and building basic Web sites.

Some prior experience with Visual Studio will be helpful.

Previous experience of development with C#, or first attending our C# Programming class, would be useful.

Training Style

Hands on.

Every student attending a Verhoef Training class will receive a certificate good for $100 toward their next public class taken within a year.

You can also buy "Verhoef Vouchers" to get a discounted rate for a single student in any of our public or web-based classes. Contact your account manager or our sales office for details.