4140. ASP.NET Using C#
Rev. 4.0.1
This five-day course provides a comprehensive and practical hands-on
introduction to developing Web applications using ASP.NET 4.0 and C#. It
includes an introduction to ASP.NET MVC, a new Web programming framework that
incorporates use of the Model-View-Controller (MVC) pattern. It also includes coverage
of using ASP.NET AJAX to build rich client applications.
The fundamentals of Web applications are reviewed, and a testbed is
established for ASP.NET and Internet Information
Services. The architecture of ASP.NET is outlined, including the role of
compilation, the Page class and code-behind. Web Forms are introduced,
including server controls, view state, life cycle, and the event model.
Request/response HTTP programming using ASP.NET is covered.
Visual Studio 2010 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 4.0. 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 use of the ASP.NET MVC framework. An appendix
covers customizing the HTTP pipeline through the Application class, HTTP
handlers, and HTTP modules.
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 2010
·
Optimize an ASP.NET Web application using
configuration, security, and caching
·
Access databases using ADO.NET and LINQ
·
Use newer features in ASP.NET
·
Implement rich client applications using ASP.NET
AJAX
·
Create Web applications using the
Model-View-Controller design pattern
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. Knowledge of JavaScript is recommended
for the AJAX
chapter.
1.
Introduction to ASP.NET
Web Application Fundamentals
Using Internet Information
Services
Web Forms
ASP.NET MVC
Web Services
ASP.NET Features
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
Newer ASP.NET 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 4.0
Data Source Controls
Connection String Storage
GridView
DetailsView
FormView
Object Data Sources
ListView
DataPager
Entity Data Model
EntityDataSource
LinqDataSource
QueryExtender
13. Personalization
and Security
Configuration Overview
Themes
Skins
Security in ASP.NET 4.0
Membership and Roles
Login Controls
User Profiles
14. ASP.NET
AJAX
Rich Client Applications
AJAX
ScriptManager
UpdatePanel
AJAX
Client Library
Remote Method Calls
AJAX
Control Toolkit
15. ASP.NET
MVC
Model-View-Controller Pattern
What is ASP.NET MVC?
ASP.NET MVC versus Web Forms
ASP.NET MVC Projects in Visual Studio
Controllers
Action Methods and Routing
Views
Strongly-Typed Views
Model Binding
Validation
Appendix A. Learning Resources
Appendix
B. HTTP Pipeline
Customizing the HTTP Pipeline
Applications
Handlers
Modules
System Requirements
Required software is Visual Studio 2010, Professional Edition or
higher, and SQL Server 2008 Express Edition (bundled with Visual Studio 2010). The
operating system may be Windows XP, Windows Vista or Windows 7. Internet Information Services should be installed. See the
course Setup Notes for details.
A good minimal hardware profile for this course would have a 2 GHz
or better CPU, 1 GB of RAM, and at least 4 GB of free disk space for tools
installation and courseware.