買這商品的人也買了...
-
$1,580$1,501 -
$299Learning Web Design: A Beginner's Guide to HTML, Graphics, and Beyond (Paperback)
-
$1,610$1,530 -
$836Visual Basic.Net Developer's Headstart
-
$1,750$1,663 -
$1,730$1,644 -
$2,240$2,128 -
$875Visual Basic .NET Developer's Guide to ASP.NET, XML and ADO.NET
-
$960$912 -
$2,040$1,938 -
$199HTML: A Beginner's Guide, 2/e (Paperback)
-
$525Introducing Microsoft .Net, 3/e (Paperback)
-
$399Beginning ASP.NET 1.1 with VB.NET 2003 (Paperback)
-
$315SharePoint Office Pocket Guide
-
$99ASP.NET 2.0 Demystified
-
$299Foundations of Atlas: Rapid Ajax Development with ASP.NET 2.0 (Paperback)
-
$840$798 -
$199101 Ways to Promote Your Web Site: Filled with Proven Internet Marketing Tips, Tools, Techniques, and Resources to Increase Your Web Site Traffic, 6/e
-
$1,420$1,349 -
$1,501Principles of Software Development Leadership: Applying Project Management Principles to Agile Software Development (Paperback)
-
$1,103Twitter API: Up and Running: Learn How to Build Applications with the Twitter API (Paperback)
-
$1,450$1,378 -
$580$493 -
$301Oracle DBA手記︰數據庫診斷案例與性能優化實踐
-
$630Getting Started with Netduino (Paperback)
相關主題
商品描述
Description:
Get expert guidance on how to use the powerful new functionality of ASP.NET to build dynamic, scalable, Web-based applications.
ASP.NET, the next generation of Active Server Pages, provides a new programming model based on the Microsoft® .NET Framework for writing Web applications. Learn about ASP.NET development—with reusable code samples in languages such as Microsoft Visual Basic® .NET and Microsoft Visual C#™—in DESIGNING MICROSOFT ASP.NET APPLICATIONS. This book provides an in-depth look at how to create ASP.NET applications and how they work under the covers. You’ll learn how to create Web Forms and reusable components and how to develop XML Web services. You’ll also learn how to create database-enabled ASP.NET applications that use XML (Extensible Markup Language) and ADO.NET (a new version of Microsoft ActiveX® Data Objects). Coverage in this guide includes:
• Managed code and the common language runtime
• Overview of the .NET Framework and languages
• The ASP.NET development model
• Creating and using Web Forms and controls
• Creating ASP.NET components
• Balancing server vs. client functionality
• Getting and displaying data: XML and ADO.NET
• Creating and consuming XML Web services
INCLUDED ON CD-ROM:
• Sample source code in Microsoft Visual Basic .NET and Microsoft Visual C# for all the book’s examples
Table of Contents:
Acknowledgments | xi |
Introduction | xiii |
1 Introduction to ASP.NET Development | 1 |
The Problem: Developing Dynamic Web Applications | 2 |
One Solution: Common Gateway Interface | 3 |
The Good News About CGI | 5 |
The Bad News About CGI | 6 |
Another Solution: Internet Server Application Programming Interface | 7 |
The Good News About ISAPI | 10 |
The Bad News About ISAPI | 10 |
A Better Solution: Active Server Pages | 11 |
The Good News About ASP | 16 |
The Bad News About ASP | 16 |
A New Solution: ASP.NET | 19 |
Conclusion | 20 |
2 Managed Code and the Common Language Runtime | 21 |
Overview of the .NET Framework | 22 |
Introduction to Microsoft Intermediate Language | 24 |
Getting the JITters—Just in Time! | 30 |
Managed Code and Data | 31 |
About Unsafe Code | 33 |
Conclusion | 33 |
3 The .NET Framework Objects and Languages | 35 |
The .NET Solution to Type Compatibility | 37 |
Value Types | 38 |
Reference Types | 40 |
Built-In Reference Types | 41 |
Other Objects in the .NET Framework | 45 |
Overview of Visual Basic .NET | 47 |
Out with the Old! | 47 |
In with the New! | 50 |
C# (C Sharp) Overview | 57 |
Differences Between C++ and C# | 58 |
Things You Can Do in C# but Not in Visual Basic .NET | 60 |
Conclusion | 64 |
4 ASP.NET Development 101 | 65 |
Hello ASP.NET World! | 65 |
A C# Example | 66 |
A Visual Basic .NET Example | 69 |
The ASP.NET Development Model | 71 |
Creating an ASP.NET Web Application with Visual Studio .NET | 72 |
Visual Studio .NET Interactions with Internet Information Services (IIS) | 75 |
Your First Visual Studio .NET Web Page | 76 |
Other Types of ASP.NET Applications | 81 |
XML Web Services | 81 |
HTTP Handlers and HTTP Modules | 84 |
Configuring an Application | 85 |
Where Does the Web.config File Go? | 87 |
The authentication Section | 88 |
The authorization Section | 95 |
The customErrors Section | 95 |
The httpHandlers Section | 97 |
The httpModules Section | 98 |
The identity Section | 99 |
The pages Section | 100 |
The processModel Section | 101 |
The sessionState Section | 104 |
The trace Section | 105 |
Conclusion | 108 |
5 Web Forms | 109 |
Using the Classic ASP Program Architecture | 110 |
An Example of ASP.NET Form Validation | 114 |
ASP.NET Server Controls vs. HTML Server Controls | 117 |
Using Validator Controls | 118 |
The RequiredFieldValidator Control | 119 |
The CompareValidator Control | 124 |
Other Validators | 129 |
Multiple Validators on a Single Field | 138 |
The ValidationSummary Control | 143 |
Maintaining the State of Controls in ASP.NET | 148 |
Manipulating Server Controls Programmatically | 152 |
Conclusion | 164 |
6 Creating ASP.NET Components | 165 |
The Trouble with Components | 165 |
ASP.NET Control Classes | 168 |
The Life Cycle of a Control | 170 |
Creating User Controls | 172 |
Preparing a Web Page to Be Converted to a User Control | 172 |
Converting a Web Page to a User Control | 176 |
Creating Custom Controls | 187 |
A Simple Custom Control | 187 |
Creating Custom Controls in Visual Studio .NET | 191 |
A More Complicated Custom Control | 193 |
A Composite Custom Control | 200 |
Installing a Control in Visual Studio .NET | 205 |
Enhancing Design-Time Support | 211 |
Conclusion | 213 |
7 Balancing Server and Client Functionality | 215 |
Client-Side Scripting | 216 |
How ASP.NET Uses Client-Side Scripting | 218 |
Firing Postbacks from a Custom Control | 223 |
Creating an Extensive Client-Side Web Control | 228 |
Conclusion | 240 |
8 Time to Get the Data! | 241 |
XML as the Universal Data Language | 241 |
Current Solutions to Formatting Data vs. the XML Approach | 242 |
Is XML Perfect? | 244 |
Using the IEnumerator Interface | 244 |
Introducing ADO.NET | 249 |
ADO Overview | 249 |
Differences Between ADO and ADO.NET | 250 |
Using ADO.NET from ASP.NET | 252 |
SqlClient vs. OleDb Classes | 273 |
Generating XML from Data | 274 |
Conclusion | 277 |
9 Data and ASP.NET Forms | 279 |
Accessing Data Using ASP Forms | 279 |
Accessing Data Using ASP.NET Forms | 282 |
The DataGrid Server Control | 282 |
Modifying a Data Grid Using the Visual Studio .NET Designer | 284 |
Modifying a Data Grid Using Visual Basic .NET | 290 |
The Repeater Server Control | 298 |
Repeater Control Basics | 300 |
Creating Data Entry Pages | 310 |
Creating the User Interface | 312 |
Processing Data Entry | 320 |
Conclusion | 332 |
10 XML Web Services | 333 |
Standards for XML Web Services | 334 |
Creating a Simple XML Web Service | 336 |
Expanding and Testing the XML Web Service | 337 |
Using WebMethod Attribute Properties | 342 |
Consuming a Simple XML Web Service | 344 |
XML Web Services and Command-Line Tools | 351 |
A Real-World XML Web Service: Article Distribution | 355 |
Security Options | 355 |
Creating and Testing the XML Web Service | 356 |
Consuming the XML Web Service | 361 |
Possible Enhancements | 364 |
Conclusion | 366 |
APPENDIX A Configuring ASP.NET Applications in IIS | 367 |
ASP.NET User Authentication | 367 |
Creating a New Virtual Directory in IIS | 368 |
APPENDIX B What You Need to Know About HTML to Use This Book | 377 |
HTML Tags | 378 |
HTML Links | 378 |
HTML Widgets | 379 |
HTML Tables | 382 |
INDEX | 387 |
商品描述(中文翻譯)
描述:
獲得專家指導,了解如何使用 ASP.NET 的強大新功能來構建動態、可擴展的基於網頁的應用程式。
ASP.NET 是 Active Server Pages 的下一代,提供了一種基於 Microsoft® .NET Framework 的新程式設計模型,用於編寫網頁應用程式。在《設計 Microsoft ASP.NET 應用程式》中學習 ASP.NET 開發,並提供 Microsoft Visual Basic® .NET 和 Microsoft Visual C#™ 等語言的可重用程式碼範例。本書深入探討如何創建 ASP.NET 應用程式及其內部運作方式。您將學習如何創建 Web Forms 和可重用組件,以及如何開發 XML Web 服務。您還將學習如何創建使用 XML(可擴展標記語言)和 ADO.NET(Microsoft ActiveX® 數據對象的新版本)的數據庫啟用 ASP.NET 應用程式。本指南的內容包括:
• 管理代碼和公共語言執行時
• .NET Framework 和語言概述
• ASP.NET 開發模型
• 創建和使用 Web Forms 和控制項
• 創建 ASP.NET 組件
• 平衡伺服器與客戶端功能
• 獲取和顯示數據:XML 和 ADO.NET
• 創建和消費 XML Web 服務
隨附 CD-ROM:
• Microsoft Visual Basic .NET 和 Microsoft Visual C# 的範例源代碼,涵蓋本書的所有範例
目錄:
致謝 xi
引言 xiii
1 ASP.NET 開發簡介 1
問題:開發動態網頁應用程式 2
一個解決方案:通用閘道介面 3
CGI 的好消息 5
CGI 的壞消息 6
另一個解決方案:網際網路伺服器應用程式介面 7
ISAPI 的好消息 10
ISAPI 的壞消息 10
更好的解決方案:Active Server Pages 11
ASP 的好消息 16
ASP 的壞消息 16
新的解決方案:ASP.NET 19
結論 20
2 管理代碼和公共語言執行時 21
.NET Framework 概述 22
Microsoft 中介語言介紹 24
獲得 JITters—即時! 30
管理代碼和數據 31
關於不安全代碼 33
結論 33
3 .NET Framework 物件和語言 35
.NET 解決方案的類型相容性 37
值類型 38
參考類型 40
內建參考類型 41
.NET Framework 中的其他物件 45
Visual Basic .NET 概述 47
舊的淘汰! 47
新的引入! 50
C#(C Sharp)概述 57
C++ 和 C# 之間的差異 58
您可以在 C# 中做但在 Visual Basic .NET 中做不到的事情 60
結論 64
4 ASP.NET 開發 101 65
你好 ASP.NET 世界! 65
C# 範例 66
Visual Basic .NET 範例 69
ASP.NET 開發模型 71
使用 Visual Studio .NET 創建 ASP.NET 網頁應用程式 72
Visual Studio .NET 與網際網路資訊服務(IIS)的互動 75
您的第一個 Visual Studio .NET 網頁 76
其他類型的 ASP.NET 應用程式 81
XML Web 服務 81
HTTP 處理程式和 HTTP 模組 84
配置應用程式 85
Web.config 檔案放在哪裡? 87