O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

ASP.NET by Example

Book Description

ASP developers need to understand how ASP.NET can help them solve business problems better than any prior product. ASP.NET by Example is designed to provide a "crash course" on ASP.NET and quickly help the reader start using this new technology. As part of the By Example series, this book approaches ASP.NET in an easy-to-use tutorial way, giving the reader a much faster and more interactive learning experience than the traditional reference book. By building the sample applications taught in the book, readers will learn how to create custom ASP.NET controls, how to use ADO+ objects in ASP, and how to deploy and manage applications. ASP.NET by Example also provides tools and information needed to migrate old ASP files to the new platform, saving developers significant time and money. As an added feature Steven A. Smith has included multiple case studies on how ASP.NET is used in e-commerce applications.

Table of Contents

  1. Copyright
  2. About the Authors
  3. Acknowledgments
  4. Tell Us What You Think!
  5. Introduction
  6. .NET Overview
    1. The Big .NET Picture
    2. The .NET Framework
    3. Summary
    4. What's Next?
  7. An Introduction To ASP.NET
    1. Moving to .NET
    2. A Brief History of ASP
    3. Why ASP Developers Need This Book
    4. Benefits of ASP.NET over ASP
    5. Summary
    6. What's Next
  8. Migrating From ASP to ASP.NET
    1. Preparing to Use ASP.NET
    2. Basic Differences Between ASP and ASP.NET
    3. Common ASP Tasks and Their ASP.NET Equivalents
    4. Summary
    5. What's Next?
  9. The New ADO—ADO.NET
    1. ADO vs. ADO.NET
    2. Connecting to the Database
    3. Retrieving Data
    4. Data Controls
    5. Working with XML
    6. Summary
    7. What's Next?
  10. HTML/Web Controls
    1. What Are Server Controls, Anyway?
    2. HtmlControls
    3. WebControls
    4. Populating ListBoxes
    5. Summary
    6. What's Next?
  11. Using ASP.NET List Controls
    1. The ListControl Class
    2. Working with the Items Collection
    3. Databinding and List Controls
    4. Changing the Layout of List Controls
    5. Summary
    6. What's Next?
  12. Using ASP.NET Rich Controls
    1. Introduction to Rich Controls
    2. Introduction to the Calendar Control
    3. Using CSS to Control Calendar Display
    4. Summary
    5. What's Next?
  13. Using ASP.NET Validation Controls
    1. Validating HTML Forms
    2. What Are Validation Controls?
    3. Client-Side Validation
    4. Inserting a Validation Control
    5. RequiredFieldValidator Control
    6. RangeValidator Control
    7. CompareValidator Control
    8. RegularExpressionValidator Control
    9. CustomValidator Control
    10. ValidationSummary Control
    11. Bringing It All Together
    12. One Step Beyond: VControls
    13. Summary
    14. What's Next?
  14. Using ASP.NET User Controls
    1. Introduction to User Controls
    2. Creating ASP.NET User Controls
    3. Summary
    4. What's Next?
  15. ASP.NET Applications
    1. HTTP Basics
    2. Configuring Your Application
    3. Building a Simple Authentication Application
    4. Deploying your ASP.NET Application
    5. Summary
    6. What's Next?
  16. ASP.NET and Web Services
    1. Distributed Computing: Many Things to Many People
    2. Writing Web Services
    3. Advanced Topics
    4. Programming Web Services with Microsoft Visual Studio .NET
    5. Summary
    6. What's Next?
  17. Custom ASP.NET Server Controls
    1. Custom Controls Defined
    2. Custom Controls Versus User Controls
    3. Third-Party Custom Controls
    4. Creating a Custom Control of Our Own
    5. Building On Existing Controls
    6. Creating Composite Controls
    7. Handling Control Events
    8. Handling PostBacks
    9. Using Templates
    10. Raising Events
    11. Databinding
    12. Building Components
    13. Summary
    14. What's Next?
  18. Debugging ASP.NET Overview
    1. ASP.NET Debugging Features
    2. Implementing Tracing
    3. System.Diagnostics Tools
    4. Visual Studio.NET
    5. Frequently Encountered Bugs
    6. Summary
    7. What's Next
  19. Case Study: E-commerce with ASP.NET
    1. Building a Web Store—IBuySpy.com
    2. IBuySpy Store Design
    3. Summary
    4. What's Next
  20. ASP.NET Syntax
    1. File Structure
    2. Forms
    3. Dealing with Data
    4. Using Controls
    5. Debugging
  21. ADO.NET Object Model
    1. System.Data Namespace
    2. System.Data.OleDb Namespace
    3. System.Data.SqlClient Namespace
  22. Visual Basic.NET Language Reference
    1. Changes from Previous Versions of VB
    2. New Features in VB.NET
    3. Getting Started
    4. Variables
    5. Parameters
    6. Expressions and Operators
    7. Statements
    8. Types
    9. Component-Based Features
  23. C# Language Reference
    1. Getting Started
    2. Variables
    3. Parameters
    4. Memory Management
    5. Operators and Expressions
    6. Statements
    7. Types
    8. Component-Based Features