Jump to content

Microsoft Silverlight

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 143.107.151.34 (talk) at 14:55, 5 January 2012. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Microsoft Silverlight
Developer(s)Microsoft Corporation
Initial releaseApril 2007; 17 years ago (2007-04)
Stable release5.1.50918.0[1] (January 15, 2019; 5 years ago (2019-01-15)) [±]
Preview releaseNone [±]
Operating systemMicrosoft Windows, Mac OS X, Windows Phone, and Symbian OS[2][3]
PlatformIntel x86 32-bit, x86-64, ARM and S60
TypeApplication framework, run-time environment and multimedia framework
LicenseFreeware
Websitewww.silverlight.net

Microsoft Silverlight is an application framework for writing and running rich Internet applications, with features and purposes similar to those of Adobe Flash. The run-time environment for Silverlight is available as a plug-in for web browsers running under Microsoft Windows and Mac OS X. While early versions of Silverlight focused on streaming media, current versions support multimedia, graphics and animation, and give developers support for CLI languages and development tools. Silverlight is also one of the two application development platforms for Windows Phone.

Over the course of about 5 years Microsoft has released 5 versions: The first version was released in 2007; the latest version was released on December 9th, 2011. It is compatible with multiple web browsers used on Microsoft Windows and Mac OS X operating systems. Mobile devices, starting with Windows Phone and Symbian (Series 60) phones, were expected to be supported in 2010.[4][5]

A free software implementation named Moonlight, developed by Novell in cooperation with Microsoft, is available to bring Silverlight versions 1 and 2 functionality to Linux, FreeBSD and other open source platforms - although some Linux distributions do not include it, citing redistribution and patent concerns.[6]

Overview

Silverlight provides a retained mode graphics system similar to Windows Presentation Foundation (WPF), and integrates multimedia, graphics, animations and interactivity into a single runtime environment. In Silverlight applications, user interfaces are declared in Extensible Application Markup Language (XAML) and programmed using a subset of the .NET Framework. XAML can be used for marking up the vector graphics and animations. Silverlight can also be used to create Windows Sidebar gadgets for Windows Vista.[7]

Silverlight supports H.264 video, Advanced Audio Coding, Windows Media Video (WMV), Windows Media Audio (WMA) and MPEG Layer III (MP3) media content[8][dead link] across all supported browsers without requiring Windows Media Player, the Windows Media Player ActiveX control or Windows Media browser plug-ins. Because Windows Media Video 9 is an implementation of the Society of Motion Picture and Television Engineers (SMPTE) VC-1 standard, Silverlight also supports VC-1 video. According to the end user license agreement VC-1 and H.264 are only licensed for the "personal and non-commercial use of a consumer".[9] Silverlight, since version 3, supports the playback of H.264 video.[10] Silverlight makes it possible to dynamically load Extensible Markup Language (XML) content that can be manipulated through a Document Object Model (DOM) interface, a technique that is consistent with conventional Ajax techniques. Silverlight exposes a Downloader object which can be used to download content, like scripts, media assets or other data, as may be required by the application.[11] With version 2, the programming logic can be written in any .NET language, including some derivatives of common dynamic programming languages like IronRuby and IronPython.[12]

Adoption

According to statowl.com, Microsoft Silverlight has a penetration of 64.16% on May 2011. Usage on July 2010 was 53.54%, whereas Adobe Flash is installed on 95.26% of browsers, and Java support is available on 76.51% of browsers (May 2011); these statistics makes Adobe Flash the market leader in terms of penetration.[13] As of 26 August 2011, 0.3% sites are using Silverlight,[14] whereas site usage of Adobe Flash is around 27%.[15] Usage of Java on sites during the same time period is around 4%.[16]

Supported platforms

Desktop computers

Silverlight requires an x86 processor with Streaming SIMD Extensions (SSE) support. Supported processors include the Intel Pentium III and up, and the AMD Athlon XP and up. Newer AMD Duron models are also supported.

The following table presents an availability and compatibility matrix of Silverlight versions for various operating systems and web browsers.

