ASP.NET 2.0: A Developer's Notebook

Book description

When ASP.NET hit the street a couple of years ago, it was a real eye-opener. Microsoft's tool for creating dynamic, server side web applications introduced Web Forms, a feature with the same rapid drag and drop convenience enjoyed by Visual Basic developers, along with a method for creating XML-based web services. ASP.NET was more than an upgrade of Active Server Pages it was a quantum leap ahead.Now Microsoft has a new version of ASP.NET as part of its upcoming next generation release of the Visual Studio .NET development platform. ASP.NET 2.0 is already available in beta release, and web developers are anxious to get a good look at it. That's exactly what our new Developer's Notebook allows you to do.More than just an introduction to ASP.NET 2.0, this practical guide acquaints you with all of the new features through nearly 50 hands-on projects. Each one places emphasis on changes in the new release that can increase productivity, simplify programming tasks, and help you add functionality to your applications. For example, ASP.NET 2.0 includes master pages, themes, and skins so you can build applications with a consistent page layout and design. Other changes allow for the automatic creation of web pages for use on mobile devices, while wizards and controls allow you to perform frequent tasks (like data access) without having to write a single line of code.ASP.NET 2.0: A Developer's Notebook also includes suggestions for further experimentation, links to on-line documentation, and practical notes and warnings from the author regarding changes to the new version.The new Developer's Notebooks series from O'Reilly offers an in-depth first look at important new tools for software developers. Emphasizing example over explanation and practice over theory, they focus on learning by doing you'll get the goods straight from the masters, in an informal and code-intensive style. If you want to get up to speed on ASP.NET 2.0 before its official release, this all lab, no lecture book will get you there.

Publisher resources

View/Submit Errata

Table of contents

  1. A Note Regarding Supplemental Files
  2. The Developer’s Notebook Series
    1. Notebooks Are...
    2. Notebooks Aren’t...
    3. Organization
  3. Preface
    1. Who This Book Is For
    2. How This Book Is Organized
    3. Where Can I Learn More?
    4. What You Need to Use This Book
    5. Conventions Used in This Book
    6. Using Code Examples
    7. Safari® Enabled
    8. I’d Like to Hear from You
    9. Comments and Questions
    10. Acknowledgments
    11. About the Author
  4. 1. What’s New?
    1. 1.1. Create a New Web Project
      1. 1.1.1. How do I do that?
      2. 1.1.2. What about...
      3. 1.1.3. Where can I learn more?
    2. 1.2. Use Multiple Languages
      1. 1.2.1. How do I do that?
      2. 1.2.2. What about...
      3. 1.2.3. Where can I learn more?
    3. 1.3. Set the Focus of Controls
      1. 1.3.1. How do I do that?
      2. 1.3.2. What about...
      3. 1.3.3. Where can I learn more?
    4. 1.4. Define Multiple Validation Groups on a Page
      1. 1.4.1. How do I do that?
      2. 1.4.2. What about...
      3. 1.4.3. Where can I learn more?
    5. 1.5. Insert Client Script into a Page
      1. 1.5.1. How do I do that?
      2. 1.5.2. What about...
      3. 1.5.3. Where can I learn more?
    6. 1.6. Post to Another Page
      1. 1.6.1. How do I do that?
      2. 1.6.2. What about...
      3. 1.6.3. Where can I learn more?
    7. 1.7. Selectively Display Groups of Controls
      1. 1.7.1. How do I do that?
      2. 1.7.2. What about...
      3. 1.7.3. Where can I learn more?
    8. 1.8. Upload Files to Your Web Site
      1. 1.8.1. How do I do that?
      2. 1.8.2. What about...
      3. 1.8.3. Where can I learn more?
    9. 1.9. Create an Image Map
      1. 1.9.1. How do I do that?
      2. 1.9.2. What about...
      3. 1.9.3. Where can I learn more?
  5. 2. Master Pages and Site Navigation
    1. 2.1. How do I do that?
      1. 2.1.1. What about...
      2. 2.1.2. Where can I learn more?
    2. 2.2. Use a Master Page as a Content Page Template
      1. 2.2.1. How do I do that?
      2. 2.2.2. What just happened?
      3. 2.2.3. What about...
      4. 2.2.4. Where can I learn more?
    3. 2.3. Modify a Master Page at Runtime
      1. 2.3.1. How do I do that?
      2. 2.3.2. What just happened?
      3. 2.3.3. What about...
      4. 2.3.4. Where can I learn more?
    4. 2.4. Create a Site Map for Your Web Site
      1. 2.4.1. How do I do that?
      2. 2.4.2. How it works
      3. 2.4.3. What about...
      4. 2.4.4. Where can I learn more?
    5. 2.5. Display Hierarchical Data Using the TreeView Control
      1. 2.5.1. How do I do that?
      2. 2.5.2. What about...
      3. 2.5.3. Where can I learn more?
    6. 2.6. Populate a TreeView Control Programmatically
      1. 2.6.1. How do I do that?
      2. 2.6.2. What about...
      3. 2.6.3. Where can I learn more?
    7. 2.7. Display Drop-Down Menus Using the Menu Control
      1. 2.7.1. How do I do that?
      2. 2.7.2. What about...
      3. 2.7.3. Where can I learn more?
  6. 3. Web Parts
    1. 3.1. How do I do that?
      1. 3.1.1. What about...
      2. 3.1.2. Where can I learn more?
    2. 3.2. Create a Personalizable Custom Web Part
      1. 3.2.1. How do I do that?
      2. 3.2.2. What just happened?
      3. 3.2.3. What about...
      4. 3.2.4. Where can I learn more?
    3. 3.3. Let Users Move Web Parts
      1. 3.3.1. How do I do that?
      2. 3.3.2. What just happened?
      3. 3.3.3. What about...
      4. 3.3.4. Where can I learn more?
    4. 3.4. Let Users Add Web Parts at Runtime
      1. 3.4.1. How do I do that?
      2. 3.4.2. What about...
      3. 3.4.3. Where can I learn more?
    5. 3.5. Let Users Edit Web Parts at Runtime
      1. 3.5.1. How do I do that?
      2. 3.5.2. What about...
      3. 3.5.3. Where can I learn more?
    6. 3.6. Enable Web Parts to Talk to Each Other
      1. 3.6.1. How do I do that?
      2. 3.6.2. What about...
      3. 3.6.3. Where can I learn more?
  7. 4. Data Access
    1. 4.1. Display Data in a Table
      1. 4.1.1. How do I do that?
      2. 4.1.2. What about...
      3. 4.1.3. Where can I learn more?
    2. 4.2. Sort and View Records on Multiple Pages
      1. 4.2.1. How do I do that?
      2. 4.2.2. What about...
      3. 4.2.3. Where can I learn more?
    3. 4.3. Edit and Delete Records
      1. 4.3.1. How do I do that?
      2. 4.3.2. What about...
      3. 4.3.3. Where can I learn more?
    4. 4.4. Display One Record at a Time
      1. 4.4.1. How do I do that?
      2. 4.4.2. What about...
      3. 4.4.3. Where can I learn more?
    5. 4.5. Cache the Data Source Control
      1. 4.5.1. How do I do that?
      2. 4.5.2. What about...
      3. 4.5.3. Where can I learn more?
    6. 4.6. Cache Using Dependency
      1. 4.6.1. How do I do that?
      2. 4.6.2. What about...
      3. 4.6.3. Where can I learn more?
    7. 4.7. Encrypt Connection Strings
      1. 4.7.1. How do I do that?
      2. 4.7.2. What about...
      3. 4.7.3. Where can I learn more?
    8. 4.8. Connect to a Business Object
      1. 4.8.1. How do I do that?
      2. 4.8.2. What about...
      3. 4.8.3. Where can I learn more?
    9. 4.9. Connect to an XML Document
      1. 4.9.1. How do I do that?
      2. 4.9.2. What about...
      3. 4.9.3. Where can I learn more?
  8. 5. Security
    1. 5.1. Create a Login Page Using the New Security Controls
      1. 5.1.1. How do I do that?
      2. 5.1.2. How does it work?
      3. 5.1.3. What about...
      4. 5.1.4. Where can I learn more?
    2. 5.2. Add Users with WAT
      1. 5.2.1. How do I do that?
      2. 5.2.2. What just happened?
      3. 5.2.3. What about...
      4. 5.2.4. Where can I learn more?
    3. 5.3. Restrict Unauthorized Access to Pages
      1. 5.3.1. How do I do that?
      2. 5.3.2. What about...
      3. 5.3.3. Where can I learn more?
    4. 5.4. Recover Passwords for Users
      1. 5.4.1. How do I do that?
      2. 5.4.2. What about...
      3. 5.4.3. Where can I learn more?
    5. 5.5. Let Users Change Passwords
      1. 5.5.1. How do I do that?
      2. 5.5.2. What about...
      3. 5.5.3. Where can I learn more?
    6. 5.6. Create Accounts with CreateUserWizard
      1. 5.6.1. How do I do that?
      2. 5.6.2. What about...
      3. 5.6.3. Where can I learn more?
    7. 5.7. Group Users into Roles
      1. 5.7.1. How do I do that?
      2. 5.7.2. What about...
      3. 5.7.3. Where can I learn more?
    8. 5.8. Manage User Settings
      1. 5.8.1. How do I do that?
      2. 5.8.2. What about ...
      3. 5.8.3. Where can I learn more?
  9. 6. Performance
    1. 6.1. How do I do that?
      1. 6.1.1. What about...
      2. 6.1.2. Where can I learn more?
    2. 6.2. Dynamically Generate Web Service Proxy Classes
      1. 6.2.1. How do I do that?
      2. 6.2.2. What about...
      3. 6.2.3. Where can I learn more?
    3. 6.3. Precompile Your Site
      1. 6.3.1. How do I do that?
      2. 6.3.2. What about...
      3. 6.3.3. Where can I learn more?
    4. 6.4. Cache Fragments of a Page
      1. 6.4.1. How do I do that?
      2. 6.4.2. What about...
      3. 6.4.3. Where can I learn more?
    5. 6.5. Lower the Cost of Server Callbacks
      1. 6.5.1. How do I do that?
      2. 6.5.2. What about...
      3. 6.5.3. Where can I learn more?
  10. 7. Profiles
    1. 7.1. Personalize Your Application
      1. 7.1.1. How do I do that?
      2. 7.1.2. What just happened?
      3. 7.1.3. What about...
      4. 7.1.4. Where can I learn more?
    2. 7.2. Authenticate Users with Forms Authentication
      1. 7.2.1. How do I do that?
      2. 7.2.2. What about...
      3. 7.2.3. Where can I learn more?
    3. 7.3. Save Anonymous User Profiles
      1. 7.3.1. How do I do that?
      2. 7.3.2. What about...
      3. 7.3.3. Where can I learn more?
    4. 7.4. Transfer an Anonymous Profile to an Authenticated Profile
      1. 7.4.1. How do I do that?
      2. 7.4.2. What about...
      3. 7.4.3. Where can I learn more?
  11. 8. Themes, Skins, and Localization
    1. 8.1. Create Themes and Skins
      1. 8.1.1. How do I do that?
      2. 8.1.2. What just happened?
      3. 8.1.3. What about...
      4. 8.1.4. Where can I learn more?
    2. 8.2. Apply Themes at Runtime
      1. 8.2.1. How do I do that?
      2. 8.2.2. What about...
      3. 8.2.3. Where can I learn more?
    3. 8.3. Store Themes in User Profiles
      1. 8.3.1. How do I do that?
      2. 8.3.2. What about...
      3. 8.3.3. Where can I learn more?
    4. 8.4. Localize Your Application
      1. 8.4.1. How do I do that?
      2. 8.4.2. What just happened?
      3. 8.4.3. What about...
      4. 8.4.4. Where can I learn more?
  12. Index
  13. About the Author
  14. Colophon
  15. Copyright

Product information

  • Title: ASP.NET 2.0: A Developer's Notebook
  • Author(s): Wei-Meng Lee
  • Release date: June 2005
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9780596008123