Skip to:Content
|
Bottom
Cover image for ASP.NET v. 2.0 : the beta version
Title:
ASP.NET v. 2.0 : the beta version
Personal Author:
Publication Information:
Boston : Addison-Wesley, 2005
ISBN:
9780321257277

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

Figuresp. xvii
Tablesp. xxiii
Forewordp. xxix
Prefacep. xxxiii
1 An Introduction to ASP.NET 2.0p. 1
What's Wrong with ASP.NET 1.x?p. 1
New Featuresp. 3
Templates for a Consistent Look and Feelp. 3
Styles for Controlsp. 5
Securing Your Sitep. 7
Personalizing Your Sitep. 9
Creating Portalsp. 1
Setting Up and Managing Your Sitep. 16
Using Images on Your Sitep. 18
Using Data on Your Sitep. 19
Internationalizationp. 21
Adding Mobility Supportp. 22
Compilation and Deploymentp. 24
Development Toolsp. 25
Summaryp. 26
2 Tools and Architecturep. 27
Visual Studio 2005p. 28
Project-less Developmentp. 30
The Solution Explorerp. 32
The Toolboxp. 32
The Design Windowp. 32
The Design Surfacep. 34
The Server Explorerp. 35
Visual Inheritancep. 38
Built-in Administrationp. 39
Code Separationp. 40
Dynamic Compilationp. 42
New Folders for Dynamic Compilationp. 42
Using the /Code Folder in Visual Studio 2005p. 43
Folder Hierarchyp. 44
Pre-compilation of Applicationsp. 48
In-place Pre-compilationp. 48
Pre-compilation for Deployment without Sourcep. 50
Pre-compilation for Deployment with Sourcep. 51
The Compilation APIp. 51
Summaryp. 52
3 Data Source Controls and Data Bindingp. 53
Code-Free Data Bindingp. 54
Displaying Data with a Data Source Controlp. 54
Adding Row Sorting Capabilitiesp. 56
Adding Row Paging Capabilitiesp. 56
Built-in Small-Screen and Mobile Device Supportp. 57
Linking Page Controls and Data Source Control Parametersp. 59
Editing Data with a GridView and a Data Source Controlp. 61
The DetailsView Controlp. 63
Data Source Controlsp. 64
Types of Data Source Controlsp. 65
The SqlDataSource Controlp. 66
The AccessDataSource Controlp. 84
The Base Classes for the Data Source Controlsp. 86
The XmlDataSource Controlp. 87
The DataSetDataSource Controlp. 92
The ObjectDataSource Controlp. 94
Possible Forthcoming Data Source Controlsp. 102
Summaryp. 102
4 The GridView, DetailsView, and FormView Controlsp. 105
The GridView Controlp. 106
An Overview of the GridView Controlp. 106
Declaring a GridView Controlp. 107
Defining the Columns in a GridView Controlp. 123
Using a Mixture of Column Typesp. 136
The DetailsView Controlp. 142
Using a Stand-Alone DetailsView Controlp. 143
Creating a Master-Detail Page with GridView and DetailsView Controlsp. 145
Inserting and Editing Rows with a DetailsView Controlp. 146
The DetailsView Control Interfacep. 150
The FormView Controlp. 156
Declaring a FormView Controlp. 156
Declaring Templates for a FormView Controlp. 157
The New and Simplified Data Binding Syntaxp. 161
The ASP.NET 1.0 Syntax for Data Bindingp. 161
Simplified ASP.NET 2.0 Syntax for Nonhierarchical Data Bindingp. 162
Simplified ASP.NET 2.0 Syntax for Hierarchical (XML) Data Bindingp. 162
Two-Way Data Binding Syntax for Templated Controlsp. 164
New and Simplified Data Binding Syntax Optionsp. 166
Building Data-Bound Pages with Visual Studio 2005p. 166
Summaryp. 168
5 Master Pages and Navigationp. 169
Master Pages in Detailp. 169
Creating Master Pagesp. 170
Using a Master Pagep. 172
Default Contentp. 174
Nested Master Pagesp. 174
Master Page Configurationp. 179
Device-Specific Master Pagesp. 180
Event Orderingp. 181
Setting the Master Page Programmaticallyp. 181
Accessing the Master Pagep. 181
Navigationp. 183
Site Mapsp. 184
Site Map Providersp. 184
Site Map Configuration Filesp. 186
Using a Site Map Filep. 188
Site Maps in Depthp. 189
Showing a Navigation Pathp. 192
SiteMapPath Eventsp. 195
The SiteMapNode Objectp. 197
Accessing the Site Map at Runtimep. 198
Navigation Controlsp. 199
Summaryp. 202
6 Securityp. 203
Membershipp. 206
Membership Providersp. 208
Setting Up Membershipp. 209
Creating a New Userp. 209
Validating User Credentialsp. 213
Retrieving a Userp. 213
The MembershipUser Classp. 218
Updating a User's Propertiesp. 221
Deleting a Userp. 222
Security Server Controlsp. 224
The CreateUserWizard Controlp. 224
The Login Controlp. 225
The Login Status Controlp. 227
The Login View Controlp. 229
The Passowrd Recovery Controlp. 231
Role Managerp. 234
Setting Up Role Managerp. 235
Creating Rolesp. 237
Adding Users to Rolesp. 239
Returning a User's Rolesp. 240
Checking Whether a User Is in a Rolep. 242
Removing Users from Rolesp. 242
Deleting a Rolep. 242
Role Cachingp. 244
Cookieless Forms Authenticationp. 245
Enabling Cookieless Forms Authenticationp. 245
The Web Site Administration Toolp. 247
The Home Pagep. 248
The Security Pagep. 248
Security Managementp. 249
Other Pagesp. 251
Summaryp. 251
7 Personalization and Themesp. 253
Storing and Retrieving User Personalization Datap. 255
Configuring Personalizationp. 256
Accessing Other Users' Personalization Datap. 261
Setting Up the Databases for Personalizationp. 261
Data Access Optimizationsp. 268
Membership and Personalizationp. 271
Anonymous Identificationp. 271
Anonymous Personalizationp. 273
Migrating from Anonymous to Authenticated Usersp. 275
The Provider Design Patternp. 276
Configurationp. 276
Implementation of the ProviderBase Base Classp. 278
Implementation of the Feature-Specific Interfacep. 279
Writing a Personalization Providerp. 279
Configuring Profile Propertiesp. 284
Themesp. 286
Themes and Skinsp. 286
Customization Themes and Stylesheet Themesp. 287
Global Themesp. 287
Creating Themesp. 287
Setting a Page Customization Themep. 290
Setting a Page Stylesheet Themep. 290
Setting a Skinp. 291
Applying Skins to All Controlsp. 292
Applying Skins to Dynamically Created Controlsp. 292
Allowing User Selection of Skinsp. 293
Using Personalization for Themesp. 293
Collections of Controlsp. 295
Disabling Themesp. 296
Adding Themes to a Sitep. 297
Enabling Themes in Custom Controlsp. 297
Summaryp. 298
8 Web Parts and the Portal Frameworkp. 299
The ASP.NET 2.0 Portal Frameworkp. 300
The Goals of the Portal Frameworkp. 301
About the Web Parts Frameworkp. 304
A Simple Web Parts Example Pagep. 306
An Overall View of the Example Pagep. 306
The Events Zone Declarationp. 311
The Web Part User Control Declarationsp. 312
Catalog Zonesp. 314
Editor Zonesp. 317
Page Design and Web Part Editingp. 318
Help Features for Web Partsp. 321
Connecting Web Partsp. 322
Declaring Static Connectionsp. 323
Editing Web Part Connectionsp. 323
Working with Web Parts in Codep. 324
The WebPartManager Classp. 326
The Zone Classesp. 330
The GenericWebPart Classp. 335
Web Parts and Visual Studio 2005p. 339
Summaryp. 340
9 Pages, Posting, Resources, and Validationp. 341
Cross-Page Postingp. 342
Posting to Another Pagep. 342
Accessing the Previous Pagep. 343
Transferring to Another Page in Codep. 344
Detecting Cross-Page Postingp. 345
The Page Life Cyclep. 346
Posting to Another Applicationp. 346
Validationp. 346
The ValidationGroup Propertyp. 347
The SetFocusOnError Propertyp. 349
The ValidateEmptyText Propertyp. 349
URL Mappingp. 349
Client-Side Script Featuresp. 351
Registering Script Blocksp. 351
Client Callbacksp. 352
New Form Capabilitiesp. 361
Form Focusp. 362
Client Click Eventsp. 362
Submitting Disabled Controlsp. 363
Changes to Page Directivesp. 363
The Page Directivep. 364
The Master Directivep. 364
The Master Type Directivep. 365
The PreviousPageType Directivep. 365
Changes to Page Headingsp. 366
xHTML Compliancep. 366
The Page and Control Life Cyclep. 367
Site and Page Countersp. 369
Using Site Countersp. 371
Configuring Site and Page Countersp. 374
Resources and Localizationp. 377
Code-Free Localizationp. 377
What Expression Type to Use, and Whenp. 386
User-Selectable Localizationp. 386
Programmatic Access of Resourcesp. 387
Extensibilityp. 388
Web Resourcesp. 388
Summaryp. 390
10 The New Browser and Mobile Device Controlsp. 393
Programming for Different Types of Devicesp. 394
The Microsoft Mobile Internet Toolkitp. 395
The Unified Control and Adapter Architecturep. 396
Browser Definitionsp. 400
The BrowserCapabilities Classp. 401
Page Design and Device Supportp. 402
Device Filtersp. 402
Summary of the New Controls in ASP.NET 2.0p. 404
Standard Form- and Page-Based Controlsp. 404
Rich Controlsp. 405
Login and Authentication Controlsp. 406
Navigation Controls and Countersp. 406
Data Access and Display Controlsp. 407
Mobile Device Controlsp. 408
The New Controls in Detailp. 408
New Controls within the HtmlControls Namespacep. 408
The BulletedList Controlp. 418
The DynamicImage Controlp. 423
The Image Generation Servicep. 427
The ImageMap Controlp. 429
The FileUpload Controlp. 434
The HiddenField Controlp. 437
The MultiView and View Controlsp. 439
The Wizard Controlp. 446
Controls and Attributes Specific to Mobile Devicesp. 455
The ContentPager Controlp. 456
The PhoneLink Controlp. 462
The SoftKeyLabel Attributep. 463
Mobile Browser Emulatorsp. 464
Summaryp. 465
11 Enhancements to Existing Controlsp. 467
Summary of New Control Featuresp. 468
Accessibility Improvementsp. 468
Input Control Enhancementsp. 469
Changes to the Forms and Postback Architecturep. 470
Validation Controls and Validation Groupsp. 470
Data Source Control Integrationp. 471
Mobile Device Supportp. 471
Site and Page Counter Integrationp. 472
List Control Enhancementsp. 472
Themes Integrationp. 472
Tables of Control Enhancementsp. 473
Enhancements to Existing Controls in the HtmlControls Namespacep. 473
Enhancements to Existing Controls in the WebControls Namespacep. 474
Details of Individual Control Enhancementsp. 481
The AdRotator Controlp. 481
The Button, LinkButton, and ImageButton Controlsp. 487
The CheckBox Controlp. 488
The DataGrid Controlp. 489
The HyperLink Controlp. 490
The Image Controlp. 491
The Label Controlp. 491
The List and ListItem Controlsp. 492
The Literal Controlp. 495
The Panel Controlp. 496
The Table, TableHeaderCell, and TableCell Controlsp. 498
Summaryp. 505
12 Cachingp. 507
Enabling Database Cache Invalidationp. 510
Enabling a Database for SQL Cache Invalidationp. 512
Enabling a Table for SQL Cache Invalidationp. 512
Listing Tables Enabled for SQL Cache Invalidationp. 513
Invalidating the ASP.NET Cachep. 514
Configurationp. 514
Invalidating Output-Cached Pagesp. 515
The SqlCacheDependency Classp. 518
Creating SQL Server 7 and 2000 Dependenciesp. 519
Creating SQL Server 2005 Dependenciesp. 519
The CacheDependency Classp. 520
Summaryp. 521
13 Configuration and Administrationp. 523
Application Configuration Filesp. 524
Changed Sectionsp. 524
New Sectionsp. 533
State Managementp. 570
Control Statep. 571
Page State Persistencep. 572
Session State Plugabilityp. 573
The Web Site Administration Toolp. 576
The Management APIp. 580
IIS Integrationp. 581
Management Classesp. 582
Summaryp. 584
Indexp. 585
Go to:Top of Page