OS/browser Internet Explorer 6 SP1 or later Internet Explorer 7 Internet Explorer 8 or later Mozilla Firefox 3 or later SeaMonkey Safari Opera Google Chrome
Windows 7 1, 2, 3, 4 1, 2, 3, 4 1, 2 1, 2; via NPAPI Unofficially[17][18] 2, 3, 4
Windows Server 2008 R2 1, 2, 3, 4 No 1, 2 1, 2; via NPAPI Unofficially[17][18] 2, 3, 4
Windows Vista
Windows Server 2008
1, 2, 3, 4 1, 2, 3, 4 1, 2, 3, 4 1, 2 1, 2; via NPAPI Unofficially[17][18] 2, 3, 4
Windows XP
Windows Server 2003
Windows Home Server
1, 2, 3, 4 1, 2, 3, 4 1, 2, 3, 4 1, 2, 3, 4 2 Unofficially 1, 2; via NPAPI Unofficially[17][18] 2, 3, 4
Windows 2000 (KB891861 required) 2, 3, 4 Unofficially[19] No 2; via NPAPI Planned[17]
Mac OS 10.4/10.5 PowerPC 1 1 Planned [17]
Mac OS 10.4/10.5 Intel 1, 2, 3, 4 1, 2, 3, 4 Planned [17] 3, 4 Unofficially

An upcoming Opera support was promised since 3 May 2007, when David Storey, the Chief Web Opener at Opera, revealed a Microsoft poster for MIX conference that had shown Opera integration as a part of Silverlight 1.1.[17] However, As of December 2011, Silverlight still does not officially support Opera. Silverlight 1.0 could be made to work Opera via a hack.[18] Starting from Silverlight 2, hacks were no longer required.[20]

On Linux and FreeBSD, the functionality is available via Moonlight.[21][22] Moonlight is available for the major Linux distributions, with support for Firefox, Konqueror, and Opera browsers, provided it was obtained through Novell.[23] Miguel de Icaza has expressed an interest in working with developers from other operating systems (BSD, Solaris) and other browsers (Konqueror, WebKit and Opera) to ensure that Moonlight works fine on their systems.[24] Availability of Moonlight version 1.0 for FreeBSD was announced in March 2009,[25] but has been since been reported actually not to work.[26]

Mobile devices

Silverlight is the primary development environment for Windows Phone and is based on Silverlight 4. For previous versions of Windows Mobile, the first Community Technology Preview (CTP) for Windows Mobile 6 was expected in the second quarter of 2008, but it still not officially announced. Microsoft has stopped focusing on bringing Silverlight to Windows Mobile 6.x.[27] Nokia has announced plans to make Silverlight for Mobile available for S60 on Symbian OS, as well as for Series 40 devices and Nokia internet tablets.[28][29] Silverlight for Mobile supports Silverlight 2 content and .NET languages.[4] Silverlight for Windows Phone 7.5 is based on Silverlight 4.[30]

Development tools

A Silverlight application being edited in Microsoft Visual Studio.

Silverlight applications can be written in any .NET programming language. As such, any development tools which can be used with .NET languages can work with Silverlight, provided they can target the Silverlight CoreCLR for hosting the application, instead of the .NET Framework CLR. Microsoft has positioned Microsoft Expression Blend as a companion tool to Visual Studio for the design of Silverlight User Interface applications. Visual Studio can be used to develop and debug Silverlight applications. To create Silverlight projects and let the compiler target CoreCLR, Visual Studio requires the Silverlight Tools for Visual Studio.[31]

A Silverlight control is a ZIP format file with extension .XAP containing a list of one or more .NET managed assemblies (.DLL files) along with the AppManifest.XAML file containing this list along with the entry point (class and assembly). It can be hosted in any HTML file using an object tag, for example: <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%"><param name="source" value="MySilverLightControl.xap"/></object>

A Silverlight project contains the Silverlight.js and CreateSilverlight.js files which initializes the Silverlight plug-in for use in HTML pages, a XAML file for the UI, and code-behind files for the application code. Silverlight applications are debugged in a manner similar to ASP.NET applications. Visual Studio's CLR Remote Cross Platform Debugging feature can be used to debug Silverlight applications running on a different platform as well.[32]

In conjunction with the release of Silverlight 2, Eclipse was added as a development tool option.[33]

Licensing

An April 2007 PC World report suggested that Microsoft intended to release certain parts of Silverlight source code as open source software,[34] but a week later Sam Ramji, director of platform technology strategy at Microsoft, contradicted the rumors by confirming that the company had no plans to open Silverlight.[35] Some controls that ship with Silverlight are available under the Microsoft Public License as a part of a separate project known as the Silverlight Toolkit.[36]

Silverlight's proprietary nature is a concern to competition since it may harm the open nature of the World Wide Web. Advocates of free software are also concerned Silverlight could be another example of Microsoft's embrace, extend and extinguish strategy.[37] Both Microsoft Silverlight and Adobe Flash are proprietary.[38] Flash's file formats are publicly documented standards,[39][40] as are Silverlight's.[41][42] However, the communication between a Flash player and a server is done by the proprietary protocol RTMP. Both Flash and Silverlight use patent-encumbered audio and video codecs.

Mono Moonlight implementation

