ASP.NET 2.0 ASP.NET 2.0: Your visual blueprint for developing Web applications
![ASP.NET 2.0 ASP.NET 2.0: Your visual blueprint for developing Web applications](http://image.wangchao.net.cn/small/product/1236478072576.jpg)
分類: 图书,进口原版书,计算机 Computers & Internet ,
作者: Chris Love 著
出 版 社: Oxford University Press USA
出版时间: 2007-10-1字数:版次: 1页数: 339印刷时间: 2007/10/01开本: 16开印次: 1纸张: 胶版纸I S B N : 9780470010013包装: 平装内容简介
Only Visual Blueprint takes a visual approach to professional-level computer topics, and this guide demonstrates over 150 key ASP.NET 2.0 techniques with step-by-step screen shots. You’ll see how to add a page to a Web site, write and read user cookies, collect user input with checkboxes, create an image map, display data in the GridView, reset user passwords, format the CreateUser Wizard, use nesting master pages, handle errors, build a Web service, and put together a terrific site.
目录
HOW TO USE THIS BOOK
1 GETTING FAMILIAR WITH VISUAL STUDIO 2005
Introduction to Visual Studio 2005
Create a Web Site with Visual Studio 2005
Add a Web Page to a Web Site
Edit a Web Page
Explore the Visual Studio 2005 Windows
Add a Web Control to a Web Page
Add a Reference to a Class Library
Program a Page Using Code-Behind
Open a Page in a Browser
Use Code Snippets to Quickly Add Common Code
Export Projects and Files
Publish a Web Site
Precompile a Web Site
2 INTRODUCING ASPNET
Discover the ASPNET Platform
Explore ASPNET Page Life Cycle
Read Input from the QueryString
Read Input from Form Variables
Use Application Cache to Persist Values
Use Session State to Persist Values
Use ViewState to Page Persist Values
Write and Read a User Cookie
Delete a User Cookie
Use a Cookieless Session
Get Familiar with Page Directives
Characterize the WebConfig File
Create a User Control
3 UNDERSTANDING COMMON WEB SERVER CONTROLS
Display Text with the Literal and Label Controls
Add a TextBox and a Button to a Page and Echo the User Input
Using the LinkButton and ImageButton Control
Create a Link to a Page with the Hyperlink Control
Display Images with the Image Web Control
Display a List in the DropDown and ListBox Controls
Collect User Input with CheckBoxes
Collect User Input from RadioButtons
Display a Date with the Calendar Control
Apply an AutoFormat Style
Select a Date in the Calendar Control
Group Controls with the Panel Control
Load Controls Dynamically into a PlaceHolder
Set the DefaultButton and DefaultFocus of a Page
4 WORKING WITH NEW ASPNET 20 WEB CONTROLS
Use the BulletedList Control to Itemize Points
Add Links to the BulletedList Control
Hide Your Data in the HiddenField Control
Upload Files with the FileUpload Control
Control Visibility with the MultiView and View Controls
Step Through a Process with the Wizard Control
Format the Wizard Control
Create an Image Map
Avoid Caching Content with the Substitution Control
Submit to Another Page with Cross-Page Post
5 VALIDATING USER INPUT
Require Input with the RequiredFieldValidator
Compare Inputs with the CompareValidator
Specify a Range with the RangeValidator
Create Custom Validation with the RegularExpressionValidator
Custom Validation with the CustomValidator
Summarize Error Messages with the ValidationSummary Control
6 DISPLAYING RECORDS WITH DATA CONTROLS
Display Data in the GridView Control
Format the GridView Control
Page the GridView Control
Sort the GridView Control
Edit a Record in the GridView Control
Delete a Record in the GridView Control
Bind Data to the Repeater Control
Format the Repeater Control
Display Data with the DataList Control
Format the DataList Control
Page the DataList Control
Bind a Record to the DetailsView
Format the DetailsView
Edit and Insert a Record with the DetailsView
Bind a Record to the FormView
Edit and Insert a Record with the FormView
7 LEVERAGING THE MEMBERSHIP AND ROLE PROVIDERS
Introduction to the Membership Provider
Configure the ASPNET Membership Provider
Configure the SQLMembership Provider
Add a User
Update a User
Delete a User
Retrieve a User Account
Retrieve a List of Users
Reset a Password
Retrieve a User Password
Get the Number of Users Online
Lock and Unlock a User Account
8 MANAGING ACCESS WITH THE ROLE PROVIDER
Introduction to Role Management
Add a Role
Update a Role
Delete a Role
Retrieve a List of Roles
Add a User to a Role
Delete a User from a Role
Retrieve Users in a Role
Retrieve Roles by User
9 MAINTAINING A CONSISTENT USER INTERFACE WITH MEMBERSHIP CONTROLS
Create Site Members with the CreateUserWizard
Format the CreateUserWizard
Add a Login Interface with the Login Control
Display the User’s LoginStatus
Display the User’s Name with the LoginName Control
Control Content Access with the LoginView
Recover a Lost Password with the PasswordRecovery Control
Change a Password with the ChangePassword Control
10 WORKING WITH NAVIGATION CONTROLS AND SITEMAPS
Create a SiteMap
Use a SiteMapDataSource
Use Security Trimming
Use the Menu Control
Manually Bind the Menu Control
Customize the Menu Control
Use the SiteMapPath Control
Format the SiteMapPath Control
Display Navigation in the TreeView Control
Display Check Boxes in the TreeView Control
Use URL Mapping
Use URL Rewriting
11 ENHANCING WEB SITES WITH MASTER PAGES, THEMES, AND PERSONALIZATION
Create a Master Page
Apply a Master Page
Access Master Page Properties and Events
Access Controls on a Master Page
Use Nested Master Pages
Master Page Caching Considerations
Create a Theme
Apply a Theme
Create a Skin
Set a Theme and Skin at Runtime
Create a Cascading Style Sheet
Create Personalized Properties
Use Anonymous Personalization
Set Personalization at Runtime
12 WORKING WITH DATA OBJECTS
Connect to an SQL Database with the SQLDataSource
Use the Connection Object
Use the Command Object
Retrieve a DataReader
Create a DataSet
Create a DataTable
Use a DataView
Use a DataAdapter
Pass Parameters to the Command Object
13 LEVERAGING BASIC ERROR HANDLING AND DEBUGGING TECHNIQUES
Setting Breakpoints and Break Conditions
Debug a Web Site in Visual Studio 2005
Debug JavaScript in Visual Studio 2005
Design-Time Notifications
Use Tracing to Find Problems
Use the Watch Windows
Attach to a Process
Use SQL Stored Procedure Debugging
Use Page-Level Exception Handling
Define a Global Exception Handlerx
14 GOING BEYOND BASIC ASPNET
Send an E-Mail
Send an E-Mail Attachment
Create a Custom Page Class
Create a Custom HttpHandler
Create a Custom HttpModule
Create a Custom ConfigurationSection
Localize Content
Use the Cache API
Create a Custom Control
Create a Custom Composite Control
15 APPLYING WEB SERVICES AND AJAX
Create a Web Service
Consume a Web Service
Use the Livecom Search Web Service
Introduction to ASPNET AJAX
Use the Update Panel
Use the Timer Control
Use the Progress Control
Use the Rating Control
Use the AutoComplete Extender
Use the Masked Edit Extender
INDEX