Professional ASP.NET 3.5: In C# and VB
暫譯: 專業 ASP.NET 3.5:使用 C# 和 VB

Bill Evjen, Scott Hanselman, Devin Rader

  • 出版商: Wrox Press
  • 出版日期: 2008-03-01
  • 售價: $2,410
  • 貴賓價: 9.5$2,290
  • 語言: 英文
  • 頁數: 1704
  • 裝訂: Paperback
  • ISBN: 0470187573
  • ISBN-13: 9780470187579
  • 相關分類: .NETASP.NETC#
  • 已過版

買這商品的人也買了...

相關主題

商品描述

This book was written to introduce you to the features and capabilities that ASP.NET 3.5 offers, as well as to give you an explanation of the foundation that ASP.NET provides. We assume you have a general understanding of Web technologies, such as previous versions of ASP.NET, Active Server Pages 2.0/3.0, or JavaServer Pages. If you understand the basics of Web programming, you should not have much trouble following along with this book's content.

If you are brand new to ASP.NET, be sure to check out Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars (Wiley Publishing, Inc., 2008) to help you understand the basics.

In addition to working with Web technologies, we also assume that you understand basic programming constructs, such as variables, For Each loops, and object-oriented programming.

You may also be wondering whether this book is for the Visual Basic developer or the C# developer. We are happy to say that it is for both! When the code differs substantially, this book provides examples in both VB and C#.

