ASP.NET v2.0: The Beta Version (Microsoft .net Development Series)

ASP.NET v2.0: The Beta Version (Microsoft .net Development Series)

Paperback(Second Edition)


Product Details

ISBN-13: 9780321257277
Publisher: Pearson Education
Publication date: 07/27/2004
Series: Microsoft .net Development Series
Edition description: Second Edition
Pages: 620
Product dimensions: 5.48(w) x 9.80(h) x 1.34(d)

Table of Contents





1. An Introduction to ASP.NET 2.0.

What's Wrong with ASP.NET 1.x?

New Features.

Compilation and Deployment.

Development Tools.


2. Tools and Architecture.

Visual Studio 2005.

Code Separation.

Dynamic Compilation.

Pre-compilation of Applications.


3. Data Source Controls and Data Binding.

Code-Free Data Binding.

Data Source Controls.


4. The GridView, DetailsView, and FormView Controls.

The GridView Control.

The DetailsView Control.

The FormView Control.

The New and Simplified Data Binding Syntax.

Building Data-Bound Pages with Visual Studio 2005.


5. Master Pages and Navigation.

Master Pages in Detail.



6. Security.


Security Server Controls.

Role Manager.

Cookieless Forms Authentication.

The Web Site Administration Tool.


7. Personalization and Themes.

Storing and Retrieving User Personalization Data.

Anonymous Identification.

Anonymous Personalization.

The Provider Design Pattern.

Writing a Personalization Provider.

Configuring Profile Properties.


8. Web Parts and the PortalFramework.

The ASP.NET 2.0 Portal Framework.

A Simple Web Parts Example Page.

Connecting Web Parts.

Working with Web Parts in Code.

Web Parts and Visual Studio 2005.


9. Pages, Posting, Resources, and Validation.

Cross-Page Posting.


URL Mapping.

Client-Side Script Features.

New Form Capabilities.

Changes to Page Directives.

Changes to Page Headings.

xHTML Compliance.

The Page and Control Life Cycle.

Site and Page Counters.

Resources and Localization.

Web Resources.


10. The New Browser and Mobile Device Controls.

Programming for Different Types of Devices.

The Unified Control and Adapter Architecture.

Summary of the New Controls in ASP.NET 2.0.

The New Controls in Detail.

New Controls within the HtmlControls Namespace.

Controls and Attributes Specific to Mobile Devices.

Mobile Browser Emulators.


11. Enhancements to Existing Controls.

Summary of New Control Features.

Tables of Control Enhancements.

Details of Individual Control Enhancements.


12. Caching.

Enabling Database Cache Invalidation.

Invalidating the ASP.NET Cache.

The SqlCacheDependency Class.

The CacheDependency Class.


13. Configuration and Administration.

Application Configuration Files.

State Management.

The Web Site Administration Tool.

The Management API.

IIS Integration.




Dynamic Web page generation techniques have been around for many years, but ASP.NET took the world by storm when it was released in February 2002. The advent of a new page and postback architecture, server controls, and the whole .NET Framework made it easier to build Web sites and Web applications that performed better while reducing the amount of work required by the developer.

So, it comes as no surprise to see a new version of the .NET Framework, and with it version 2.0 of ASP.NET, starting to appear on the horizon. Sometime in 2005 we should have the final release of version 2.0 of the .NET Framework, together with new versions of Visual Studio and other tools. In the meantime, Microsoft is following its usual policy of involving developers as early in the process as possible, giving them the chance to provide feedback on the new product.

So, with the final release of version 2.0 still some way off, why would you be interested in it now? The simple answer is, of course, that as a developer you need to keep abreast of what's going on in your industry. And more than that, being aware of what's coming in the future might well in- fluence what you do today, in the overall design of your applications and the preparations and plans you make for upcoming products and applications. This book will help by introducing you to the new features that will be in version 2.0 of ASP.NET and how they can benefit your Web site and Web application development. And perhaps you don't actually intend to install the early releases of version 2.0, but you just want to know more about what it offers. No problem—that's OK with us as well!

Versions and Release Schedules

Before youread any further, it's important that you understand what this book covers and how it relates to the future and final releases of ASP.NET version 2.0.

The first public beta of version 2.0 of the .NET Framework arrives in mid-2004. There will probably be another beta release later in 2004, followed by a final release. However, there are unlikely to be any significant changes between the first beta release and the finished product because this phase of the development cycle concentrates on moving from "code complete" status though fine-tuning and bug fixing to final release.

This book covers the first beta release, and as such the class interface listings and code samples you see here cannot be guaranteed to work in exactly the same way right through to the final release version. However, the principles and general syntax are unlikely to differ by anything more than minor details.

What This Book Covers

This is not just a reference book but also a feature-packed exploration of version 2.0 of ASP.NET. It covers the changes between ASP.NET 1.x and ASP.NET 2.0 that make it even easier to build efficient, attractive, and interactive Web sites and Web applications using the new features in ASP.NET, while considerably reducing developer effort and code requirements.

The first chapter presents an overview of the new version and also lays out the roadmap for the remainder of the book. The following chapters discuss how the common requirements of developers have been addressed, starting with the ubiquitous need to access data from your pages and then progressing through to a detailed look at the new configuration and management features that version 2.0 provides.

Along with the final release of ASP.NET 2.0 we will, of course, see a new version of Visual Studio and other tools. While we do include some details of the new version of Visual Studio, called Visual Studio 2005, the book does not concentrate on this area. Many developers will be writing ASP.NET pages using other tools (including, we suspect, a text editor) while Visual Studio 2005 is still under development.

What You Need to Use This Book

The main thing you need to use this book is the beta release of version 2.0 of the .NET Framework. Other than that, you'll need something to transfer your creative efforts into ASP.NET files on disk. We still prefer a text editor, though early experiments with Visual Studio 2005 suggest that Windows Notepad will be seeing the light of day a lot less often in the future. However, it doesn't really matter which tool or editor you use as long as it can generate text files with the .aspx file extension.

Finally, you'll need to be prepared to change the way you think about building code for your Web pages because in many cases you don't actually have to write any code at all in version 2.0. See Chapter 1 for more details, and get ready to be more productive!

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews