4240. ASP.NET Using Visual
Basic
Rev. 3.1
This five-day course provides a comprehensive and practical hands-on
introduction to developing Web applications using ASP.NET 3.5 and Visual Basic.
It includes an introduction to using ASP.NET AJAX to build rich client
applications. ASP.NET is introduced as a 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 2008 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. There is an introduction to caching in ASP.NET, which provides
an effective mechanism for optimizing the performance of your ASP.NET
application. The fundamentals of configuration and security are introduced. Diagnostics
and debugging are covered, including the use of tracing.
Additional server controls are introduced, including menus and
master pages. Data access is covered in some detail in two chapters, including
an introduction to ADO.NET, Language Integrated Query (LINQ), and the powerful
data access controls provided by ASP.NET 3.5. There is further discussion of
security using membership and roles, and personalization features such as
themes, skins and Web parts are introduced. This section of the course is tied
together by a progressive case study illustrating a Web site for a publishing
company.
The final section of the course introduces rich client-side
development with ASP.NET AJAX and covers the architecture and programming of
the HTTP pipeline.
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 2008
·
Optimize an ASP.NET Web application using
configuration, security, and caching
·
Access databases using ADO.NET and LINQ
·
Use new features in ASP.NET 2.0 and 3.5
·
Implement rich client applications using ASP.NET
AJAX
·
Customize Web applications through the use of
HTTP handlers and modules
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 Visual Basic and the .NET Framework. Knowledge of JavaScript
recommended for the last chapter.
1.
Introduction to ASP.NET
From ASP to ASP.NET
Web Forms
Web Services
ASP.NET Features
ASP.NET 2.0
ASP.NET 3.5
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.
Caching in ASP.NET
What Is Caching
Page-Level Caching
Page Fragment Caching
Optimizing Your ASP.NET Application
Application Caching
8.
ASP.NET Configuration and Security Fundamentals
Configuration Overview
Authentication and Authorization
Forms Authentication
Windows Authentication
Security and ASP.NET
9.
Debugging, Diagnostics and Error Handling
Debugging
Application Tracing
Page Tracing
Error Handling
10. More
Server Controls
New ASP.NET 2.0 Controls
Menus
Master Pages
11. ADO.NET
and LINQ
ADO.NET Overview
.NET Data Providers
Connections
Commands
DataReaders and Connected Access
Data Sets and Disconnected Access
Language Integrated Query
12. Data
Access in ASP.NET 3.5
Data Source Controls
Connection String Storage
GridView
DetailsView
FormView
Object Data Sources
ListView
DataPager
LinqDataSourece
13. Personalization
and Security
Configuration Overview
Themes
Skins
Security in ASP.NET 2.0
Membership and Roles
Login Controls
User Profiles
14. Introduction
to ASP.NET AJAX
Rich Client Applications
AJAX
ScriptManager
UpdatePanel
AJAX
Client Library
Remote Method Calls
AJAX
Control Toolkit
15. HTTP
Pipeline
Pipeline Architecture
Context
Applications
Handlers
Modules
Appendix A. Learning Resources
Appendix B. Configuring IIS for ASP.NET 3.5
System Requirements
Required software is Visual Studio 2008, Standard Edition or higher,
and SQL Server. Either SQL Server 2005 Express Edition (bundled with Visual
Studio 2008) or SQL Server 2008 Express Edition (a free download from
Microsoft) may be used. The recommended operating system is Windows XP with at
least Service Pack 2. Internet Information Services should be installed. Service
Pack 1 for Visual Studio 2008 may be installed, but it is not required. See the
course Setup Notes for details.
A good minimal hardware profile for this course would have a 2 GHz
or better CPU, 512 MB of RAM, and at least 4 GB of free disk space for tools
installation and courseware. The installation of Visual Studio 2008 Service
Pack 1 requires 5.5 GB of free disk space on the partition on which the
operating system is installed.