Available:*
Library | Item Barcode | Call Number | Material Type | Item Category 1 | Status |
---|---|---|---|---|---|
Searching... | 30000004718460 | TK5105.8885.A26 H654 2005 | Open Access Book | Book | Searching... |
On Order
Summary
Summary
Praise for "ASP.NET v. 2.0--The Beta Version "This fast-paced book looks like an ideal way to jumpstart your ASP.NET 2.0 experience. It has coverage of all of the new bits and had me tapping away at my keyboard in no time." --Darren Neimke, Microsoft MVP-ASP.NET "The new features in ASP.NET 2.0 will amaze and astound you, and these authors have methodically outlined the features with clear and concise examples. An absolute must for your library!" --Ronda Pederson, consultant "These authors take the pain out of getting up to speed on the many new features in the ASP.NET 2.0 beta." --Ken Cox, Microsoft MVP-ASP.NET and ASP.NET Developer "A clear and concise, yet thorough, introduction to new and improved features that are set to take the Web development community by storm in ASP.NET 2.0. An excellent resource for any ASP.NET developer." --Olga Londer, Microsoft MVP-IIS/CMS and Principal Technologist, QA "ASP.NET 2.0 is not just a minor update. It allows you to create,Web applications in an entirely new way. Just reading the chapter on the new membership and security features of ASP.NET 2.0 will make this book worth your while." --Douglas Reilly, MVP-ASP.NET Access Microsystems Inc. "There's a large 'wow' factor to this book, which, coupled with the well-worded text and excellent examples, makes you wish the final release wasn't just out of reach." --Dan Maharry, ."NET Developers Journal Praise for "A First Look at ASP.NET v. 2.0 "I would highly recommend A First Look at ASP.NET v. 2.0 to existing ASP.NET developers. The topic is exciting and the authors did a great job of covering the bases in an enjoyable and easy-to-followformat." --Scott Forsyth, Microsoft MVP-ASP/ASP.NET, Director of IT, Orcsweb.com "Those of us lucky enough to attend PDC or have an MSDN universal subscription can access the ASP.NET 2.0 alpha. For the rest of th
Author Notes
Alex Homer is managing director of Stonebroom, Ltd.
Dave Sussman speaks frequently at Microsoft development conferences and has been writing about ASP since its earliest releases
Rob Howard founded Telligent Systems
Table of Contents
Figures | p. xvii |
Tables | p. xxiii |
Foreword | p. xxix |
Preface | p. xxxiii |
1 An Introduction to ASP.NET 2.0 | p. 1 |
What's Wrong with ASP.NET 1.x? | p. 1 |
New Features | p. 3 |
Templates for a Consistent Look and Feel | p. 3 |
Styles for Controls | p. 5 |
Securing Your Site | p. 7 |
Personalizing Your Site | p. 9 |
Creating Portals | p. 1 |
Setting Up and Managing Your Site | p. 16 |
Using Images on Your Site | p. 18 |
Using Data on Your Site | p. 19 |
Internationalization | p. 21 |
Adding Mobility Support | p. 22 |
Compilation and Deployment | p. 24 |
Development Tools | p. 25 |
Summary | p. 26 |
2 Tools and Architecture | p. 27 |
Visual Studio 2005 | p. 28 |
Project-less Development | p. 30 |
The Solution Explorer | p. 32 |
The Toolbox | p. 32 |
The Design Window | p. 32 |
The Design Surface | p. 34 |
The Server Explorer | p. 35 |
Visual Inheritance | p. 38 |
Built-in Administration | p. 39 |
Code Separation | p. 40 |
Dynamic Compilation | p. 42 |
New Folders for Dynamic Compilation | p. 42 |
Using the /Code Folder in Visual Studio 2005 | p. 43 |
Folder Hierarchy | p. 44 |
Pre-compilation of Applications | p. 48 |
In-place Pre-compilation | p. 48 |
Pre-compilation for Deployment without Source | p. 50 |
Pre-compilation for Deployment with Source | p. 51 |
The Compilation API | p. 51 |
Summary | p. 52 |
3 Data Source Controls and Data Binding | p. 53 |
Code-Free Data Binding | p. 54 |
Displaying Data with a Data Source Control | p. 54 |
Adding Row Sorting Capabilities | p. 56 |
Adding Row Paging Capabilities | p. 56 |
Built-in Small-Screen and Mobile Device Support | p. 57 |
Linking Page Controls and Data Source Control Parameters | p. 59 |
Editing Data with a GridView and a Data Source Control | p. 61 |
The DetailsView Control | p. 63 |
Data Source Controls | p. 64 |
Types of Data Source Controls | p. 65 |
The SqlDataSource Control | p. 66 |
The AccessDataSource Control | p. 84 |
The Base Classes for the Data Source Controls | p. 86 |
The XmlDataSource Control | p. 87 |
The DataSetDataSource Control | p. 92 |
The ObjectDataSource Control | p. 94 |
Possible Forthcoming Data Source Controls | p. 102 |
Summary | p. 102 |
4 The GridView, DetailsView, and FormView Controls | p. 105 |
The GridView Control | p. 106 |
An Overview of the GridView Control | p. 106 |
Declaring a GridView Control | p. 107 |
Defining the Columns in a GridView Control | p. 123 |
Using a Mixture of Column Types | p. 136 |
The DetailsView Control | p. 142 |
Using a Stand-Alone DetailsView Control | p. 143 |
Creating a Master-Detail Page with GridView and DetailsView Controls | p. 145 |
Inserting and Editing Rows with a DetailsView Control | p. 146 |
The DetailsView Control Interface | p. 150 |
The FormView Control | p. 156 |
Declaring a FormView Control | p. 156 |
Declaring Templates for a FormView Control | p. 157 |
The New and Simplified Data Binding Syntax | p. 161 |
The ASP.NET 1.0 Syntax for Data Binding | p. 161 |
Simplified ASP.NET 2.0 Syntax for Nonhierarchical Data Binding | p. 162 |
Simplified ASP.NET 2.0 Syntax for Hierarchical (XML) Data Binding | p. 162 |
Two-Way Data Binding Syntax for Templated Controls | p. 164 |
New and Simplified Data Binding Syntax Options | p. 166 |
Building Data-Bound Pages with Visual Studio 2005 | p. 166 |
Summary | p. 168 |
5 Master Pages and Navigation | p. 169 |
Master Pages in Detail | p. 169 |
Creating Master Pages | p. 170 |
Using a Master Page | p. 172 |
Default Content | p. 174 |
Nested Master Pages | p. 174 |
Master Page Configuration | p. 179 |
Device-Specific Master Pages | p. 180 |
Event Ordering | p. 181 |
Setting the Master Page Programmatically | p. 181 |
Accessing the Master Page | p. 181 |
Navigation | p. 183 |
Site Maps | p. 184 |
Site Map Providers | p. 184 |
Site Map Configuration Files | p. 186 |
Using a Site Map File | p. 188 |
Site Maps in Depth | p. 189 |
Showing a Navigation Path | p. 192 |
SiteMapPath Events | p. 195 |
The SiteMapNode Object | p. 197 |
Accessing the Site Map at Runtime | p. 198 |
Navigation Controls | p. 199 |
Summary | p. 202 |
6 Security | p. 203 |
Membership | p. 206 |
Membership Providers | p. 208 |
Setting Up Membership | p. 209 |
Creating a New User | p. 209 |
Validating User Credentials | p. 213 |
Retrieving a User | p. 213 |
The MembershipUser Class | p. 218 |
Updating a User's Properties | p. 221 |
Deleting a User | p. 222 |
Security Server Controls | p. 224 |
The CreateUserWizard Control | p. 224 |
The Login Control | p. 225 |
The Login Status Control | p. 227 |
The Login View Control | p. 229 |
The Passowrd Recovery Control | p. 231 |
Role Manager | p. 234 |
Setting Up Role Manager | p. 235 |
Creating Roles | p. 237 |
Adding Users to Roles | p. 239 |
Returning a User's Roles | p. 240 |
Checking Whether a User Is in a Role | p. 242 |
Removing Users from Roles | p. 242 |
Deleting a Role | p. 242 |
Role Caching | p. 244 |
Cookieless Forms Authentication | p. 245 |
Enabling Cookieless Forms Authentication | p. 245 |
The Web Site Administration Tool | p. 247 |
The Home Page | p. 248 |
The Security Page | p. 248 |
Security Management | p. 249 |
Other Pages | p. 251 |
Summary | p. 251 |
7 Personalization and Themes | p. 253 |
Storing and Retrieving User Personalization Data | p. 255 |
Configuring Personalization | p. 256 |
Accessing Other Users' Personalization Data | p. 261 |
Setting Up the Databases for Personalization | p. 261 |
Data Access Optimizations | p. 268 |
Membership and Personalization | p. 271 |
Anonymous Identification | p. 271 |
Anonymous Personalization | p. 273 |
Migrating from Anonymous to Authenticated Users | p. 275 |
The Provider Design Pattern | p. 276 |
Configuration | p. 276 |
Implementation of the ProviderBase Base Class | p. 278 |
Implementation of the Feature-Specific Interface | p. 279 |
Writing a Personalization Provider | p. 279 |
Configuring Profile Properties | p. 284 |
Themes | p. 286 |
Themes and Skins | p. 286 |
Customization Themes and Stylesheet Themes | p. 287 |
Global Themes | p. 287 |
Creating Themes | p. 287 |
Setting a Page Customization Theme | p. 290 |
Setting a Page Stylesheet Theme | p. 290 |
Setting a Skin | p. 291 |
Applying Skins to All Controls | p. 292 |
Applying Skins to Dynamically Created Controls | p. 292 |
Allowing User Selection of Skins | p. 293 |
Using Personalization for Themes | p. 293 |
Collections of Controls | p. 295 |
Disabling Themes | p. 296 |
Adding Themes to a Site | p. 297 |
Enabling Themes in Custom Controls | p. 297 |
Summary | p. 298 |
8 Web Parts and the Portal Framework | p. 299 |
The ASP.NET 2.0 Portal Framework | p. 300 |
The Goals of the Portal Framework | p. 301 |
About the Web Parts Framework | p. 304 |
A Simple Web Parts Example Page | p. 306 |
An Overall View of the Example Page | p. 306 |
The Events Zone Declaration | p. 311 |
The Web Part User Control Declarations | p. 312 |
Catalog Zones | p. 314 |
Editor Zones | p. 317 |
Page Design and Web Part Editing | p. 318 |
Help Features for Web Parts | p. 321 |
Connecting Web Parts | p. 322 |
Declaring Static Connections | p. 323 |
Editing Web Part Connections | p. 323 |
Working with Web Parts in Code | p. 324 |
The WebPartManager Class | p. 326 |
The Zone Classes | p. 330 |
The GenericWebPart Class | p. 335 |
Web Parts and Visual Studio 2005 | p. 339 |
Summary | p. 340 |
9 Pages, Posting, Resources, and Validation | p. 341 |
Cross-Page Posting | p. 342 |
Posting to Another Page | p. 342 |
Accessing the Previous Page | p. 343 |
Transferring to Another Page in Code | p. 344 |
Detecting Cross-Page Posting | p. 345 |
The Page Life Cycle | p. 346 |
Posting to Another Application | p. 346 |
Validation | p. 346 |
The ValidationGroup Property | p. 347 |
The SetFocusOnError Property | p. 349 |
The ValidateEmptyText Property | p. 349 |
URL Mapping | p. 349 |
Client-Side Script Features | p. 351 |
Registering Script Blocks | p. 351 |
Client Callbacks | p. 352 |
New Form Capabilities | p. 361 |
Form Focus | p. 362 |
Client Click Events | p. 362 |
Submitting Disabled Controls | p. 363 |
Changes to Page Directives | p. 363 |
The Page Directive | p. 364 |
The Master Directive | p. 364 |
The Master Type Directive | p. 365 |
The PreviousPageType Directive | p. 365 |
Changes to Page Headings | p. 366 |
xHTML Compliance | p. 366 |
The Page and Control Life Cycle | p. 367 |
Site and Page Counters | p. 369 |
Using Site Counters | p. 371 |
Configuring Site and Page Counters | p. 374 |
Resources and Localization | p. 377 |
Code-Free Localization | p. 377 |
What Expression Type to Use, and When | p. 386 |
User-Selectable Localization | p. 386 |
Programmatic Access of Resources | p. 387 |
Extensibility | p. 388 |
Web Resources | p. 388 |
Summary | p. 390 |
10 The New Browser and Mobile Device Controls | p. 393 |
Programming for Different Types of Devices | p. 394 |
The Microsoft Mobile Internet Toolkit | p. 395 |
The Unified Control and Adapter Architecture | p. 396 |
Browser Definitions | p. 400 |
The BrowserCapabilities Class | p. 401 |
Page Design and Device Support | p. 402 |
Device Filters | p. 402 |
Summary of the New Controls in ASP.NET 2.0 | p. 404 |
Standard Form- and Page-Based Controls | p. 404 |
Rich Controls | p. 405 |
Login and Authentication Controls | p. 406 |
Navigation Controls and Counters | p. 406 |
Data Access and Display Controls | p. 407 |
Mobile Device Controls | p. 408 |
The New Controls in Detail | p. 408 |
New Controls within the HtmlControls Namespace | p. 408 |
The BulletedList Control | p. 418 |
The DynamicImage Control | p. 423 |
The Image Generation Service | p. 427 |
The ImageMap Control | p. 429 |
The FileUpload Control | p. 434 |
The HiddenField Control | p. 437 |
The MultiView and View Controls | p. 439 |
The Wizard Control | p. 446 |
Controls and Attributes Specific to Mobile Devices | p. 455 |
The ContentPager Control | p. 456 |
The PhoneLink Control | p. 462 |
The SoftKeyLabel Attribute | p. 463 |
Mobile Browser Emulators | p. 464 |
Summary | p. 465 |
11 Enhancements to Existing Controls | p. 467 |
Summary of New Control Features | p. 468 |
Accessibility Improvements | p. 468 |
Input Control Enhancements | p. 469 |
Changes to the Forms and Postback Architecture | p. 470 |
Validation Controls and Validation Groups | p. 470 |
Data Source Control Integration | p. 471 |
Mobile Device Support | p. 471 |
Site and Page Counter Integration | p. 472 |
List Control Enhancements | p. 472 |
Themes Integration | p. 472 |
Tables of Control Enhancements | p. 473 |
Enhancements to Existing Controls in the HtmlControls Namespace | p. 473 |
Enhancements to Existing Controls in the WebControls Namespace | p. 474 |
Details of Individual Control Enhancements | p. 481 |
The AdRotator Control | p. 481 |
The Button, LinkButton, and ImageButton Controls | p. 487 |
The CheckBox Control | p. 488 |
The DataGrid Control | p. 489 |
The HyperLink Control | p. 490 |
The Image Control | p. 491 |
The Label Control | p. 491 |
The List and ListItem Controls | p. 492 |
The Literal Control | p. 495 |
The Panel Control | p. 496 |
The Table, TableHeaderCell, and TableCell Controls | p. 498 |
Summary | p. 505 |
12 Caching | p. 507 |
Enabling Database Cache Invalidation | p. 510 |
Enabling a Database for SQL Cache Invalidation | p. 512 |
Enabling a Table for SQL Cache Invalidation | p. 512 |
Listing Tables Enabled for SQL Cache Invalidation | p. 513 |
Invalidating the ASP.NET Cache | p. 514 |
Configuration | p. 514 |
Invalidating Output-Cached Pages | p. 515 |
The SqlCacheDependency Class | p. 518 |
Creating SQL Server 7 and 2000 Dependencies | p. 519 |
Creating SQL Server 2005 Dependencies | p. 519 |
The CacheDependency Class | p. 520 |
Summary | p. 521 |
13 Configuration and Administration | p. 523 |
Application Configuration Files | p. 524 |
Changed Sections | p. 524 |
New Sections | p. 533 |
State Management | p. 570 |
Control State | p. 571 |
Page State Persistence | p. 572 |
Session State Plugability | p. 573 |
The Web Site Administration Tool | p. 576 |
The Management API | p. 580 |
IIS Integration | p. 581 |
Management Classes | p. 582 |
Summary | p. 584 |
Index | p. 585 |