出版時間:2008-5 出版社:東南大學出版社 作者:利伯蒂 等 頁數(shù):498
內(nèi)容概要
學習本書,Web開發(fā)者可以使用微軟最新的Web開發(fā)工具:ASENET 2.0與新的ASENETAJAX框架,建立迷人的交互站點和應用程序。你將學會如何創(chuàng)建應用程序,其中包括所有你在流行商業(yè)網(wǎng)站上見過的精彩技巧,諸如訂購表單和交互數(shù)據(jù)庫,以及如何建立無需刷新的交互顯示頁面等。這本教程會直截了當?shù)亟棠阍趺醋觥? 《學習ASP.NET 2.0與AJAX》通過大量有注釋的例子、VB及SQL速查表、圖示和章節(jié)概要,幫助你掌握微軟工具的概念和技術。每個章節(jié)還包括一個獨立的“頭腦體操(Brain Builder)”部分,提供實踐練習和復習問題,因此你可以隨著學習進程不斷操練新的技能,并測試自己對知識的理解程度。擁有這本書,你將可以: 掌握ASP.NET 2.0的基本技能,以創(chuàng)建專業(yè)質(zhì)量的Web應用程序;為建立更閃亮、更交互的站點,將新的A-jax工具及CSS與AsPNET 2.0整合;使用Visual Studio或其免費版Visual Web Developer,以最少的代碼構建應用程序;調(diào)試應用程序、處理意外的問題并保護站點免受惡毒用戶的攻擊;將站點與數(shù)據(jù)庫連接,使用戶可以獲取、交互和存儲數(shù)據(jù);使用社區(qū)維護的ASENET AJAX控件工具包擴展ASPNET AJAX隨附的控件;用個性化工具給每個用戶展現(xiàn)定制的網(wǎng)站界面。 作為初級web開發(fā)者或那些ASP.NET新手們的理想讀物,這本書使你能潛心于學習這些明白曉暢的實用課程。想要加入時髦的web開發(fā)世界嗎?就從此書開始吧。
作者簡介
Jesse Liberty,軟件Silverlight開發(fā)團隊高級項目經(jīng)理,這本書使你能潛心于學習這些明白曉暢的實用課程。想要加入時髦的Web開發(fā)世界嗎?就從此書開始吧。
書籍目錄
Cheat SheetsPreface1. Getting Started Hello World Creating a New Web Site Creating HelloWorld Making the HelloWorld Web Site Interactive What You Just Did Summary Brain Builder2. Building Web Applicati0ns Mastering Web Site Fundamentals The Page Controls Code-Behind Files Events and Postbacks Synchronous and Asynchronous Postbacks The Page Load event and synchronous postback Adding asynchronous postbacks Controls Organizing the Properties Window Finding properties with IntelliSense Basic Controls Creating Tables Setting Properties Selection Controls Panels Selection Controls Adding controls with the Item editor Adding items in Source View More Selection Controls Displaying Text Images Links LinkButtons Source Code Summary Brain Builder3. Snappier Web Sites with MAX Take a Walk on the Client Side ScriptManager Extending Controls with the Control Toolkit TextBoxWaterMarkExtender PopupControlExtender CollapsiblePanelExtender Source Code Listing Summary Brain Builder4. Saving and Retrieving Data Getting Data from a Database Binding Data Controls Create a Sample Web Page Using a DataSource Control "Pay No Attention to That Man Behind the Curtain" Using the GridView Control Auto-Generated Code Adding Insert, Update, and Delete Statements Displaying and Updating the Data Take It for a Spin Modifying the Grid Based on Events Selecting Data from the GridView Passing Parameters to the SELECT Query Source Code Listings Summary Brain Builder5. Validation Validation Controls The RequiredFieldValidator The Summary Control The Compare Validator Checking the Input Type Comparing to Another Control Range Checking Regular Expressions Custom Validation Summary Brain Builder6. Style Sheets, Master Pages, and Navigation Styles and Style Sheets Cascading Style Sheets Inline Styles Pros and cons Document-Level Styles Pros and cons External Style Sheets Master Pages Creating a Master Page Adding Content Pages Using Nested Master Pages Changing the Master Page at Runtime Navigation Buttons and HyperLinks Menus and Bread Crumbs Site Maps Using Sitemaps TreeView Customizing the look and feel of the TreeView Replacing the TreeView with a menu control Accessing site map nodes programmatically Bread Crumbs Summary Brain Builder7. State and Life Cycle Page Life Cycle State View State Session State Application State Summary Brain Builder8. Errors, Exceptions, and Bugs, Oh My! Creating the Sample Application Tracing Page-Level Tracing Inserting into the Trace Log Debugging The Debug Toolbar Breakpoints Setting a breakpoint Breakpoint window Breakpoint properties Breakpoint icons Stepping Through Code Examining Variables and Objects Debug Windows Immediate window Locals window Watch window Call Stack window Error Handling Unhandled Errors Application-Wide Error Pages Page-Specific Error Pages Summary Brain Builder9. Security and Personalization Forms-Based Security Creating Users with the WAT Managing Users Programmatically Creating user accounts Creating a welcome page Creating a login page Roles Restricting Access Testing for login status Testing for role-based authentication membership Personalization Profiles Simple data types Complex data types Anonymous Personalization Migrating anonymous data to an actual user's record Themes and Skins Create the Test Site Organize Site Themes and Skins Enable Themes and Skins Specify Themes for Your Page Using Named Skins Summary Brain Builder10. Putting It All Together Getting Started Adding Styles Using Master Pages Setting Up Roles and Users Logging In Navigation Products Page Adding AJAX Cart Page Purchase Page Confirm Page Custom Error Pages Summary Source Code Listings Cart Page Confirm Page Home Page Login Page Master Page Products Page Purchase Page Web.config A. Installing the Applications B. Copying a Web Site C. Answers to Quizzes and Exercises.Index
章節(jié)摘錄
插圖:
圖書封面
評論、評分、閱讀與下載