The Mono team is currently developing Moonlight, a free and open-source implementation of both the Silverlight 1 and 2 runtimes.[43]

The project is officially supported by Microsoft who,[21] under an agreement with Novell, has made additional specifications, access to the Silverlight Base Class Library APIs, binary codecs and test cases available to the Mono team,[22] none of which are available to other members of the public.[44]

The "covenant" under which Novell has been granted this exclusive access also specifies conditions that are incompatible with the licensing that covers most other free and open source software. As examples, it specifically requires that the software must have been "obtained directly from Novell or through an Intermediate Recipient" and that it must be "not licensed under GPLv3 or a Similar License".[23] Some free software proponents have criticized the covenant.[45]

Silverlight has received criticism for not living up to its cross-platform operating system compatibility promises, especially on Linux systems compared to its extensive support on Apple and Microsoft desktops for Internet Explorer, Firefox, and Chrome. Even though Microsoft is officially collaborating on the Moonlight project, Bruce Chizen, who was CEO of Adobe Systems at the time, which sells the competing proprietary Flash platform, questioned "the commitment of Microsoft to keep the Silverlight platform compatible with other OS besides Windows".[46] His concerns are based on "examples from history" where, he argues, Microsoft has launched products with promises of ongoing cross-platform compatibility that no longer apply, for example Internet Explorer for UNIX and Windows Media Player for Mac.

Relationship to existing web standards

California and several other U.S. states also have asked a District Judge to extend most of Microsoft's antitrust case settlement for another five years,[47] citing "a number of concerns, including the fear that Microsoft could use the next version of Windows to 'tilt the playing field' toward Silverlight, its new Adobe Flash competitor," says a Seattle Post-Intelligencer article. The final judgment on the motion extended the settlement two years, to November 2009, but for reasons unrelated to Silverlight.[48] In Windows 7 the Silverlight web browser plug-in is not installed automatically, but is a downloadable optional update through Windows Update.[49]

Microsoft has been criticized for not using the Scalable Vector Graphics (SVG) standard for Silverlight, which, according to Ryan Paul, editor of Open Ended, Ars Technica's open source software journal, is consistent with Microsoft's way of ignoring open standards in other products, as well.[50] However, according to David Betz, a .NET specialist and Microsoft Most Valuable Professional (MVP), while it "seems to some to be a valid criticism and a good point to some of the web standards world, it is absolutely groundless and carries no weight." Microsoft would have had to alter the SVG specification in order to integrate it with .NET. Consequently, he thinks the "choice by Microsoft to use XAML over SVG, served to retain the SVG standard by not adding proprietary technology [to SVG]".[51][dead link].

History

  • Silverlight 1 - Silverlight 1, developed under the codename Windows Presentation Foundation/Everywhere (WPF/E) was released in 2007. It consisted of the core presentation framework, which is responsible for the user interface (UI), interactivity and user input, basic UI controls, graphics and animation, media playback, Digital rights management (DRM), and DOM integration.
  • Silverlight 2 - Included a version of the .NET Framework, implemented the same full Common Language Runtime (CLR) version as .NET Framework 3.0; so it can execute programs written in any .NET language.
  • Silverlight 3 - Silverlight 3 was announced on 12 September 2008, and unveiled at MIX09 in Las Vegas on 18 March 2009.[52] A beta version was made available for download the same day. The final version was released 9 July 2009. Silverlight 3 included more controls[53]—including but not limited to DataGrid, TreeView, various layout panels, DataForm for forms-driven applications and DataPager for viewing paginated data.
  • Silverlight 4 - On 18 November 2009, at the Professional Developers Conference in Los Angeles, Microsoft Corporation unveiled a Beta version of Silverlight 4.[54] The final version was released on 15 April 2010 (along with Silverlight 4 tools for developers). New features in Silverlight 4 include: Support for Google's Chrome browser; Web cam and microphone; Printing; More mouse support; New notification support to send messages to users; New and enhanced controls (e.g., RichTextBox, DataGrid); Theming of controls; rendering HTML; better localization, and others.
  • Silverlight 5 - The final release is available for download on 9 December 2011.[55] New features include: GPU accelerated video decoding, 3D graphics, playback speed controls, remote control and 64-bit support.[55]

