CS21. Web Clients Using C#
and ASP.NET
Rev. 2.1
This five-day course provides a comprehensive and practical hands-on
introduction to developing Web applications using ASP.NET 2.0 and C#. The
course consists of two modules. The first module thoroughly covers the
fundamentals of ASP.NET. The second covers powerful new features in ASP.NET 2.0.
For students pursuing MCTS certification, the course provides
helpful preparation for Exam 70-528: Microsoft .NET Framework 2.0—Web-Based
Client Development.
ASP.NET is introduced as a new Web programming platform that
overcomes a number of limitations of ASP. Its architecture is outlined,
including the role of compilation, the Page class and code-behind. Web Forms
are introduced, including server controls, viewstate, life cycle, and the event
model. Request/response HTTP programming using ASP.NET is covered.
Visual Studio 2005 is used to greatly simplify the development of
ASP.NET Web applications, including facilitating UI design. ASP.NET Web
applications are covered, including issues of application and session state and
the use of cookies. Server controls represent an important innovation in
ASP.NET and are covered in detail, including validation, rich controls, and user
controls.
Configuration and security are covered. Diagnostics and debugging are
covered, including the use of tracing and performance counters. The use of
ADO.NET for accessing databases is covered.
The course concludes with three chapters introducing new features in
ASP.NET 2.0, such as master pages, new data binding, themes and skins, personalization,
and Web parts.
Numerous programming examples and exercises are provided, including
case studies. The student will receive a comprehensive set of notes and all the
programming examples.
LEARNING OBJECTIVES
·
Gain a thorough understanding of the philosophy
and architecture of Web applications using ASP.NET.
·
Acquire a working knowledge of Web application
development using Web Forms and Visual Studio 2005.
·
Configure and provide security for ASP.NET Web
applications.
·
Access databases using ASP.NET and ADO.NET.
·
Use new features in ASP.NET 2.0.
Course Duration: 5 days
Audience: This course is
designed for experienced application developers and architects responsible for
Web applications in a Microsoft environment.
Prerequisites: The student should have a good working
knowledge of C# and the .NET Framework.
Module 1: ASP.NET
Fundamentals Using C#
1.
Introduction to ASP.NET
From ASP to ASP.NET
Web Forms
Web Services
ASP.NET Features
ASP.NET 2.0
2.
Web Forms Architecture
Page Class
Web Forms Life Cycle
Web Forms Event Model
Code-Behind
3.
ASP.NET and HTTP
Request/Response Programming
HttpRequest Class
HTTP Collections
HttpResponse Class
Redirection
HttpUtility Class
4.
Web Applications Using Visual Studio
Using Visual Web Developer
Visual Studio Forms Designer
Using Components
Shadow Copying
Using the Global.asax File
Data Binding
5.
State Management and Web Applications
Session
State
Application
State
Multithreading Issues
Cookies
6.
Server Controls
HTML Server Controls
Web Forms Server Controls
Rich Controls
Validation Controls
User Controls
7.
ASP.NET Configuration and Security
Configuration Overview
Authentication and Authorization
Forms Authentication
Windows Authentication
Security and ASP.NET
8.
Debugging, Diagnostics and Error Handling
Debugging
Application Tracing
Page Tracing
Error Handling
9.
Database Programming Using ADO.NET
ADO.NET Overview
.NET Data Providers
Using DataReaders
Using DataSets
Data Binding
Interacting with XML Data
Module 2: New Features in
ASP.NET 2.0 Using C#
1.
Fundamentals of ASP.NET 2.0
New Controls
Menus
Master Pages
2.
Data Access in ASP.NET 2.0
Data Source Controls
Connection String Storage
GridView
DetailsView
FormView
XML Support
Object Data Sources
3.
Personalization and Security in ASP.NET 2.0
Themes
Skins
Membership and Roles
Login Controls
User Profiles
Web Parts
System Requirements
The entire course runs using Visual Studio 2005. Alternatively, you
can use both Visual C# 2005 Express Edition and Visual Web Developer 2005
Express Edition. The recommended operating system is Windows XP with Service
Pack 2. Internet Information Services and SQL Server 2005 Express Edition
should be installed. See the appropriate course Setup Guide for details.
A good minimal hardware profile for this course would have a 1 GHz
or better CPU, 256 MB of RAM, and at least 4 GB of free disk space for tools
installation and courseware.