買這商品的人也買了...
-
$580$493 -
$590$466 -
$1,890$1,796 -
$990$782 -
$680$578 -
$550$468 -
$490$382 -
$880$695 -
$880$695 -
$750$585 -
$580$493 -
$650$553 -
$390$332 -
$350$315 -
$580$458 -
$650$507 -
$890$757 -
$680$578 -
$780$741 -
$580$493 -
$780$663 -
$680$578 -
$650$507 -
$600$480 -
$680$537
相關主題
商品描述
Description
O'Reilly has once again updated its bestselling tutorial on ASP.NET, the
world's leading web development tool from Microsoft. In Programming
ASP.NET, Third Edition, author Jesse Liberty gives you the lowdown on the
technology's latest version, ASP.NET 2.0, as well as Visual Studio 2005.
One of the most significant improvements to ASP.NET 2.0 is its intuitive
nature. In fact, when compared to its predecessor, ASP.NET 2.0 reduces the
amount of code you have to write by about 75%. Creating interactive web
applications has never been easier-but that still doesn't mean it's hassle-free!
The difficulty in ASP.NET 2.0 is that it's so complete and flexible that there
are many pieces that must be woven together to build a robust, scalable, and
efficient application.
Fortunately, Programming ASP.NET, Third Edition is on the case,
dispensing all the information you need to be effective with this dynamic tool.
For starters, the book features a comprehensive tutorial on Web Forms, the user
interface that gives web applications their look and feel. It then offers
detailed explanations of all new controls, including Web server controls, HTML
controls, and custom controls. Used properly, these controls are able to take
care of nearly all the foundation work-security, data access, layout, etc.-that
you would normally have to write yourself. Free of these burdensome tasks, you
can instead focus on your specific application.
Other new material found in this updated edition even shows you how to
create ASP.NET 2.0 pages for mobile devices. With Programming ASP.NET,
Third Edition at your side, there's virtually no end to the programming
possibilities.
Table of Contents:
Preface
1. ASP.NET 2.0
.NET Framework 2.0
ASP.NET 2.0
New Features
Special
Folders Make Integration Easier
Security
Personalization
Master Pages
Navigation
Web Sites Without IIS
Improved Controls
New Controls
Visual
Studio 2005 (VS2005)
Mobile Devices
On to
VS2005
2. Visual Studio 2005
Start Page
File System
HTTP
FTP
Creating Your First Web Page
Projects and Solutions
Solutions
Projects and Files
Templates
Project Names
The Integrated Development Environment (IDE)
Layout
Building and Running
Menus and
Toolbars
File Menu
Edit Menu
View Menu
Refactor Menu
Website Menu
Project Menu
Build Menu
Debug Menu
Data Menu
Format Menu
Tools Menu
Window Menu
Help Menu
3. Controls: Fundamental Concepts
Events
ASP.NET
Events
Event Arguments
Application and Session Events
Page and Control Events
Postback Versus
Non-Postback Events
IsPostBack
Events in Visual Studio 2005
Multiple Controls to One Event
Handler
ASP.NET Server Controls
ASP.NET and Browsers
ASP.NET
Server Control Class Hierarchy
CSS Styles
HTML Server
Controls
Client-Side Processing
4. Basic Controls
The Basics
Label Control
TextBox Control
HiddenField Control
Button Controls
HyperLink Control
Selecting Values
CheckBox Control
RadioButton Control
Selecting from a List
ListItem Object
CheckBoxList Control
RadioButtonList Control
DropDownList Control
ListBox
Control
BulletedList Control
Tables
Table Rows
Table Cells
Cell Width
Panel Control
Images
Image Control
ImageMap Control
5. Advanced Controls
MultiView and View
Controls
Wizard Control
FileUpload Control
AdRotator Control
Advertisement File
Using
AdRotator
Calendar
Selecting Dates in the Calendar
Controlling the
Calendar's Appearance
Programming the Calendar Control
6. Web Site Fundamentals
The Page
Code-Behind
Moving to Another
Page
HyperLink
Server.Transfer
Response.Redirect
Cross-Page Posting
State
Session State
View State
State Bag
Application State
Lifecycle
Directives
Application Directive
Assembly Directive
Control
Directive
Implements Directive
Import Directive
Master Directive
MasterType Directive
OutputCache Directive
Page
Directive
Reference Directive
Register Directive
7. Tracing, Debugging, and Error Handling
Creating the Sample Application
Tracing
Page-Level
Tracing
Inserting into the Trace Log
Application-Level Tracing
Trace Viewer
Debugging
The Debug Toolbar
Breakpoints
Stepping Through Code
Examining Variables and Objects
Debug
Windows
Error Handling
Unhandled Errors
Application-Wide Error
Pages
Page-Specific Error Pages
8. Validation
The RequiredFieldValidator
The Summary Control
The Compare Validator
Checking the Input Type
Comparing to Another Control
Range Checking
Regular
Expressions
Custom Validation
Validation Groups
9. Web Data Access
Getting Data from a
Database
Data Source Controls
GridView Control
Adding Insert, Update, and Delete Statements
Multiuser Updates
Optimistic Concurrency
Displaying and Updating the Grid
Take It for
a Spin
Tracking the Update with Events
Modifying the Grid Based on Events
Passing Parameters to the
Select Query
DataList Control
Editing Items in List
Controls
Deleting Items from a List Control
Repeater Control
DetailsView Control: Examining One Record at a Time
FormView Control: Examining Single Records as
Master/Detail
Editing with FormView
Inserting New Records
DetailsView and FormView
Events
10. ADO.NET
The ADO.NET Object Model
The DataSet
Class
DbCommand and DbConnection
The DataAdapter Object
The Data Reader Object
Getting Started with ADO.NET
Using a DataReader
Creating Data Relations Within DataSets
Creating Data Objects by Hand
Bug Database Design
Creating
the DataTable by Hand
Creating Primary Keys
Creating Foreign Keys
Creating Data Relations
Stored Procedures
Creating a Simple Stored Procedure
Stored
Procedures with Parameters
Updating with SQL and
ADO.NET
Updating Data with Transactions
The ACID Test
Implementing Transactions
Binding to Business
Objects
11. Forms-Based Security
Authentication
Anonymous
Access
Windows Authentication
Passport Authentication
Forms Authentication
Forms-Based Authentication in Detail
Create the Application
Adding a Password Reminder
Add Roles to ASP.NET Accounts
Using the Web Administrator
Tool to Set Up Roles
Restricting Access to Pages Based on Roles
12. Master Pages and Navigation
Master
Pages
Adding Content Pages
Using Nested Master Pages
Dynamically Editing the Master
Navigation
Getting Started with Site Navigation
Setting Up the Pages
Customizing
the Look and Feel
Populating on Demand
Using a Menu for Navigation
Enumerate Site Map
Nodes Programatically
Filtering Based on Security
Enable
Membership
Adding Roles
Add a Login Page
Create Access Rules
Creating a Permission-Driven Site
Map
13. Personalization
Creating Personalized
Web Sites
Recording Personalization Information
Setting Up Profile Handling
Exploring the Profile
Tables
Personalizing with Complex Types
Anonymous Personalization
Themes and Skins
Create the Test Site
Organize Site Themes and Skins
Enable Themes and
Skins
Specify Themes for Your Page
Setting Stylesheet Themes
Setting Customization Themes
Using Named Skins
Web Parts
Web Parts Architecture
Creating Zones
Adding Controls to Zones
Minimizing
and Restoring
Enabling Editing and Layout Changes
Creating a
User Control to Enable Changing Page Layout
Adding Parts from a Catalog
14. Custom and User Controls
User Controls
User
Controls with Code
@Control Directive
Properties
Handling Events
Custom Controls
Properties
The Render Method
Updating the Control
Maintaining State
Creating Derived Controls
Creating
Composite Controls
15. Creating Web Services
How Web Services
Work
Developing a Web Service
The Proxy
Creating the Consumer
Protocols and Standards
HTTP
XML
SOAP
Web Services Enhancements (WSE)
Creating a Simple Web Service
In-Line with a Text Editor
Code-Behind with Visual Studio
2005
WebService Directive
Deriving from the WebService Class
Application State via HttpContext
WebServiceBinding Attribute
WebMethod
Attribute
The BufferResponse Property
CacheDuration Property
Description Property
EnableSession Property
MessageName
Property
TransactionOption Property
WebService Attribute
Description
Property
Name Property
Namespace Property
Data
Types
Arrays
Classes and Structs
DataSets
StockTickerComplete
Creating Discovery
Documents
Discovery via Query String
Static Discovery Files
Deployment
Pre-Compiled Assemblies
Dynamically Compiled Assemblies
16. Consuming Web Services
Discovery
Creating the Client with VS2005
Creating the Client Manually
Creating the Consumer Web Page Content
Creating the Proxy
Compiling
the Proxy Class
Finishing the Consumer App
Using Asynchronous Method Calls
17. Caching and Performance
Types of
Caching
Class Caching
Configuration Caching
Data Caching
Output Caching
Object Caching
Data Caching
DataSourceControl Caching
SQL Cache Dependency
Output Caching
The OutputCache Directive
Fragment Caching: Caching Part of a Page
Object Caching
Cache Class Functionality
Dependencies
Scavenging
Callback Support
The HttpCachePolicy Class
Performance
ASP.NET-Specific Issues
General .NET Issues
Database Issues
Benchmarking and Profiling
18. Application Logic and Configuration
Internet Information Server (IIS)
IIS Versions
Virtual Directories
Understanding Web Applications
Application-Wide Logic
HttpApplication Object
global.asax
Global Members
Configuring the Application
Hierarchical Configuration
Format
Configuration Settings UI
Web Site
Administration Tool
Other Configuration Settings
Custom Configuration Sections
19. Deployment
Assemblies
Microsoft Intermediate
Language (MSIL)
ILDASM
Manifests
Versioning
Private Versus Shared Assemblies
Strong Names
Local Deployment
Full Runtime Compilation
Manual Compilation of Assemblies
Full Pre-Compilation
Pre-Compilation of Code Only
Global Deployment
Windows Installer
Build Configurations
Adding a Setup Project with
the Setup Wizard
Adding a Setup Project Manually
Further Customizations
Deploying the Web
Site
A. Keyboard Shortcuts
B. Relational Database Technology: A Crash Course
Index
商品描述(中文翻譯)
**描述**
O'Reilly 再次更新了其暢銷的 ASP.NET 教程,這是來自微軟的全球領先網頁開發工具。在《Programming ASP.NET》第三版中,作者 Jesse Liberty 為您詳細介紹了這項技術的最新版本 ASP.NET 2.0 以及 Visual Studio 2005。
ASP.NET 2.0 最顯著的改進之一是其直觀性。事實上,與其前身相比,ASP.NET 2.0 減少了約 75% 的代碼編寫量。創建互動式網頁應用程序從未如此簡單,但這並不意味著它沒有麻煩!ASP.NET 2.0 的難點在於它的完整性和靈活性,必須將許多部分結合在一起,以構建一個穩健、可擴展且高效的應用程序。
幸運的是,《Programming ASP.NET》第三版正是為此而來,提供了您使用這個動態工具所需的所有信息。首先,本書提供了有關 Web Forms 的全面教程,這是賦予網頁應用程序外觀和感覺的用戶界面。接著,它詳細解釋了所有新控件,包括 Web 伺服器控件、HTML 控件和自定義控件。正確使用這些控件,幾乎可以處理所有基礎工作——安全性、數據訪問、佈局等——這些通常需要您自己編寫的代碼。擺脫這些繁瑣的任務後,您可以專注於您的特定應用程序。
這本更新版還包含其他新材料,甚至教您如何為移動設備創建 ASP.NET 2.0 頁面。有了《Programming ASP.NET》第三版在您身邊,編程的可能性幾乎無窮無盡。
**目錄:**
**前言**
**1. ASP.NET 2.0**
.NET Framework 2.0
ASP.NET 2.0
新特性
特殊資料夾使整合更容易
安全性
個性化
主頁面
導航
無需 IIS 的網站
改進的控件
新控件
Visual Studio 2005 (VS2005)
移動設備
進入 VS2005
**2. Visual Studio 2005**
開始頁
檔案系統
HTTP
FTP
創建您的第一個網頁
專案和解決方案
解決方案
專案和檔案
模板
專案名稱
整合開發環境 (IDE)
佈局
建立和運行
菜單和工具列
檔案菜單
編輯菜單
檢視菜單
重構菜單
網站菜單
專案菜單
建置菜單
除錯菜單
數據菜單
格式菜單
工具菜單
視窗菜單
幫助菜單
**3. 控件:基本概念**
事件
ASP.NET 事件
事件參數
應用程序和會話事件
頁面和控件事件
回發與非回發事件
IsPostBack
Visual Studio 2005 中的事件
多個控件對應一個事件處理程序
ASP.NET 伺服器控件
ASP.NET 與瀏覽器
ASP.NET 伺服器控件類別層次結構
CSS 樣式
HTML 伺服器控件
客戶端處理
**4. 基本控件**
基本概念
標籤控件
文本框控件
隱藏欄位控件
按鈕控件
超連結控件
選擇值
核取方塊控件
單選按鈕控件
從列表中選擇
ListItem 物件
核取方塊列表控件
單選按鈕列表控件
下拉列表控件
列表框控件
項目列表控件
表格
表格行
表格單元格
單元格寬度
面板控件
圖片
圖片控件
圖片地圖控件
**5. 進階控件**
MultiView 和 View 控件
向導控件
檔案上傳控件
廣告旋轉控件
廣告檔案
使用 AdRotator
日曆
在日曆中選擇日期
控制日曆的外觀
編程日曆控件
**6. 網站基礎**
頁面
代碼後置
移動到另一頁
超連結
Server.Transfer
Response.Redirect
跨頁發送
狀態
會話狀態
檢視狀態
狀態包
應用程序狀態
生命週期
指令
應用程序指令
程式集指令
控件指令
實作指令
匯入指令
主指令
主類型指令
輸出快取指令
頁面指令
參考指令
註冊指令
**7. 追蹤、除錯和錯誤處理**
創建範例應用程序
追蹤
頁面級追蹤
插入追蹤日誌
應用程序級追蹤
追蹤檢視器
除錯
除錯工具列
中斷點
步進代碼