This book spends its time reviewing the 3.5 release of ASP.NET. Each major new feature included in ASP.NET 3.5 is covered in detail. The following list tells you something about the content of each chapter.

  • Chapter 1, "Application and Page Frameworks." This chapter shows you how to build ASP.NET applications using IIS or the built-in Web server that comes with Visual Studio 2008. This chapter also shows you the folders and files that are part of ASP.NET. It discusses ways to compile code and shows you how to perform cross-page posting. This chapter ends by showing you easy ways to deal with your classes from within Visual Studio 2008.

  • Chapters 2, 3, and 4.These three chapters are grouped here because they all deal with server controls. This batch of chapters starts by examining the idea of the server control and its pivotal role in ASP.NET development. In addition to looking at the server control framework, these chapters delve into the plethora of server controls that are at your disposal for ASP.NET development projects.

  • Chapter 5, "Working with Master Pages."Master pages are a great capability found in ASP.NET. They provide a means of creating templated pages that enable you to work with the entire application, as opposed to single pages.

  • Chapter 6, "Themes and Skins.” This chapter looks at how to deal with the styles that your applications require and shows you how to create a centrally managed look-and-feel for all the pages of your application by using themes and the skin files that are part of a theme.

  • Chapter 7, "Data Binding in ASP.NET 3.5.” One of the more important tasks of ASP.NET is presenting data, and this chapter shows you how to do that with ASP.NET controls.

  • Chapter 8, "Data Management with ADO.NET.” This chapter presents the ADO.NET data model provided by ASP.NET, which allows you to handle the retrieval, updating, and deleting of data quickly and logically.

  • Chapter 9, "Querying with LINQ." LINQ is a set of extensions to the .NET Framework that encompass language-integrated query, set, and transform operations. This chapter introduces you to LINQ and how to use this new feature in web applications today.

  • Chapter 10, "Working with XML and LINQ to XML." This chapter looks at the XML technologies built into ASP.NET and the underlying .NET Framework to help you easily extract, create, manipulate, and store XML..

  • Chapter 11, "IIS7." Probably the most substantial release of IIS in its history, IIS 7.0 will change the way you host and work with your ASP.NET applications.

  • Chapter 12, "Introduction to the Provider Model." A number of systems are built into ASP.NET that make the lives of developers so much easier and more productive than ever before. These systems are built upon an architecture called a provider model, which is rather extensible. This chapter gives an overview of this provider model and how it is used throughout ASP.NET 3.5.

  • Chapter 13, "Extending the Provider Model." This chapter looks at some of the ways to extend the provider model found in ASP.NET 3.5. This chapter also reviews a couple of sample extensions to the provider model.

  • Chapter 14, "Site Navigation." Many developers do not simply develop single pages—they build applications. One of the application capabilities provided by ASP.NET 3.5 is the site navigation system covered in this chapter.

  • Chapter 15, "Personalization.". The ASP.NET team developed a way to store end user information—the ASP.NET personalization system.

  • Chapter 16, "Membership and Role Management." This chapter covers the membership and role management system developed to simplify adding authentication and authorization to your ASP.NET applications. This chapter focuses on using the web.config file for controlling how these systems are applied, as well as on the server controls that work with the underlying systems.

  • Chapter 17, "Portal Frameworks and Web Parts." This chapter explains Web Parts—a way of encapsulating pages into smaller and more manageable objects.

  • Chapter 18, "HTML and CSS Design with ASP.NET." A lot of focus on building a CSS-based Web application was placed on Visual Studio 2008. This chapter takes a close look at how you can effectively work with HTML and CSS design for your ASP.NET applications.

  • Chapter 19, "ASP.NET AJAX."AJAX signifies the capability to build applications that make use of the XMLHttpRequest object. New to Visual Studio 2008 is the ability to build AJAX-enabled ASP.NET applications from the default install of the IDE.

  • Chapter 20, "ASP.NET AJAX Control Toolkit." This chapter takes a good look at the ASP.NET AJAX Control Toolkit, a series of new controls that are now available to make AJAX web development rather simple.

  • Chapter 21, "Security." This security chapter discusses security beyond the membership and role management features provided by ASP.NET 3.5. This chapter provides an in-depth look at the authentication and authorization mechanics inherent in the ASP.NET technology, as well as HTTP access types and impersonations.

  • Chapter 22, "State Management." Because ASP.NET is a request-response–based technology, state management and the performance of requests and responses take on significant importance. This chapter introduces these two separate but important areas of ASP.NET development.

  • Chapter 23 , "Caching." Because of the request-response nature of ASP.NET, caching on the server becomes important to the performance of your ASP.NET applications. This chapter looks at some of the advanced caching capabilities provided by ASP.NET, including the SQL cache invalidation feature which is part of ASP.NET 3.5.

  • Chapter 24, "Debugging and Error Handling." This chapter tells you how to properly structure error handling within your applications. It also shows you how to use various debugging techniques to find errors that your applications might contain.

  • Chapter 25, "File I/O and Streams." More often than not, you want your ASP.NET applications to work with items that are outside the base application. This chapter takes a close look at working with various file types and streams that might come into your ASP.NET applications.

  • Chapter 26, "User and Server Controls." This chapter describes building your own server controls and how to use them within your applications.

  • Chapter 27, "Modules and Handlers." This chapter looks at two methods of manipulating the way ASP.NET processes HTTP requests: HttpModule and HttpHandler. Each method provides a unique level of access to the underlying processing of ASP.NET and can be powerful tools for creating web applications.

  • Chapter 28, "Using Business Objects." You are going to have components created with previous technologies that you do not want to rebuild but that you do want to integrate into new ASP.NET applications. Beyond showing you how to integrate your COM components into your applications, this chapter shows you how to build newer style .NET components instead of turning to the previous COM component architecture.

  • Chapter 29, "Building and Consuming Services." This chapter reveals the ease not only of building XML Web services, but consuming them in an ASP.NET application. This chapter then ventures further by describing how to build XML Web services that utilize SOAP headers and how to consume this particular type of service.

  • Chapter 30, "Localization." ASP.NET provides an outstanding way to address the internationalization of Web applications. This chapter looks at some of the important items to consider when building your Web applications for the world.

  • Chapter 31, "Configuration." This chapter teaches you to modify the capabilities and behaviors of ASP.NET using the various configuration files at your disposal.

  • Chapter 32, "Instrumentation." The ASP.NET framework includes performance counters, the capability to work with the Windows Event Tracing system, possibilities for application tracing , and the most exciting part of this discussion—a health monitoring system that allows you to log a number of different events over an application's lifetime.

  • Chapter 33, "Administration and Management." This chapter provides an overview of the new GUI tools that come with APS.NET that enable you to manage your Web applications easily and effectively.

  • Chapter 34, "Packaging and Deploying ASP.NET Applications." This chapter takes ...

商品描述(中文翻譯)

這本書旨在介紹 ASP.NET 3.5 所提供的功能和能力,並解釋 ASP.NET 所提供的基礎。我們假設您對網頁技術有一般的了解,例如之前版本的 ASP.NET、Active Server Pages 2.0/3.0 或 JavaServer Pages。如果您了解網頁程式設計的基本概念,您應該不會在跟隨本書內容時遇到太多困難。

