Professional Silverlight 2 for ASP.NET Developers (Paperback)
暫譯: ASP.NET 開發者專業 Silverlight 2
Jonathan Swift, Salvador Alvarez Patuel, Chris Barker, Dan Wahlin
- 出版商: Wrox Press
- 出版日期: 2009-02-03
- 售價: $1,920
- 貴賓價: 9.5 折 $1,824
- 語言: 英文
- 頁數: 672
- 裝訂: Paperback
- ISBN: 0470277750
- ISBN-13: 9780470277751
-
相關分類:
.NET、ASP.NET
已過版
買這商品的人也買了...
-
$890$703 -
$1,080CMMI: Guidelines for Process Integration and Product Improvement, 2/e
-
$550$468 -
$1,225MCTS Self-Paced Training Kit (Exam 70-529): Microsoft .NET Framework 2.0 Distributed Application Development
-
$490$387 -
$540$459 -
$1,480$1,406 -
$1,730$1,644 -
$1,600$1,520 -
$580$452 -
$700$553 -
$199Beginning Silverlight 2: From Novice to Professional (Paperback)
-
$1,650$1,568 -
$1,760$1,672 -
$880$695 -
$690$587 -
$650$514 -
$650$514 -
$650$514 -
$1,760$1,672 -
$320$272 -
$480$379 -
$299Accelerated Silverlight 3 (Paperback)
-
$820$648 -
$620$527
相關主題
商品描述
Our overarching goal in writing this book was to give ASP.NET developers the power to quickly and easily create visually stunning Internet applications, coupled with rich interactivity to fully immerse the user in a new online experience. Silverlight gives you everything you need to do just this, and in serious style!
As well as taking you through each feature that ships with Silverlight, this book will make sure you’re able to debug, troubleshoot, and performance-tune your Silverlight applications, as well as seamlessly hook into your existing ASP.NET architecture and code base.
This book is aimed at .NET developers and architects who want to quickly get up to speed with all that Silverlight 2 has to offer.
As well as covering the breadth of features that Silverlight 2 provides, this book makes a point of demonstrating where necessary how the particular feature can be integrated tightly with the ASP.NET host application. An example is in Chapter 7, where the ASP.NET Profile service is utilized directly from within Silverlight to obtain user-specific data.
It’s fair to say that although this book is aimed at ASP.NET developers, it covers all of the salient features of Silverlight 2 to the degree that it’s a useful programming resource for developers not using ASP.NET also.
If you’re fresh to .NET development, however, you might want to check out a beginning .NET book first, to help you overcome the syntax and set-up queries when learning a new language. Otherwise, take a deep breath and dive in!
This book covers the full feature set of Silverlight 2, diving into each of the subject areas to give depth and breadth coverage. As well as teaching you about the component parts of the Silverlight API, the book also covers debugging, troubleshooting, and performance-tuning your Silverlight applications, arming you with all the skills and knowledge you’ll need to create advanced Silverlight-based applications in record time.
Importantly, this book covers the integration points between ASP.NET and Silverlight, taking you through the different techniques you can use to seamlessly augment your existing or new ASP.NET web sites with the power of Silverlight.
If you want to program in Silverlight and potentially use ASP.NET as the host, then this book covers it all.
The book is split into two distinct parts. Part I is titled “Silverlight Fundamentals for ASP.NET Developers,” and Part II is titled “Developing ASP.NET Applications with Silverlight.” Part I is intended to give you grounding in what Silverlight is as a technology and how it fits into the Web-based landscape. The component pieces of a Silverlight application are also laid out at a high level, and any knowledge required before putting an application together is explained.
Part II is written to give you depth of knowledge across the Silverlight feature-set and show you how to leverage the power of both Silverlight and ASP.NET to create compelling applications.
A brief synopsis of the content follows:
“Silverlight in a Nutshell”—This will teach you at a high level what Silverlight is and how it can help you deliver engaging, immersive web applications. Differentiating Silverlight from other Web-based technologies is also covered here, and a description of the required development environment is provided. In short, after reading this, you’ll be able to describe Silverlight and explain why you’d want to use it and what gives it the edge over the competition.
“Silverlight Architecture”—Silverlight allows you to rapidly build a well-rounded application with a great user interface, but if you encounter any problems during development, it is going to be important for you to understand the underlying architecture upon which you are developing. This outlines the core features of Silverlight 2 and guides you around the building blocks of this highly flexible framework, paying particular attention throughout to your ASP.NET heritage.
“XAML Condensed”—Quickly getting up to speed with XAML is what this is all about, helping you brush aside the syntax queries and get to grips with the basics of this multi-purpose declarative language. Hooking the XAML files up to .NET code is also shown here, helping you inject dynamic event-driven actions into your Silverlight UI. Finally, one technique for the dynamic creation of XAML is shown, followed by a tour of Expression Blend.
“Programming Silverlight”—By the time you get here, you’ll be itching to start coding, and code you will as the feature-agnostic programming constructs that make up a Silverlight application are covered in detail. The composition of a Silverlight application is laid bare and its constituent parts explained at length, as well as detailing the Silverlight application lifetime and how to hook into it. The different options for embedding the Silverlight plug-in within your application are covered, followed by a brief overview of JavaScript and its associated DOM. This then leads onto a discussion of the Silverlight Object Model, explaining how the visual tree is constructed to form the UI. Another technique for dynamically creating XAML and adding it to the visual tree is also shown here. Finally, the Silverlight event model, browser interaction, and threading model are covered for you.
“Creating the User Interface”—You now know how to program Silverlight and how to write XAML. This shows you how to put it all together to start laying out the user interface of your Silverlight application. Each of the layout controls that ship with Silverlight is covered here—
Canvas
,Grid
,StackPanel
, andTabControl
—including information on when to use which one. Information on how to create a scalable UI is also provided, followed finally by a section that details how to localize your application, thereby making it available to other languages and cultures.“Silverlight Controls”—Silverlight 2 provides an assortment of controls that can be used to display and capture data. In this, you’ll learn to work with user input controls, items controls, and media controls and see how they can be put to use to build interactive and rich user interfaces. You’ll also learn how to use controls such as the
MultiScaleImage
control to work with Silverlight’s Deep Zoom technology.“Styles and Templates”—Altering the look and feel of your application is the crux here, with the different techniques for applying styling information to the controls that comprise it demonstrated here. As well as this, integrating with the ASP.NET Profile service via WCF is detailed, giving you the ability to personalize your Silverlight application on a per-user basis.
“User Interaction”—What’s the point of having a great technology like Silverlight 2 if we can’t interact with it? We review the different ways that you can interact with your application, understanding how the
UIElements
work with input devices like the keyboard, mouse, and stylus. We also explore the different ways to navigate around the application and present the different options that we have and in which scenarios each one is preferred.“Communicating with the Server”—The ability to access data located at distributed sources is key in many Silverlight 2 applications. You learn different networking technologies that are available and see how they can be put to use. Several different topics are covered such as creating and calling ASMX and WCF services, calling REST APIs, working with JavaScript Object Notation (JSON) data, pushing data from a server to a client with sockets, and leveraging HTTP Polling Duplex functionality.
“Working with Data”—It is all about data! One of my colleagues always says, “If you are not using data binding in Silverlight 2, you are doing something wrong!” This explains the data framework available within your applications and then deeps dive into the inner workings of data binding, showing you the different approaches that you may take. In order to understand how the data is retrieved, we explain the different technologies and techniques to get the most of Silverlight 2 data using the available data controls. Finally, this explains how you can manipulate the data using LINQ and LINQ to XML.
“Creating Custom Controls”—This will take you on a journey in order to discover the different options that you have available to customize the Silverlight 2 controls. We start exploring the user control model that ASP.NET developers are used to, and then we dig into the internals of visual customization. You will be amazed by this powerful new model. Finally, for those who need to push the technology to the limit, this explains how to create a complete custom control from scratch.
“Securing Your Silverlight Application”—Whether you’re an Enterprise developer or a Silverlight hobbyist, you are going to want to release your application out to the wild at some point. In doing so, you are providing a high level of exposure to your application, and therefore security should not be an afterthought. Thankfully, Silverlight 2 has a security framework built into the run time, which will give you the peace of mind of working within a secure environment. This introduces you to the Silverlight security framework, but also talks you through your security responsibilities as a Silverlight developer.
“Audio and Video”—Embedding high-fidelity audio and video in your Silverlight application is sure to capture your users’ imaginat...
商品描述(中文翻譯)
我們撰寫本書的主要目標是讓 ASP.NET 開發人員能夠快速且輕鬆地創建視覺上令人驚豔的網路應用程式,並結合豐富的互動性,讓使用者完全沉浸在全新的線上體驗中。Silverlight 提供了您所需的一切,並且風格獨特!
本書不僅會帶您了解 Silverlight 附帶的每個功能,還會確保您能夠調試、排除故障並優化 Silverlight 應用程式的性能,同時無縫地與您現有的 ASP.NET 架構和代碼庫連接。
本書的目標讀者是希望快速掌握 Silverlight 2 所提供的一切的 .NET 開發人員和架構師。
除了涵蓋 Silverlight 2 提供的廣泛功能外,本書還特別展示了如何將特定功能緊密整合到 ASP.NET 主機應用程式中。例如,在第七章中,直接從 Silverlight 中使用 ASP.NET Profile 服務來獲取特定用戶的數據。
可以公平地說,儘管本書的目標讀者是 ASP.NET 開發人員,但它涵蓋了 Silverlight 2 的所有重要功能,因此對於不使用 ASP.NET 的開發人員來說也是一個有用的編程資源。
不過,如果您是 .NET 開發的新手,建議您先查看一本入門的 .NET 書籍,以幫助您克服學習新語言時的語法和設置問題。否則,深呼吸,然後開始吧!
本書涵蓋了 Silverlight 2 的完整功能集,深入探討每個主題領域,以提供深度和廣度的覆蓋。除了教您 Silverlight API 的組成部分外,本書還涵蓋了調試、排除故障和優化 Silverlight 應用程式的性能,讓您掌握創建高級 Silverlight 應用程式所需的所有技能和知識,並能在短時間內完成。
重要的是,本書涵蓋了 ASP.NET 和 Silverlight 之間的整合點,帶您了解可以用來無縫增強現有或新 ASP.NET 網站的不同技術,充分利用 Silverlight 的強大功能。
如果您想在 Silverlight 中編程並可能使用 ASP.NET 作為主機,那麼本書將涵蓋所有內容。
本書分為兩個明確的部分。第一部分標題為「ASP.NET 開發人員的 Silverlight 基礎」,第二部分標題為「使用 Silverlight 開發 ASP.NET 應用程式」。第一部分旨在讓您了解 Silverlight 作為一種技術是什麼,以及它如何融入基於網路的環境。Silverlight 應用程式的組成部分也在高層次上進行了介紹,並解釋了在組建應用程式之前所需的任何知識。
第二部分旨在讓您深入了解 Silverlight 的功能集,並展示如何利用 Silverlight 和 ASP.NET 的強大功能來創建引人入勝的應用程式。
以下是內容的簡要概述:
- **「Silverlight 簡介」**—這將高層次地教您 Silverlight 是什麼,以及它如何幫助您交付引人入勝、沉浸式的網路應用程式。這裡還涵蓋了將 Silverlight 與其他基於網路的技術區分開來的內容,並提供所需開發環境的描述。簡而言之,閱讀完這部分後,您將能夠描述 Silverlight,解釋為什麼您想使用它,以及它相對於競爭對手的優勢所在。
- **「Silverlight 架構」**—Silverlight 使您能夠快速構建一個功能全面的應用程式,擁有出色的用戶界面,但如果在開發過程中遇到任何問題,了解您正在開發的底層架構將非常重要。這部分概述了 Silverlight 2 的核心功能,並指導您了解這個高度靈活框架的基本組件,特別注意您的 ASP.NET 背景。
- **「XAML 簡介」**—快速掌握 XAML 是這一部分的重點,幫助您擺脫語法問題,掌握這種多用途聲明性語言的基礎知識。這裡還展示了如何將 XAML 文件與 .NET 代碼連接,幫助您將動態事件驅動的操作注入到 Silverlight 用戶界面中。最後,這裡展示了一種動態創建 XAML 的技術,並介紹了 Expression Blend。
- **「編程 Silverlight」**—當您到達這裡時,您將迫不及待地想開始編碼,這裡將詳細介紹構成 Silverlight 應用程式的功能無關編程結構。Silverlight 應用程式的組成部分將被詳細解釋,並詳細說明 Silverlight 應用程式的生命週期以及如何連接到它。這裡還涵蓋了在應用程式中嵌入 Silverlight 插件的不同選項,並簡要概述了 JavaScript 及其相關的 DOM。接下來將討論 Silverlight 物件模型,解釋如何構建視覺樹以形成用戶界面。這裡還展示了另一種動態創建 XAML 並將其添加到視覺樹中的技術。最後,將涵蓋 Silverlight 事件模型、瀏覽器互動和線程模型。
- **「創建用戶界面」**—您現在知道如何編程 Silverlight 以及如何編寫 XAML。這部分將展示如何將所有內容整合在一起,開始佈局您的 Silverlight 應用程式的用戶界面。這裡涵蓋了 Silverlight 附帶的每個佈局控制項—`Canvas`、`Grid`、`StackPanel` 和 `TabControl`—並包括何時使用哪一個的資訊。還提供了如何創建可擴展用戶界面的資訊,最後還有一個部分詳細說明如何本地化您的應用程式,從而使其可用於其他語言和文化。
- **「Silverlight 控制項」**—Silverlight 2 提供了一系列可以用來顯示和捕獲數據的控制項。在這部分,您將學習如何使用用戶輸入控制項、項目控制項和媒體控制項,並了解它們如何用於構建互動和豐富的用戶界面。您還將學習如何使用 `MultiScaleImage` 控制項來處理 Silverlight 的 Deep Zoom 技術。
- **「樣式和模板」**—改變應用程式的外觀和感覺是這裡的核心,這裡展示了將樣式資訊應用於組成控制項的不同技術。此外,還詳細介紹了如何通過 WCF 與 ASP.NET Profile 服務集成,使您能夠根據每個用戶個性化您的 Silverlight 應用程式。
- **「用戶互動」**—擁有像 Silverlight 2 這樣的優秀技術卻無法與之互動,這有什麼意義呢?我們回顧了您可以與應用程式互動的不同方式,了解 `UIElements` 如何與鍵盤、滑鼠和觸控筆等輸入設備協同工作。我們還探討了在應用程式中導航的不同方式,並呈現了我們擁有的不同選項以及每種情境下的首選。
- **「與伺服器通信」**—在許多 Silverlight 2 應用程式中,訪問位於分散來源的數據的能力至關重要。您將學習可用的不同網路技術,並了解它們如何被利用。涵蓋了幾個不同的主題,例如創建和調用 ASMX 和 WCF 服務、調用 REST API、處理 JavaScript 物件表示法 (JSON) 數據、通過套接字將數據從伺服器推送到客戶端,以及利用 HTTP 輪詢雙工功能。
- **「處理數據」**—一切都與數據有關!我的一位同事總是說:「如果您在 Silverlight 2 中不使用數據綁定,那麼您就是在做錯事!」這部分解釋了您應用程式中可用的數據框架,然後深入探討數據綁定的內部運作,展示您可以採取的不同方法。為了理解數據是如何檢索的,我們解釋了不同的技術和方法,以便充分利用 Silverlight 2 數據,使用可用的數據控制項。最後,這部分解釋了如何使用 LINQ 和 LINQ to XML 操作數據。
- **「創建自定義控制項」**—這將帶您探索可用於自定義 Silverlight 2 控制項的不同選項。我們首先探索 ASP.NET 開發人員熟悉的用戶控制模型,然後深入了解視覺自定義的內部運作。您將對這個強大的新模型感到驚訝。最後,對於那些需要將技術推向極限的人,這部分解釋了如何從零開始創建完整的自定義控制項。
- **「保護您的 Silverlight 應用程式」**—無論您是企業開發人員還是 Silverlight 愛好者,您都會希望在某個時候將應用程式發布到外部。在這樣做的過程中,您將為應用程式提供高水平的曝光,因此安全性不應該是事後考慮的問題。值得慶幸的是,Silverlight 2 在運行時內置了安全框架,這將使您在安全環境中工作時感到安心。這部分介紹了 Silverlight 安全框架,並告訴您作為 Silverlight 開發人員的安全責任。
- **「音頻和視頻」**—在您的 Silverlight 應用程式中嵌入高保真音頻和視頻,必定會吸引您的用戶的想像力……