Microsoft庐 ASP.NET 2.0 Step by Step
Copyright
Companion Content
Introduction
The Road to ASP.NET 2.0
Classic ASP
ASP.NET 1.0 and 1.1
ASP.NET 2.0
A Word About the .NET Runtime
Using This Book
Who Is This Book For?
Organization of This Book
Getting Started
Finding Your Best Starting Point in This Book
Conventions and Features in This Book
System Requirements
Using Microsoft Access
Code Samples
Prerelease Software
Online Companion Content
Support for This Book
Chapter 1: Web Application Basics
HTTP Requests
HyperText Markup Language (HTML)
Dynamic Content
Internet Information Services
Classic ASP
Web Development Issues
ASP.NET
Chapter 1 Quick Reference
Chapter 2: ASP.NET Application Fundamentals
The Canonical Hello World Application
The ASP.NET Compilation Model
Coding Options
The ASP.NET Pipeline
Visual Studio and ASP.NET
Conclusion
Chapter 2 Quick Reference
Chapter 3: The Page Rendering Model
Rendering Controls as Tags
Packaging UI as Components
Adding Controls Using Visual Studio
Conclusion
Chapter 3 Quick Reference
Chapter 4: Custom Rendered Controls
The Control Class
Visual Studio and Custom Controls
A Palindrome Checker
Controls and Events
HtmlTextWriter and Controls
Controls and View State
Conclusion
Chapter 4 Quick Reference
Chapter 5: Composite Controls
Composite Controls versus Rendered Controls
Custom Composite Controls
User Controls
When to Use Each Type of Control
Conclusion
Chapter 5 Quick Reference
Chapter 6: Control Potpourri
Validation
TreeView
MultiView
Conclusion
Chapter 6 Quick Reference
Chapter 7: Web Parts
A Brief History of Web Parts
What Good Are Web Parts?
The Web Parts Architecture
Developing a Web Part
Conclusion
Chapter 7 Quick Reference
Chapter 8: A Common Look and Feel
A Common Look and Feel
ASP.NET 2.0 Master Pages
Themes
Skins
Conclusion
Chapter 8 Quick Reference
Chapter 9: Configuration
Windows Configuration
.NET Configuration
ASP.NET MMC Snap-in
Conclusion
Chapter 9 Quick Reference
Chapter 10: Logging In
Web-Based Security
Basic Forms Authentication
ASP.NET Authentication Services
Managing Users
ASP.NET Login Controls
Authorizing Users
Conclusion
Chapter 10 Quick Reference
Chapter 11: Databinding
Representing Collections without Databinding
Representing Collections with Databinding
Simple Databinding
Accessing Databases
The .NET Database Story
ASP.NET Data Sources
Other Databound Controls
Conclusion
Chapter 11 Quick Reference
Chapter 12: Personalization
Personalizing Web Visits
Personalization in ASP.NET
Using Personalization
Conclusion
Chapter 12 Quick Reference
Chapter 13: Session State
Why Session State?
ASP.NET and Session State
Getting a Taste of Session State
Session State and More Complex Data
Configuring Session State
Tracking Session State
Other Session Configuration Settings
The Wizard Control: Alternative to Session State
Conclusion
Chapter 13 Quick Reference
Chapter 14: Application Data Caching
Using the Data Cache
Managing the Cache
Conclusion
Chapter 14 Quick Reference
Chapter 15: Caching Output
Caching Content
Managing Cached Content
Caching User Controls
When Output Caching Makes Sense
Conclusion
Chapter 15 Quick Reference
Chapter 16: Diagnostics and Debugging
Page Tracing
Application Tracing
Debugging with Visual Studio
Error Pages
Unhandled Exceptions
Conclusion
Chapter 16 Quick Reference
Chapter 17: The Application and HTTP Modules
The Application: A Rendezvous Point
Overriding HttpApplication
HttpModules
Global.asax versus HttpModules
Conclusion
Chapter 17 Quick Reference
Chapter 18: Custom Handlers
Handlers
Built-in Handlers
IHttpHandler
Implementing IHttpHandler
Handlers and Session State
Generic Handlers (ASHX Files)
Conclusion
Chapter 18 Quick Reference
Chapter 19: Web Services
Remoting
Remoting Over the Web
If You Couldn't Use ASP.NET…
A Web Service in ASP.NET
Consuming Web Services
Asynchronous Execution
Web Services in Visual Basic
What Good Are Web Services?
Other Features
Conclusion
Chapter 19 Quick Reference
Chapter 20: Managing and Deploying Web Applications
Visual Studio Projects
Precompiling
Conclusion
Chapter 20 Quick Reference
About the Author