如果您對 ASP.NET 完全陌生,請務必參考 Imar Spaanjaars 所著的《Beginning ASP.NET 3.5: In C# and VB》(Wiley Publishing, Inc., 2008),以幫助您理解基礎知識。

除了處理網頁技術外,我們還假設您了解基本的程式設計結構,例如變數、ForEach 迴圈,以及物件導向程式設計。

您可能也在想這本書是針對 Visual Basic 開發者還是 C# 開發者。我們很高興地告訴您,這本書適用於兩者!當代碼有顯著差異時,本書會提供 VB 和 C# 的範例。

本書花時間回顧 ASP.NET 3.5 的版本。每個主要的新功能都會詳細介紹。以下列表告訴您每一章的內容。



  • 第 1 章,'應用程式和頁面框架.' 本章展示如何使用 IIS 或隨 Visual Studio 2008 附帶的內建網頁伺服器來構建 ASP.NET 應用程式。本章還展示了 ASP.NET 的資料夾和檔案,討論了編譯代碼的方法,並展示了如何執行跨頁面發送。本章最後展示了如何輕鬆地從 Visual Studio 2008 中處理您的類別。




  • 第 2、3 和 4 章. 這三章在此分組,因為它們都涉及伺服器控制項。這一批章節首先檢視伺服器控制項的概念及其在 ASP.NET 開發中的關鍵角色。除了查看伺服器控制項框架外,這些章節深入探討了可供您在 ASP.NET 開發專案中使用的各種伺服器控制項。




  • 第 5 章,'使用母版頁面.' 母版頁面是 ASP.NET 中的一個優秀功能。它們提供了一種創建模板頁面的方式,使您能夠處理整個應用程式,而不僅僅是單個頁面。




  • 第 6 章,'主題和樣式.' 本章探討如何處理應用程式所需的樣式,並展示如何通過使用主題和主題檔案來創建所有頁面的集中管理外觀和感覺。




  • 第 7 章,'ASP.NET 3.5 中的資料綁定.' ASP.NET 的一個重要任務是呈現資料,本章展示了如何使用 ASP.NET 控制項來做到這一點。




  • 第 8 章,'使用 ADO.NET 進行資料管理.' 本章介紹了 ASP.NET 提供的 ADO.NET 資料模型,該模型允許您快速且邏輯地處理資料的檢索、更新和刪除。




  • 第 9 章,'使用 LINQ 查詢.' LINQ 是一組擴展 .NET Framework 的功能,涵蓋語言整合查詢、集合和轉換操作。本章介紹了 LINQ 及如何在當今的網頁應用程式中使用這一新功能。




  • 第 10 章,'使用 XML 和 LINQ to XML.' 本章探討了內建於 ASP.NET 和底層 .NET Framework 的 XML 技術,以幫助您輕鬆提取、創建、操作和存儲 XML。




  • 第 11 章,'IIS7.' IIS 7.0 可能是 IIS 歷史上最重要的版本,它將改變您托管和處理 ASP.NET 應用程式的方式。




  • 第 12 章,'提供者模型介紹.' ASP.NET 中內建了多個系統,使開發者的生活比以往任何時候都更輕鬆和高效。這些系統建立在一種稱為 提供者模型 的架構上,該架構相當可擴展。本章概述了這一提供者模型及其在 ASP.NET 3.5 中的使用。




  • 第 13 章,'擴展提供者模型.' 本章探討了在 ASP.NET 3.5 中擴展提供者模型的一些方法。本章還回顧了幾個提供者模型的範例擴展。




  • 第 14 章,'網站導航.' 許多開發者不僅僅開發單頁面——他們構建應用程式。ASP.NET 3.5 提供的應用程式功能之一是本章所涵蓋的網站導航系統。




  • 第 15 章,'個人化.' ASP.NET 團隊開發了一種存儲最終用戶資訊的方法——ASP.NET 個人化系統。




  • 第 16 章,'會員和角色管理.' 本章涵蓋了為簡化在 ASP.NET 應用程式中添加身份驗證和授權而開發的會員和角色管理系統。本章重點介紹如何使用 web.config 檔案來控制這些系統的應用,以及與底層系統協作的伺服器控制項。




  • 第 17 章,'入口網站框架和網頁部件.' 本章解釋了網頁部件——一種將頁面封裝成更小且更易管理的物件的方法。




  • 第 18 章,'使用 ASP.NET 設計 HTML 和 CSS.' 在 Visual Studio 2008 中,對於構建基於 CSS 的網頁應用程式的重點放得相當多。本章仔細探討了如何有效地處理 ASP.NET 應用程式的 HTML 和 CSS 設計。




  • 第 19 章,'ASP.NET AJAX.' AJAX 代表了構建利用 XMLHttpRequest 物件的應用程式的能力。在 Visual Studio 2008 中,新增了從 IDE 的預設安裝構建 AJAX 啟用的 ASP.NET 應用程式的能力。




  • 第 20 章,'ASP.NET AJAX 控制工具包.' 本章詳細介紹了 ASP.NET AJAX 控制工具包,這是一系列新的控制項,現在可用於簡化 AJAX 網頁開發。




  • 第 21 章,'安全性.' 本章討論了超越 ASP.NET 3.5 提供的會員和角色管理功能的安全性。本章深入探討了 ASP.NET 技術固有的身份驗證和授權機制,以及 HTTP 存取類型和模擬。




  • 第 22 章,'狀態管理.' 由於 ASP.NET 是基於請求-回應的技術,狀態管理以及請求和回應的性能變得非常重要。本章介紹了這兩個獨立但重要的 ASP.NET 開發領域。




  • 第 23 章,'快取.' 由於 ASP.NET 的請求-回應特性,伺服器上的快取對於您的 ASP.NET 應用程式的性能變得重要。本章探討了 ASP.NET 提供的一些先進快取功能,包括 ASP.NET 3.5 中的一部分 SQL 快取失效功能。




  • 第 24 章,'除錯和錯誤處理.' 本章告訴您如何在應用程式中正確結構化錯誤處理。它還展示了如何使用各種除錯技術來查找應用程式可能包含的錯誤。




  • 第 25 章,'檔案 I/O 和串流.' 您通常希望您的 ASP.NET 應用程式能夠處理基礎應用程式之外的項目。本章仔細探討了如何處理可能進入您的 ASP.NET 應用程式的各種檔案類型和串流。




  • 第 26 章,'使用者和伺服器控制項.' 本章描述了如何構建自己的伺服器控制項以及如何在應用程式中使用它們。




  • 第 27 章,'模組和處理器.' 本章探討了兩種操控 ASP.NET 處理 HTTP 請求的方法:HttpModule 和 HttpHandler。每種方法都提供了對 ASP.NET 底層處理的獨特訪問級別,並且可以成為創建網頁應用程式的強大工具。




  • 第 28 章,'使用業務物件.' 您將擁有使用先前技術創建的組件,您不想重建這些組件,但希望將它們整合到新的 ASP.NET 應用程式中。本章不僅展示了如何將您的 COM 組件整合到應用程式中,還展示了如何構建更新風格的 .NET 組件,而不是轉向先前的 COM 組件架構。




  • 第 29 章,'構建和消費服務.' 本章揭示了構建 XML 網頁服務的簡易性,以及在 ASP.NET 應用程式中消費這些服務的簡易性。本章進一步描述了如何構建利用 SOAP 標頭的 XML 網頁服務,以及如何消費這種特定類型的服務。




  • 第 30 章,'本地化.' ASP.NET 提供了一種出色的方法來解決網頁應用程式的國際化問題。本章探討了在為全球構建網頁應用程式時需要考慮的一些重要項目。




  • 第 31 章,'配置.' 本章教您如何使用各種可用的配置檔案來修改 ASP.NET 的功能和行為。




  • 第 32 章,'儀表板.' ASP.NET 框架包括性能計數器、與 Windows 事件追蹤系統的協作能力、應用程式追蹤的可能性,以及本討論中最令人興奮的部分——一個健康監控系統,允許您在應用程式的生命週期中記錄多種不同的事件。




  • 第 33 章,'管理和管理.' 本章提供了與 ASP.NET 一起提供的新 GUI 工具的概述,這些工具使您能夠輕鬆有效地管理您的網頁應用程式。




  • 第 34 章,'打包和部署 ASP.NET 應用程式.' 本章將...



最後瀏覽商品 (20)