Danh mục

Apress Introducing dot NET 4 0 with Visual Studio 2010_7

Số trang: 45      Loại file: pdf      Dung lượng: 2.50 MB      Lượt xem: 10      Lượt tải: 0    
10.10.2023

Phí tải xuống: 19,000 VND Tải xuống file đầy đủ (45 trang) 0
Xem trước 5 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

Silverlight là một trang web công nghệ trình chiếu mới được tạo ra để chạy trên nhiều nền tảng. Nó cho phép việc tạo ra các kinh nghiệm phong phú, trực quan tuyệt đẹp và tương tác có thể chạy ở mọi nơi: trong các trình duyệt và trên nhiều thiết bị và hệ điều hành máy tính để bàn
Nội dung trích xuất từ tài liệu:
Apress Introducing dot NET 4 0 with Visual Studio 2010_7CHAPTER 14S ilverlight IntroductionA vailability: Framework 3.5sp1 Onwar d “Silverlight is a new web presentation technology that is created to run on a variety of platforms. It enables the creation of rich, visually stunning and interactive experiences that can run everywhere: within browsers and on multiple devices and desktop operating systems (such as the Apple Mac).” http://silverlight.net/content/GetStarted.aspxSome might say that Silverlight is Microsoft’s version of Adobe’s Flash and Flex products. This doesn’treally do it justice, though. Silverlight has a number of compelling features that make it an ideal choicefor creating web applications with the functionality traditionally only found in desktop applications.These applications are known as Rich Internet Applications (or RIA to its friends). Silverlight offers the following: Ability to use the .NET development tools you know and love • Utilize many of the .NET framework libraries in your applications (for security • reasons, not everything is available) An easy-ish path to convert web applications to desktop (WPF) applications if • required in the future (also check out Silverlight 3’s offline capabilities in Chapter 15) Great media-streaming capabilities • Support for designers (more prevalent in Blend) • Although Silverlight was available for earlier versions of .NET and Visual Studio, I decided to includea brief introduction because Silverlight was released between VS2008 and VS2010, and I suspect thatmany developers are not aware of how easy it is to use. I believe Silverlight will grow in importance andis something that all .NET developers should at least be aware of.Silverlight versus FlashWhen Silverlight was first released, it was inevitable that it would be compared to Adobe Flash (and Flex)due to its similar function. Although there is overlap between the two products, I don’t think Microsoft’sprimary intention was to just launch a competing product. 327 CHAPTER 14 SILVERLIGHT INTRODUCTION Silverlight’s development was the obvious offshoot of WPF, and there was no satisfactory technology for the Microsoft developer to create RIAs prior to its release. Options such as ActiveX controls or embedded Windows forms suffered from being difficult to develop and debug, were not cross-platform, and had security and deployment issues. For a taste of just what is possible using Silverlight, take a look at the upcoming Microsoft Office Online application (http://channel9.msdn.com/posts/PDCNews/First-Look-Office-14-for-Web/). Office Online utilizes Silverlight to provide online versions of Word, Excel, and PowerPoint. Perhaps the biggest advantage offered by Silverlight is that applications can be written using the .NET framework and existing Microsoft tools such as Visual Studio. This immediately lowers the entry barrier to new developers and gives them access to much more functionality. Although Flash is almost certainly installed on more browsers than Silverlight, at the time of writing, Microsoft is in a strong position to encourage uptake of Silverlight (subject to future possible antitrust legislation!). It is hard to get accurate statistics about Silverlight uptake, but the sites http://www.riastats.com/ and http://www.statowl.com/silverlight.php are well worth a look. At the time of writing, they indicate that roughly 25 percent of browsers have some version of Silverlight installed. Adobe indicates that it has a much higher uptake, which is to be expected with a more mature product : http://www.adobe.com/products/player_census/flashplayer/. Silverlight in the Real World An impressive example of a Silverlight application is “Descry: A Website Named Desire” that was created for the Mix conference. This web site illustrates the web site development process (see Figure 14-1) and is available online at http://www.visitmix.com/labs/descry/awebsitenameddesire/. Figure 14-1. Descry example project from Mix team ( http://www.visitmix.com/labs/ descry/awebsitenameddesire/)328 CHAPTER 14 SILVERLIGHT INTRODUCTION One of the earliest but still very impressive uses of Silverlight is on the Hard Rock Café’smemorabilia page. If you haven’t seen it, go to it now at (http://memorabilia.hardrock.com/). The pageshows rock memorabilia items owned by the Hard Rock café (see Figure 14-2). The user can fluidly zoomin and ou ...

Tài liệu được xem nhiều: