You are previewing Special Edition Using® Microsoft® ASP.NET.
O'Reilly logo
Special Edition Using® Microsoft® ASP.NET

Book Description

Though ASP has been used for years in Web development, the new version provides users with better and faster operability. Because ASP guru Richard Leinecker has written this book the information will be immediately applicable. Special Edition Using ASP.NET will also serve as a comprehensive reference to both experienced and new developers. This book provides real-world examples and troubleshooting with tips on how to integrate the technology with the other programs of Visual Studio.NET and content developed in previous versions of ASP.

Table of Contents

  1. Copyright
  2. About the Authors
  3. Acknowledgments
  4. Tell Us What You Think!
  5. Introduction
  6. Fundamentals
    1. .NET, ASP.NET, and Distributed Application Development
      1. The .NET Framework
      2. Active Server Pages
      3. Distributed Application Architecture: Architecture and Design
      4. Summary
    2. ASP.NET Languages
      1. Variables
      2. Expressions
      3. Program Control
      4. Exceptions
      5. Summary
    3. Request Objects
      1. Forms
      2. QueryString
      3. ServerVariables
      4. Cookies
      5. Other Request Objects
      6. Summary
    4. Response, Application, and Session Objects
      1. Write
      2. Redirect
      3. Cookies
      4. WriteFile
      5. The Application Object
      6. The Session Object
      7. Summary
    5. File Input/Output in ASP.NET
      1. Directory
      2. The File and StreamReader Classes
      3. The File and StreamWriter Classes
      4. StringReader, StringBuilder, and StringWriter
      5. FileStream, BinaryReader, and BinaryWriter
      6. Summary
    6. ASP.NET Controls
      1. Intrinsic Controls
      2. List Controls
      3. Rich Controls
      4. Validation Controls
      5. Summary
    7. Application Framework and Configuration
      1. Application Configuration
      2. GLOBAL.ASAX
      3. Programmatically Setting Region and Locale
      4. Summary
  7. Working with Data in ASP.NET
    1. XML in ASP.NET
      1. .NET XML Architecture
      2. XmlTextReader
      3. XmlTextWriter
      4. XmlDocument and XmlNavigator
      5. XslTransform
      6. Writing a Guest Book Application
      7. Summary
    2. ADO.NET in ASP.NET
      1. Overview
      2. ADO.NET Name Spaces
      3. Managed Providers
      4. The DataSet Object
      5. Error Handling
      6. Database Transactions
      7. Concurrent Database Access
      8. ADO.NET Performance
      9. Summary
    3. Data Bound Controls
      1. Repeater Control
      2. DataList Control
      3. DataGrid Control
      4. The DrugHistory Application
      5. Summary
    4. WebForms
      1. Classic HTML and Server-Side Controls
      2. HTML Controls
      3. Web Controls
      4. Intrinsic Web Controls
      5. Buttons and Links
      6. WebForm Examples
      7. Summary
    5. Web Form Data Validation
      1. Introduction to Data Validation in ASP.NET
      2. ASP.NET Validation Controls
      3. Regular Expressions Primer
      4. Summary
  8. Advanced Items
    1. Writing Controls for ASP.NET
      1. Getting Started: Creating SimpleControl
      2. Using Controls from the Toolbox
      3. Adding Properties and Methods to Your Control
      4. Creating and Using Composite Controls
      5. Summary
    2. Web Services
      1. What Is a Web Service?
      2. Writing a Web Service
      3. A Health Tip Web Service
      4. A Credit Card Validator Service
      5. Consuming a Web Service
      6. Summary
    3. ASP.NET E-Mail Control
      1. Creating E-Mail Messages
      2. Using the MailMessage Object
      3. Adding E-Mail Attachments
      4. Setting the E-Mail Format
      5. Setting E-Mail Priority
      6. Setting E-Mail Encodings for the E-Mail Body and Attachments
      7. Summary
    4. Dynamic Images
      1. Getting Started with Dynamic Images in ASP.NET
      2. Creating Banners Dynamically with Tiled Backgrounds
      3. Image Processing
      4. Summary
    5. State Management
      1. Using Application and Session Variables
      2. Hidden Fields
      3. Synchronization
      4. Global.asax
      5. Session information
      6. Demo Application
      7. Summary
    6. Security
      1. Web Security Overview
      2. Server Authentication
      3. Client Authentication
      4. ASP.NET Security
      5. ASP.NET Impersonation
      6. Summary
  9. Expert Items
    1. Windows Management Instrumentation from ASP.NET
      1. Instrumenting .NET Applications
      2. Authenticating WMI Requests
      3. Enumerating Objects
      4. Summary
    2. Writing for Mobile Devices
      1. Mobile Markup
      2. Mobile Internet Toolkit
      3. Device Emulators
      4. Mobile Web Forms
      5. Mobile Controls
      6. Extending Mobile Controls
      7. Summary
    3. Performance and Caching
      1. CLR-Level Optimization
      2. Recovering from Memory Leaks and Deadlocks
      3. Caching
      4. Tips and Tricks
      5. Summary
    4. Debugging
      1. Trace Messages
      2. Debugging
      3. Debugging Tips
      4. Summary
    5. Message Queueing
      1. Message Queues and Messaging Basics
      2. MessageQueue Programming Architecture
      3. Creating, Deleting, Purging, Creating Instances Of, and Administering Queues
      4. Sending and Serializing Messages
      5. Reading and Receiving Messages
      6. Queue and Message Collections
      7. Message Queue Security
      8. Summary
    6. Transactions
      1. Transactions Defined
      2. Transaction Management
      3. The COM+ Transaction Programming Model
      4. Monitoring Transactions
      5. Design Considerations
      6. Summary
  10. Miscellaneous Items
    1. HttpModules
      1. HttpModule Fundamentals
      2. Writing an HttpModule
      3. HttpApplication Events
      4. HttpModules and Global.aspx
      5. ASP.NET HttpModules
      6. Implementing HttpModule Events
      7. Sample HttpModule
      8. Summary
    2. Network Communications
      1. Using the Dns Class
      2. Using the WebClient Class
      3. Using the WebRequest and WebResponse Classes
      4. Using the WebProxy Class
      5. NTLM Authentication
      6. SSL Communication
      7. Posting Data
      8. System.Net Errors
      9. Summary
    3. ASP to ASP.NET
      1. Coexistence
      2. Porting Versus Rewriting
      3. Language Changes
      4. ASP Architecture Changes
      5. COM Concerns
      6. Migration Tips
      7. Summary
  11. Index