出版时间:2008-5 出版社:东南大学出版社 作者:利伯蒂 等 页数:498
内容概要
学习本书,Web开发者可以使用微软最新的Web开发工具:ASENET 2.0与新的ASENETAJAX框架,建立迷人的交互站点和应用程序。你将学会如何创建应用程序,其中包括所有你在流行商业网站上见过的精彩技巧,诸如订购表单和交互数据库,以及如何建立无需刷新的交互显示页面等。这本教程会直截了当地教你怎么做。 《学习ASP.NET 2.0与AJAX》通过大量有注释的例子、VB及SQL速查表、图示和章节概要,帮助你掌握微软工具的概念和技术。每个章节还包括一个独立的“头脑体操(Brain Builder)”部分,提供实践练习和复习问题,因此你可以随着学习进程不断操练新的技能,并测试自己对知识的理解程度。拥有这本书,你将可以: 掌握ASP.NET 2.0的基本技能,以创建专业质量的Web应用程序;为建立更闪亮、更交互的站点,将新的A-jax工具及CSS与AsPNET 2.0整合;使用Visual Studio或其免费版Visual Web Developer,以最少的代码构建应用程序;调试应用程序、处理意外的问题并保护站点免受恶毒用户的攻击;将站点与数据库连接,使用户可以获取、交互和存储数据;使用社区维护的ASENET AJAX控件工具包扩展ASPNET AJAX随附的控件;用个性化工具给每个用户展现定制的网站界面。 作为初级web开发者或那些ASP.NET新手们的理想读物,这本书使你能潜心于学习这些明白晓畅的实用课程。想要加入时髦的web开发世界吗?就从此书开始吧。
作者简介
Jesse Liberty,软件Silverlight开发团队高级项目经理,这本书使你能潜心于学习这些明白晓畅的实用课程。想要加入时髦的Web开发世界吗?就从此书开始吧。
书籍目录
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
章节摘录
插图:
图书封面
评论、评分、阅读与下载