Toll Free: 800-735-7418
Local: 303-377-9333
info@hartmannsoftware.com
 
 

 
ASP.NET USING C#

Course Description  
This course provides a practical, hands-on coverage of developing Web applications using ASP.NET and C#. It also introduces Web services. This five-day course includes extensive coverage of powerful new features in ASP.NET 2.0, such as personalization, Web parts, master pages, themes and skins, and new data binding. The course includes three chapters that introduce new features in ASP.NET 2.0, including a capable new development environment, Visual Web Developer, that is part of Visual Studio 2005. ASP.NET 2.0 is much easier to use than its predecessor.

Course Length: 5 Days
Course Tuition: $1890 (US)
Prerequisites
A working knowledge of C#. Previous experience with ASP is desirable, but not essential. Previous exposure to ADO.NET would be helpful.
Course Outline  


• Introduction to ASP.NET
Web Application Fundamentals
Creating a Virtual Directory
From ASP to ASP.NET
Limitations of ASP
Benefits of ASP.NET
An Echo Program
ASP.NET Features
Compiled Code
Server Controls
Browser Independence
Separation of Code and Content
State Management

• Web Forms Architecture
Web Forms Architecture
HelloCodebehind.aspx
HelloCodebehind.aspx.cs
Page Class
Inheriting from Page Class
Web Forms Life Cycle
View State
Web Forms Event Model
Page Processing
Page Events
Page Properties
Page Directive
Tracing
Code-Behind in ASP.NET 2.0
ASP.NET 2.0 Code-Behind Page

• ASP.NET and HTTP
Classical Web Programming
Active Server Pages Object Model
Request/Response Objects
HTML Code
ASP Code
Request/Response in ASP.NET
HttpRequest Class
Properties of HttpRequest
Using HttpRequest Class
HTTP Collections
HttpResponse Class
Redirect
HttpUtility
Echo Program in ASP.NET
Echo.aspx
EchoBack.aspx
GET and POST Compared
QueryString and Forms Collections

• Web Applications Using Visual Studio
Using Visual Studio
Visual Web Developer
Using Components in ASP.NET 2.0
Compilation Error
Shadow Copying
Temporary Copy of the Component
ASP.NET Applications
Sessions
Global.asax
Log Class
StringStore Class
Data Binding
Session Data
Sessions Using IIS
Absolute Positioning
Adding Global.asax File

• State Management and Web Applications
Session and Application State
Session Object
Page_Load
Session Variable Issues
Session State and Cookies
Session State Timeout
Session State Store
Application State
Implementing Application State
Global.asax
Users.aspx.cs
Multithreading Issues
Bouncing the Web Server
Cookies
Cookies and ASP.NET
HttpCookie Properties
Acme Travel Agency Case Study

• Server Controls
Server Controls in ASP.NET
HTML Server Controls
Using HTML Server Controls
HTML vs. Web Forms Server Control
Code for Login
HTML Controls in Visual Studio
Using HTML Controls
Web Controls
Validation Controls
Required Field Validation
Regular Expression Validation
Rich Controls
Copying a Web Site
User Controls
Using a User Control
Copyright.ascx
Copyright.ascx.cs

• Caching in ASP.NET
What Is Caching?
Need for Caching (Why Cache?)
Data to be Cached - Time Frame
ASP vs. ASP.NET Response Model
Caching in ASP.NET
Three Types of Caching in ASP.NET
Output Caching
@ OutputCache Directive
@ OutputCache - Attributes in Detail
VaryByParam in Detail
HttpCachePolicy Class
Page Fragment Caching
Common Mistakes in Using Fragment Caching
Data Caching or Application Caching
Add an Item to the Cache Object
Insert and Add Methods
Expiration
Problems in Caching

• ASP.NET Configuration and Security
One-minute Introduction to XML!
ASP.NET Configuration - Overview
Multi-level Configuration
Configuration Hierarchy
Web.Config File Structure
Web.Config Sections
Application Settings
ASP.NET Security - Overview
Role-Based Security and CAS
Types and Steps
Steps in Enabling Role-Based Security
Three Ways to Authenticate
Forms Authentication - Default.aspx
Forms Authentication - Web.Config
Features of Forms Authentication
Forms Authentication Classes
Customizing Forms Authentication
Authentication Source
Windows Authentication
Passport Authentication
Authorization

