ASP.NET 3.5
Course Outline

DURATION 3 Days
PREREQUISITES Students are expected to have experience of either C# or VB.Net. Those who do not may want to consider the C# or VB.NET courses. Some understanding of HTML will also be an advantage and delegates without this knowledge are encouraged to self-study in this area prior to the course.
DESCRIPTION

This course introduces delegates to ASP.NET, the web application framework that developers can use to build dynamic, data-driven web applications.

Delegates learn how to build web forms, to add controls, validation and security, to manage state and to interact with datasources (RDBMS, XML and text files). They will also learn how to make use of Master Pages to provide a consistent look and feel to their applications and how to use the Web.config file to configure their applications.

The course is suitable for both C# and VB.NET developers - please specify which language you would prefer your course materials to be in at the time you book.

This course covers both ASP.NET 2.0 and the new features introduced in ASP.NET 3.5.

COURSE DATES Click here to request an alternate date
Or call us on 020 313 73958 from 8:00 to 22:00 Monday to Sunday.

Weekday Wed, 13-Oct-10 - Fri, 20-Aug-10 09:30 - 16:30 £749
Weekday Wed, 24-Nov-10 - Fri, 26-Nov-10 09:30 - 16:30 £749
Weekday Wed, 8-Dec-10 - Fri, 20-Aug-10 09:30 - 16:30 £749
Any One-to-One Tuition
Any Date - Fully Customisable
09:30 - 16:30 £400

 

 

 

INTRODUCTION

  • Databases and SQL
  • Types of databases
  • Common applications of databases
  • Popular Databases
  • What is SQL?
  • Subsets of SQL

Introduction to ASP.NET

  • A Review of Classic ASP
  • Dynamically Creating Web Pages
  • ASP Shortcomings
  • ASP.NET to the Rescue
  • ASP.NET Web Applications
  • Creating a New Web Application
  • Rendering HTML with Server Controls
  • Types of Server Controls
  • Using HTML Controls
  • Using ASP.NET Web Server Controls
  • Data Binding in ASP.NET 2.0
  • Web Development in Visual Studio
  • Code Behind vs. Inline Code
  • Web Sites and Applications
  • ASP.NET Development Server
  • Multi-Targeting Support

Working with Controls

  • Introduction to Web Controls
  • The WebControl Class
  • The Label Control
  • Simple Input Controls
  • TextBox Controls
  • CheckBox Controls
  • RadioButton Controls
  • HyperLink and Button Controls
  • Postback Behavior
  • HyperLink Controls
  • Button Controls
  • Displaying Images
  • Using the ImageMap Control
  • List Controls
  • The Sample Page
  • Adding Items to Lists
  • Adding Items Programmatically
  • Handling Selections and Postbacks
  • Clearing Selected Items
  • Removing Items
  • Controlling Focus
  • Setting Form Defaults
  • Calling the Focus() Method
  • Using TabIndex and AccessKey
  • Overriding Default Button Settings with Panel Controls

Accessing Data

  • Overview of ADO.NET
  • ADO.NET Classes
  • The ADO.NET Architecture
  • Creating ADO.NET Data Objects
  • The DataTable Object
  • Connecting to Data
  • Setting up Connection Information
  • Using the Connection Object
  • Executing Commands
  • Using a SqlDataReader
  • Working with Data
  • Working with Data Using a Data Adapter
  • Managing Data with the DataSet Object
  • Filling a DataTable within a DataSet
  • Filling DataSets from SQL Server
  • Choosing an ADO.NET Provider
  • The SQL Server .NET Data Provider
  • The OLE DB .NET Data Provider
  • The ODBC Data Provider
  • Writing Code for Multiple Providers

Configuration

  • Configuration Overview
  • Navigating the Configuration File Hierarchy
  • Configuration File Elements
  • ASP.NET Configuration Tools
  • Configuring Security Features
  • Using the Web Site Administration Tool
  • The Web Site Administration Tool Graphical User Interface
  • Using the Web Site Administration Tool to Create a Custom Error Page
  • Programming Configuration Files
  • The Configuration APIs
  • Storing and Retrieving Connection Strings
  • Writing to Configuration Files
  • Using External Configuration Files
  • Encrypting Configuration Sections
  • Protected Configuration Providers
  • Encrypting the connectionStrings Section in web.config
  • Encrypting External Configuration Files
  • Moving Encrypted Configuration Files

Data Binding

  • Introducing Data Source Controls
  • Introducing Data-Bound Controls
  • Reading and Write Data Using the SqlDataSource Control
  • Bind a DropDownList Control
  • Display Product Information in a DetailsView Control
  • Filter Data Based on the DropDownList Value
  • Data Source Control Events
  • Should You Use the SqlDataSource Control?
  • Displaying and Editing Middle-Tier Data using the ObjectDataSource Control
  • Displaying XML Data Using the XmlDataSource Control
  • Configuring the XmlDataSource Control
  • Add the FormView Control
Validating User Input
  • Overview of ASP.NET Validation Controls
  • The Validation Controls
  • Using the Simple Validators
  • Using the RequiredFieldValidator
  • Using a RangeValidator to Ensure that Data Falls within a Specified Range
  • Using a CompareValidator to Compare Values
  • Using the Complex Validators
  • Validate General Text with the RegularExpressionValidator
  • Create Your Own Validation Using the CustomValidator Control
  • Summarizing Results with the ValidationSummary Control
  • Display Modes for the ValidationSummary Control
  • Separating Validation into Validation Groups]

Themes and Master Pages

  • Creating a Consistent Web Site
  • ASP.NET 2.0 Themes
  • Working with Themes, Folders, and Skins
  • Applying a Theme
  • Creating a Theme
  • Working with Themes
  • Creating Named Skins
  • More Issues with Themes
  • Master Pages
  • Creating a Master Page
  • Creating a Content Page
  • Converting a Standard Page to a Content Page
  • Adding Default Content
  • Practical Master Pages
  • Creating Nested Master Pages

Displaying Data with the GridView Control

  • Introducing the GridView Control
  • Displaying Data with the GridView Control
  • Filter Data in the GridView Control
  • Create the DropDownList of Countries
  • Filter the Data Based on the Selected Country
  • Allow Users to Select from a DropDownList in the Grid
  • Introducing Templates
  • Convert the Country Filed into a Template
  • Add a Hyperlink to the Grid
  • Create the CustomerOrders Page
  • Create the Hyperlink
  • Deleting a Row and Handling Errors
  • Add the Delete Link
  • Add the Client-Side Alert
  • Add Event-Handling Code
  • What’s Left?

Managing State

  • Preserving State in Web Applications
  • Methods of Preserving State
  • Page-Level State
  • Enabling Dynamic Page Modifications
  • View State and Page Lifecycle
  • Enabling Change Events
  • Understanding View State
  • When to Disable View State
  • The Limitations of Page-Level State
  • Using Cookies to Preserve State
  • Working with Cookies in ASP.NET Code
  • Limitations of Using Cookies
  • ASP.NET Session State
  • Problems in Classic ASP
  • The Session Object
  • Storing Objects in Session State
  • Storing ADO.NET Objects in Session
  • Session State Object Storage
  • Configuring Session State
  • Editing Configuration Files
  • Session State Options
  • Setting Up an Out-of-Process State Server
  • Ensuring that Your Data is Serializable
  • Testing StateServer Session State
  • Storing Session State in SQL Server
  • Configuring SQL Server Session State
  • Testing SQL Server Session State
  • Using Cookieless Session IDs
  • Application State
  • Limitations of Application State

Managing Users with ASP.NET's Membership Features

  • Introduction to Membership and Roles
  • Introducing Membership Management in ASP.NET
  • Introducing Role Management
  • The Security Services Stack
  • Data Has to Go Somewhere
  • Configuring Members and Roles
  • Modifying Provider Behavior
  • Working with Roles
  • Authentication and Cookies
  • Using Membership Controls
  • LoginStatus Control
  • Login Control
  • LoginView Control
  • LoginName Control
  • ChangePassword Control
  • PasswordRecovery Control
  • CreateUserWizard Control
  • Writing Code to Interact with Membership and Roles
  • The Membership and MembershipUsers Classes
  • The Roles Class
  • Creating Custom Providers
  • Setting up the XML Provider

Server-Side Debugging

  • Server-Side Code Debugging in ASP.NET
  • Using the Visual Debugger
  • Configuring Debugging
  • Setting Breakpoints
  • Stepping Through Code
  • Debugging Exceptions and Handling Errors
  • The Exception Assistant
  • Redirecting Users
  • Debugging Stored Procedures
  • Creating a Database Project
  • Working with Data Connections
  • Debugging Stored Procedures

 

 

 




Home | Contact | Terms and Conditions