References

  1. ^ "Microsoft Silverlight Release History". Microsoft Corporation. Retrieved 15 January 2019.
  2. ^ "Frequently Asked Questions § System requirements". Microsoft Silverlight product page. Microsoft Corporation. Retrieved 4 November 2010.
  3. ^ Perez, Sarah (22 March 2010). "Silverlight for Symbian Plugin Now Available". Cool Stuff – A Channel 9 Blog. Microsoft Corporation. Retrieved 4 November 2010.
  4. ^ a b "FAQ: Silverlight for mobile". Silverlight.net. Archived from the original on 29 June 2009. Retrieved 9 March 2008.
  5. ^ Nickinson, Phil. "Silverlight Mobile rumored for WinMo 7". wpcentral. Mobile Nations. Retrieved 19 March 2009.
  6. ^ "Forbidden items - FedoraProject".
  7. ^ Sterling, Charles. "Writing a Windows Sidebar Gadget in Silverlight dead simple". MSDN Blogs. Retrieved 9 March 2008.
  8. ^ "Silverlight FAQs". Retrieved 21 January 2011.[dead link]
  9. ^ "Microsoft Silverlight 1.0 beta license". Retrieved 14 June 2007. [dead link]
  10. ^ "Discussed on Microsoft's web site in Q&A with Scott Guthrie".
  11. ^ "Using a Downloader Object". Retrieved 25 May 2007.
  12. ^ "Mono developers to bring Silverlight to Linux". 7 May 2007.
  13. ^ "Rich Internet Application Market Share" (Flash). StatOwl.com. Retrieved 24 July 2011. {{cite web}}: External link in |publisher= (help)
  14. ^ "Usage of Silverlight for websites". W3Techs Technology Surveys. Q-Success. Retrieved 26 August 2011.
  15. ^ "Usage of Flash for websites". W3Techs Technology Surveys. Q-Success. Retrieved 24 July 2011.
  16. ^ "Usage statistics and market share of Java for websites". W3Techs Technology Surveys. Q-Success. Retrieved 24 July 2011.
  17. ^ a b c d e f g h "Opera Watch: More details on Silverlight support in Opera". Retrieved 2 May 2007.
  18. ^ a b c d e "Silverlight in Opera". Retrieved 10 March 2008.
  19. ^ "Install Silverlight : Unsupported platform, system requirements".
  20. ^ "Run Silverlight in Opera". Retrieved 12 May 2009.
  21. ^ a b "Silverlight 1.0 Released and Silverlight for Linux Announced". Retrieved 5 September 2007.
  22. ^ a b "Microsoft/Novell Collaboration on Silverlight". Retrieved 5 September 2007.
  23. ^ a b "Covenant to Downstream Recipients of Moonlight – Microsoft & Novell Interoperability Collaboration". Microsoft. 28 September 2007. Retrieved 8 March 2008. "Downstream Recipient" means an entity or individual that uses for its intended purpose a Moonlight Implementation obtained directly from Novell or through an Intermediate Recipient… Microsoft reserves the right to update (including discontinue) the foregoing covenant… "Moonlight Implementation" means only those specific portions of Moonlight 1.0 or Moonlight 1.1 that run only as a plug-in to a browser on a Personal Computer and are not licensed under GPLv3 or a Similar License.
  24. ^ "Microsoft/Novell Collaboration on Silverlight". Miguel de Icaza. 5 September 2007. Retrieved 9 November 2008. We will be supporting Firefox and Linux initially (that is our first goal) but we are looking forward to work with developers from other operating systems (BSD, Solaris) and other browsers (Konqueror, WebKit and Opera) to ensure that Moonlight works fine on their systems.
  25. ^ "Moonlight 1.0 for FreeBSD availability announcement". 5 March 2009.
  26. ^ "Installation and Maintenance of FreeBSD Ports or Packages".
  27. ^ Chapman, Stephen (1 December 2009). "Windows Mobile 7: Silverlight Applications, IE Mobile 7, and More!".
  28. ^ "Nokia to enable Silverlight". Blog.anta.net. 4 March 2008. ISSN 1797-1993. Retrieved 4 March 2008.
  29. ^ "Windows Phone Silverlight Application Life Cycle". MSDN. Microsoft Corporation. 19 November 2010. Retrieved 26 August 2011. Version 1.0; Applies To: Windows® Phone 7
  30. ^ "What's New in Silverlight for Windows Phone". MSDN. Microsoft Corporation. Retrieved 26 August 2011. Silverlight for Windows Phone OS 7.1 is based on Silverlight 4. That means if you create a new Silverlight for Windows Phone application that targets Windows Phone OS 7.1, you can take advantage of several new features.
  31. ^ "Microsoft Silverlight Tools for Visual Studio". Retrieved 22 January 2009.
  32. ^ Parker, Nigel. "MIX07 Your Product is a feature of the Web!". Retrieved 8 June 2007.
  33. ^ "Eclipse for Silverlight". Retrieved 14 October 2008.
  34. ^ Montalbano, Elizabeth. "Microsoft Goes Open Source?". Retrieved 29 April 2007.
  35. ^ Clarke, Gavin. "Silverlight glow dimmed by cross-platform concerns". Retrieved 5 May 2007.
  36. ^ "Sample Source Code for Silverlight 2 Runtime and SDK Controls".
  37. ^ Markoff, John (11 August 2008). "Microsoft leveraging Silverlight and riling critics". International Herald Tribune. Retrieved 11 January 2009. Others take a darker view of Microsoft's intentions and argue that Silverlight is simply a rehash of the company's 1990s-era "embrace and extend" strategy for pre-empting Web competition. "They're still playing the same games," said Michael Nelson, professor of internet studies at Georgetown University. "It's a way to lock up the content, and it's not enabling as much innovation as we would like to see."
  38. ^ Meyer, David (30 April 2008). "Mozilla warns of Flash and Silverlight 'agenda'". ZDNet. Retrieved 11 January 2009. Companies building websites should beware of proprietary rich-media technologies like Adobe's Flash and Microsoft's Silverlight, the founder of Mozilla Europe has warned.
  39. ^ "Adobe SWF file format specification" (PDF). Retrieved 11 December 2011.
  40. ^ "Adobe FLV file format specification" (PDF). Adobe Systems Inc. Retrieved 11 December 2011.
  41. ^ "Microsoft Open Specification Promise". Retrieved 11 December 2011.
  42. ^ "Microsoft ASF specification". Retrieved 11 December 2011.
  43. ^ "Mono Moonlight". Mono Project. Retrieved 22 June 2008.
  44. ^ Miguel de Icaza (3 March 2008). "Pre-Mix 08: Moonlight Updates". Retrieved 8 March 2008.
  45. ^ Jones, Pamela (28 May 2008). "Shining Some Light on Microsoft's Moonlight Covenant". Groklaw. Retrieved 25 August 2008. Moonlight is safe from threat only if you get it from Novell AND DO NOT PASS IT ON, as there are no protections for downstream recipients...Unless those downstream recipients get it from an 'Intermediate Recipient' defined to only include authorized resellers...It's like walking into a store and saying "I'm only going to pay half of the amount I owe and I hereby disclaim my duty to pay full price." You can try that, but the law supersedes whatever intent or desire you've expressed. At minimum, this shows how clearly they DO NOT want to coexist with GPL'd code.
  46. ^ Chhabra, Gautam (20 April 2007). "Adobe CEO questions Microsoft Silverlight cross-platform commitment". Java Entrepreneur. Retrieved 6 December 2007.
  47. ^ Bishop, Todd (17 October 2007). "Antitrust filing cites Microsoft Silverlight concern". Seattle Post-Intelligencer. Retrieved 6 December 2007.
  48. ^ "Anitrust motion Executive Summary" (PDF). Retrieved 7 September 2008. [dead link]
  49. ^ Bugnion, Laurant (30 November 2008). " "Silverlight on Windows Update (Windows 7)".
  50. ^ Paul, Ryan. "Microsoft's Flash-killer Silverlight steals the show at MIX07". Retrieved 6 May 2007. [Microsoft's] perpetual unwillingness (or perhaps inability) to build on existing standards is deeply detrimental to users and developers. Internet Explorer 7 is still the only major web browser that has no native support for SVG. By neglecting to use the SVG standard in Silverlight and XAML in favor of a limited and incompatible facsimile, Microsoft has once again needlessly ignored what could have been an opportunity to empower developers and help Internet Explorer catch up with browsers that are more functional and standards-compliant.
  51. ^ Betz, David. "Silverlight's Adoption as Public De-Facto Standard". Retrieved 20 June 2007. Silverlight can be viewed as a web extension of the Windows Presentation Foundation (WPF), a .NET 3.0 technology and not simply as a new web technology. As such, it makes sense that Silverlight uses XAML, not SVG. If Silverlight were based on SVG, then there would be a chasm between Silverlight and the .NET Framework, but as it stands Silverlight's use of XAML makes it part of the .NET family. In fact, it's important to note that elements in XAML usually represent objects in the .NET Framework; this would simply not be possible in SVG.
  52. ^ "[[S. Somasegar]] launches Silverlight 3". {{cite web}}: URL–wikilink conflict (help)
  53. ^ Heuer, Tim. "A guide to Silverlight 3 new features". Retrieved 23 March 2009.
  54. ^ "Silverlight 4 Beta What's New". Retrieved 21 January 2010.
  55. ^ a b "Silverlight 5 has released! The docs are up and a .chm is available". MSDN blogs. Microsoft Corporation. 9 December 2011. Retrieved 11 December 2011.