• Debugging, Diagnostics and Error Handling
ASP.NET Diagnostics
Debugging Using Visual Studio
Debugging Calculator
Application-Level Tracing
Tracing Calculator
Using the Page Cache
An ASP.NET Page Without Visual Studio
Attaching to VS Debugger
Preparing to Debug
Trace Messages
Tracing the Calculator Page
Conditional Tracing
Trace Category
Trace Warning
Exceptions in Trace
Errors in ASP.NET
Uncaught Exception
Custom Error Pages

• More Server Controls
ASP.NET 2.0 Control Improvements
New Controls in ASP.NET 2.0
Master Pages
Using a Menu Control
Creating Content Pages
TreeView Control
Master Page Application
Visual Studio 2005 Solutions

• Data Access in ASP.NET 2.0
Data Access in ASP.NET 2.0
Creating a Connection
Using Database Explorer
Performing Queries
SQL Generation Options
Enable Edit and Delete
Editing Records
GridView Control
DetailsView Control
Storing the Connection String
Protecting the Configuration String
FormView Control
Master/Detail Web Pages
Data Binding
Template Editing
Using XML Data
Multiple-Tier Data Access
Object Data Source

• Personalization and Security in ASP.NET 2.0
Themes
Control Skins
Applying Themes
Security in ASP.NET 2.0
ASP.NET Membership
Login Controls
Web Site Administration Tool
Access Rules
Profile Properties
Using ASP.NET Profile Properties
Web Parts
Web Parts Control Set
UI Structural Components

• HTTP Pipeline
Web Applications
ASP.NET Request Processing
ASP.NET Architecture with IIS 5.0
Pipeline Processing
Pipeline Architecture
Customizing the HTTP Pipeline
Customizing Applications
Customizing a Welcome Application
Logger Class
Custom Handlers
IHttpHandler Interface
Custom Handler Configuration
Entry in Configuration File
Extension Mapping in IIS
.ashx Files
string.ashx
Custom Modules
Using DemoModule

• Database Programming Using ADO.NET
ADO.NET
ADO.NET Architecture
.NET Data Providers
Programming with ADO.NET Interfaces
.NET Namespaces
Connected Data Access
ADO.NET Class Libraries
Using Commands
Creating a Command Object
ExecuteNonQuery
Using a DataReader
Data Bound Controls
DataGrid in Visual Studio 2005
Binding a DataReader to a DataGrid
Disconnected Datasets
Data Adapters
Command Builder
Main Program
Creating a Data Adapter and Generating Commands
Filling the Dataset
Displaying the Data Set
Adding a Row to the Data Set
Deleting a Row
Changing a Row
Updating the Database
Creating A Dataset Manually
Using XML Data
XML Schema and Data
Using XML with a DataSet

• Introduction to Web Services
ASP.NET and Web Services
Industry Standards
Web Services and Remoting
XML
XML Namespaces
Uniform Resource Identifier
XML Schema
SOAP
WSDL
Web Services Architecture
HTTP GET Web Service
Client IE Web Form
SOAP Web Service
SOAP Description
Viewing WSDL
Anonymous Access
WS-I Basic Profile 1.0
Providing a Namespace

• Appendix A - Learning Resources

• Appendix B - Configuring IIS for ASP.NET 2.0
ASP.NET Versions Side-by-Side
Configuring for ASP.NET 2.0
Installing ASP.NET

Contact us for course schedules or more information.
 

Registration and Pricing
The Virtual Classroom
Mentoring Services


Fresh Off The Press MySQL Admin/Dev
Sharepoint for Developers
Advanced XML
Securing Java Web Services
Exploring Design Patterns
Fast Track to Java EE
Ajax using C# (VS 2008) Oracle 11G New Features Complete LINQ