Microsoft Silverlight version history

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

Microsoft Silverlight is a deprecated application framework for writing and running rich internet applications. This is a technical overview of the platform's history.

Silverlight 1

Silverlight 1, which was developed under the codename Windows Presentation Foundation/Everywhere (WPF/E) and released in 2007, consists of the core presentation framework, which is responsible for the UI (user interface), interactivity and user input, basic UI controls, graphics and animation, media playback, Digital rights management (DRM), and DOM integration.[1] It is made up of the following components:

  • Input—handling input from devices like keyboard, mouse, stylus etc.
  • UI core—managing rendering of bitmap images (including compressed raster images like JPEG), vector graphics, text and animations.
  • Media—playback of MP3, WMA Standard, WMV7, WMV8 and WMV9/VC-1 streams.
  • XAML—to allow the UI layout to be created using XAML markup language.

A Silverlight application starts by invoking the Silverlight control from the HTML page, which then loads up a XAML file. The XAML file contains a Canvas object, which acts as a container for other elements. Silverlight provides various geometrical primitives like lines, ellipses and other shapes, to elements like text, images, and media, etc. The elements are properly positioned to achieve the desired layout. Any arbitrary shape can be created as well. These elements can be animated using Event triggers; some animation effects are predefined, others can be created as composite of the pre-defined effects. Events like keyboard or mouse movements can also raise Events which can be handled by custom scripts.[2]

Programmatic manipulation of the UI is achieved by using scripting languages to modify the Document Object Model of the Silverlight Canvas object.[1] To facilitate this, Silverlight exposes a DOM API, accessible from any scripting language supported by Silverlight, which in version 1 release is limited to JavaScript running in the browser. However, there are no GUI widgets built in. The native widgets of the browser must be overlaid on top of the Silverlight Canvas for user input. Support for data formats is limited to XML and JSON only.[1]

Silverlight 2

Silverlight 2 (previously referred to as version 1.1)[3] includes a version of the .NET Framework, implementing the same full Common Language Runtime (CLR) version as .NET Framework 3.0; so it can execute programs written in any .NET language. (By default, however, reference assemblies compiled with the regular .NET Framework cannot be referenced.[citation needed]) Unlike the CLR included with .NET Framework version 3.5 and earlier, but like .NET Framework 4.0, the CoreCLR instance included in Silverlight can be hosted with another instance of one of the desktop CLRs in one single process.[4] With this, the XAML layout markup file (.xaml file) can be augmented by code-behind code, written in any .NET language, which contains the programming logic. It can be used to programmatically manipulate both the Silverlight application and the HTML page which hosts the Silverlight control. The XAML markup, as well as the code, is compiled into CLI assemblies which are then compressed using ZIP and stored in a .xap file.[5]

Silverlight ships with a lightweight class library which includes features such as extensible controls, web services, networking components and Language Integrated Query (LINQ) APIs. This class library is a subset of, and is considerably smaller than, .NET Framework's Base Class Library (BCL). Silverlight code runs in a sandbox, thus preventing the invocation of platform APIs.[6]

File:Microsoft Silverlight stack.svg
Silverlight 2 Architecture

The version of .NET Framework in Silverlight adds[1] a subset of Windows Presentation Foundation (WPF) UI-programming model, including support for shapes, documents, media and animation objects of WPF. Beta 2 onwards,[7] it ships with more than 30 UI controls[8] (including TextBox, CheckBox, Slider, ScrollViewer, and Calendar controls),[9] for two-way databinding support, automated layout management (by means of StackPanel, Grid, etc.)[9] as well as data-manipulation controls, such as DataGrid[3][10] and ListBox.[9] UI controls are skinnable using a template-based approach.[9] Third-party libraries of expanded UI-control sets are also available.[11]

The included BCL provides classes for collections, reflection, regular expressions, string handling and data access. It also supports LINQ, with full support for LINQ to Objects and expression trees. Almost all of the System.Linq and System.Linq.Expression namespaces are exposed. It also supports serialization of objects, for data persistence. Silverlight can handle data in RSS or JSON format, in addition to XML. The BCL provides enhanced support for working with XML data, including the XMLReader and XMLWriter classes. Silverlight 2 also supports asynchronous programming via the use of the threading libraries.[10]

Silverlight also includes classes for data access over web services, REST, Windows Communication Foundation (WCF) Services and ADO.NET Data Services.[7] The networking support in Silverlight can be used by Silverlight applications to communicate using HTTP, or at the lower socket level. Cross-domain communication is supported.[8] Silverlight uses an XML-based configuration file to control the cross-domain resource-access policy, for both HTTP and socket connections. It can be used by site administrators to control which resources a Silverlight application can access, when that application did not originate in the domain of the site. In addition, Silverlight also supports the Adobe Flash Cross-domain policy file format.[12] Silverlight sockets can only initiate a connection; they cannot listen for connections.[13]

Silverlight 2 includes[7] the Dynamic Language Runtime (DLR) which allows dynamic compilation and execution of dynamic (scripting) languages. Compilers for the languages based on the DLR (including IronPython and IronRuby) are [to be?] packaged with the Dynamic Languages application in the .xap package.[14] The Dynamic Languages software development kit\SDK includes a web server named Chiron, that can dynamically package all the dependencies for the Dynamic Languages application and serve it to the browser.[14] The first upcoming languages written for the DLR are Managed JScript, IronPython 2.0, and IronRuby. Microsoft also plans to build Visual Basic .NET 10.0 (VBx) on the DLR. All four languages share the same infrastructure, to allow Silverlight to compile and execute the language source. Conversely, other .NET languages must be compiled ahead-of-time and delivered to Silverlight as .NET assemblies. The implementation of Managed JScript conforms to the ECMAScript 3.0 specification, and Microsoft asserts that it is 250 times faster than interpreted JScript.[10]

With the integration of .NET Framework, Silverlight also allows HTML-managed code interaction, which enables the manipulation of HTML DOM elements from managed code,[1] and permits JavaScript code to call managed code and use objects instantiated by managed code. Silverlight encloses JavaScript objects and DOM elements in managed wrappers to make them available from managed code.[15] While there is no provision for calling JavaScript code directly in the 1.1 alpha release, managed-code events can fire JavaScript handlers. A Silverlight instance does not need to have a UI component in order to manipulate the HTML DOM from managed code.[16] It is done by creating a XAML Canvas with both width and height set to zero, and using its code-behind code to modify the DOM of the HTML page via the APIs in the System.Browser namespace.[17]

Silverlight 2 includes Deep Zoom, a technology derived from Microsoft Live Labs' Seadragon. It allows users to zoom into, or out of, an image (or a collage of images), with smooth transitions, using the mouse wheel.[18] The images can scale from 2 or 3 megapixels in resolution into the gigapixel range, but the user need not wait for it to be downloaded entirely; rather, Silverlight downloads only the parts in view, optimized for the zoom level being viewed.[19] Beta 2 onwards, Deep Zoom uses an XML-based file format.[7]

Media features in Silverlight 2 include:[20]

  • WMA Professional support, including WMA 10 Pro low-bitrate modes. However, multi-channel audio content is still down-converted to stereo output.
  • Content protection powered by Microsoft PlayReady DRM client.
  • Server-side playlists in Windows Media Services.
  • Media Stream Source API.

The Media Stream Source is the API responsible for enabling adaptive streaming of media. Adaptive streaming allows the player application to choose the bit rate of the media based on available client bandwidth and central processing unit (CPU) resources.[7] Media Stream Source allows the developer to specify a custom method of retrieving media data, the only requirement being that the final video and audio streams be presented to Silverlight runtime in a format that Silverlight can decode (VC-1, H.264, WMA, MP3, etc.). This allows extensible support for otherwise natively unsupported file formats (i.e. MP4, Matroska, Ogg), protocols (i.e. Shoutcast) and delivery methods (i.e. adaptive streaming, peer-to-peer (P2P)). Microsoft first publicly showcased Media Stream Source by powering the NBC Olympics website with their own implementation of adaptive streaming.[21]

Silverlight 2 also allows limited filesystem access to Silverlight applications.[15] It can use the operating system's native file dialog box to browse to any file (to which the user has access). The file is sanitized of path information, to prevent the application from getting access to information such as user name, and can be opened only in read-only mode. For local storage of data, Silverlight provides isolated local storage (isostorage),[15] namely, outside the browser cache, in a folder hidden inside the private user-profile folder. It is set to 1 MB per URL by default,[15] but this can be changed by the user.[7] Data stored by a Silverlight application in the isostorage is identified by the URL from which it loads, and can be accessed by that application only. All instances of Silverlight share the same isostorage, so all instances of the same Silverlight application can share the saved data, even if they are running on different browsers.

Silverlight CoreCLR uses an attribute-based security model, as opposed to the Code Access Security (CAS) model of the desktop version of .NET Framework.[22] Assemblies are marked with a security attribute, which can be transparent (SecurityTransparentAttribute), safecritical (SecuritySafeCriticalAttribute) or critical (SecurityCriticalAttribute). Methods in transparent assemblies run with partial trust, and codes within such assemblies cannot call critical methods (methods which can cause system-wide changes); neither can transparent assemblies contain unverifiable code (use the unsafe C# keyword or use pointers) or invoke system functions by means of P/Invoke. Code in both critical and safecritical assemblies run with full trust, and are therefore not subject to such limitations. However, a transparent method can call a safecritical method, and a safecritical method can call a critical method. In such a case, the safecritical method will verify that the call is both safe and within the limited rights of the caller; if so, then the safecritical method will proxy the call to the requested critical method. In fact, the IsoStorage APIs are exposed as safecritical methods.[22] An assembly whose security attribute is unset is run as a transparent method. Analogous limitations also apply to type-inheritance; namely, in the cases of virtual-method calls and interface-method calls.[23] Silverlight assemblies can contain members that are not usable by CoreCLR, as long as they can be processed by the .NET Framework CLR; such methods will not be loaded when the assembly is being executed by CoreCLR.[24]

However, only platform code is allowed to be marked as critical or safecritical. The Silverlight runtime ensures that platform assemblies are loaded only from the Silverlight installation directory, and are digitally signed by Microsoft. This effectively means that user-application assemblies can only be transparent code (run under partial trust and limited rights).[25] Platform code can be marked with either attribute. The BCL methods of the .NET Framework, which have the Internet attribute set, allowing them to be called from untrusted code originating from the Internet, are exposed in Silverlight BCL as transparent methods.[25]

Silverlight 3

Silverlight 3 was announced at the International Broadcasting Convention (IBC) 2008 show in Amsterdam on September 12, 2008. It was unveiled at MIX09 in Las Vegas on March 18, 2009.[26] A beta version was made available for download the same day. The final version was released July 9, 2009.

Silverlight 3 includes an increased number of controls[27]—including DataGrid, TreeView, various layout panels, DataForm for forms-driven applications and DataPager for viewing paginated data. Some of these controls are from the Silverlight Toolkit. In addition, Silverlight 3 includes a navigation framework to let Silverlight applications use the hyperlinked navigation model as well as enabling deep-linking (linking directly to specific pages) within Silverlight applications.[27]

On the media front, Silverlight 3 supports Advanced Audio Coding (AAC) audio decoding as well as hardware-accelerated H.264 video decoding.[27] Silverlight 3 also offers 1080p smooth streaming.[28][29] The native multimedia pipeline is also programmatically exposed, so that other formats can also be supported by third parties using managed code decoders.[27] Silverlight 3 supports perspective 3D[27] which enables 3D transformations of 2D elements.[30] These transformations, as well as many 2D operations like stretches, alpha blending etc. are hardware accelerated.[30] Custom animations, including transforms and blends, can be created on Silverlight elements using High Level Shader Language (HLSL) to make use of pixel shaders.[30] A bitmap API is provided to let Silverlight 3 applications manipulate bitmaps.[30] Silverlight now uses the graphics processing unit (GPU) to accelerate the composition of Visual Trees (like WPF, Silverlight elements correspond to Visual elements, which, when coupled with the layout information, forms a Composition Tree or Visual Tree which is then rendered to form the final display; see WPF architecture).[27] Visual trees can now be cached;[27] this increases performance in cases like transforms, which creates lots of throw-away intermediate states, by not making the state transitions on the main Visual tree. Silverlight 3 now also supports ClearType text rendering.

UI elements in Silverlight 3 supports element-to-element binding—which allows one element to be bound to the state of another element,[30] as well as a validation mechanism for data binding.[27] Unlike Silverlight 2, which allowed the applications to save files only to the local isostorage, Silverlight 3 applications can save to any location on the file system via the system Save File dialog. However, the path where the file is saved will still be hidden from the Silverlight application.[27] Any external assemblies used by Silverlight applications are cached too so that they need not be redownloaded for subsequent instantiations of the application.[27]

Silverlight 3 also includes a LocalConnection API to communicate (using a named pipe style model) among multiple running applications on the same machine, irrespective of the browser[27][30] and can monitor for network connectivity events.[27] Silverlight 3 can optionally use Binary XML to communicate with WCF services.[27]

Silverlight 3 supports Out-of-Browser experiences, i.e., Silverlight applications can be installed to the system for offline access (provided the application manifest is designed to allow local installation) where they run outside the browser. They are launched using the Start Menu or desktop shortcuts, and run without the browser window.[27] Applications can check whether they are running inside a browser or not.[31] When running outside of a browser, HTML interop is disabled. In addition, access to the Function Keys is enabled.[32] Locally installed Silverlight applications still run in a sandbox.[32]

Installed Silverlight 3 applications automatically check for updates asynchronously on every launch and updates are automatically installed.[33] Running instances of the applications are informed when updates are available.[31]

Silverlight 3 is now listed as a requirement for eFiling income tax returns for free in the US.[34]

Silverlight 4

On November 18, 2009, at the Professional Developers Conference in Los Angeles, Microsoft Corporation unveiled a Beta version of Silverlight 4.[35] The final version was released on April 15, 2010 (along with Silverlight 4 tools for developers).

New features in Silverlight 4 include:

  • Support for Google's Chrome browser.
  • Web cam and microphone support.
  • Printing support.
  • Improved mouse support including right button support and mouse wheel support.
  • New notification support to display messages to end users.
  • New and enhanced controls such as a RichTextBox and an enhanced DataGrid control.
  • New support for implicit theming of controls.
  • New hosted browser support for rendering HTML inside Silverlight.
  • WCF data layer enhancements.
  • Localization enhancements with bi-directional text.
  • Support for Managed Extensibility Framework.
  • Enhanced data binding support.
  • Enhanced animation effects.
  • Clipboard and drag and drop support.
  • Deep Zoom performance enhancements.
  • WCF Rich internet application (RIA) Services.[36]
  • Content protection for H.264 and support for playing offline DRM protected media.

Additionally, the following features are provided to out-of-browser (locally installed) Silverlight applications that have been explicitly granted "trusted" status:

  • Full keyboard access while running in full screen mode.
  • Programmatic access to a user's local document folder.
  • Support for local Component Object Model (COM) objects.

Silverlight 5

On December 2, 2010 at the Silverlight Firestarter event, Silverlight 5 beta was announced for release in the 1st half of 2011. The final version was released on December 9, 2011.[37]

New features in Silverlight 5 include:[38]

  • Supports GPU accelerated video decoding
  • Built-in 3D graphics support
  • Variable speed playback of media content with automatic audio pitch correction
  • Improved power awareness
  • Built-in remote-control support
  • Supports faster application startup
  • Provides 64-bit browser support
  • Automated UI testing support for applications with Visual Studio 2010
  • Delivers improved text clarity
  • Developers can now debug data-binding expressions, set breakpoints on bindings.
  • WCF RIA Services improvements include complex type support and better MVVM support.

Release history

[39]

Version name Version number Release date
1 Community Technology Preview (CTP) 1.0.? 2006–12
1 Release to Web (RTW) 1.0.20816 2007-09-05
2 Pre-Release
(As 1.1 Alpha Refresh)
1.1.20926.0 2007-09-05
1 Service release 1.0.21115.0 2007-11-20
1 Service release 1.0.30109.0 2008-01-15
2 Beta 1[40] 2.0.30226.2 2008-03-05
1 Service release[41] 1.0.30401.0 2008-04-08
2 Beta 2 2.0.30523.6 2008-06-06[42]
2.0.30523.8 2008-07-16
1 Service release 1.0.30715.0 2008-07-27
2 Release Candidate Zero (RC0) 2.0.30523.9 2008-09-25
2 RTW[43] 2.0.31005.0 2008-10-14[44]
2 General Distribution Release (GDR) 1 2.0.40115.0 2009-02-19
3 Beta 3.0.40307.0 2009-03-18
3 RTW 3.0.40624.0 2009-07-09
3 GDR 1 3.0.40723.0 2009-07-28
3 GDR 2 3.0.40818.0 2009-09-01
4 Beta 1 4.0.41108.0 2009-11-18
3 GDR 3 3.0.50106.0 2010-01-20
4 RC 4.0.50303.0 2010-03-15
4 RTW 4.0.50401.0 2010-04-15[45]
4 GDR 0 4.0.50524.0 2010-06-03
3 Security Update 3.0.50611.0 2010-08-10
4 GDR 1 4.0.50826.0 2010-09-01
4 GDR 2 4.0.50917.0 2010-09-28[46]
4 GDR 2.5 4.0.51204.0 2010-12-15[47]
4 GDR 3 4.0.60129.0 2011-02-14[48]
4 GDR 4 4.0.60310.0 2011-04-19[49]
4 GDR 5 4.0.60531.0 2011-06-14[50]
4 GDR 6 4.0.60831.0 2011-10-11[51]
5 Beta 5.0.60401.0 2011-04-13[52]
5 RC 5.0.60818.0 2011-09-01[53]
5 5.0.61118.0 2011-12-09[37]
4 Security Update 4.1.10111.0 2012-02-14[54]
4 Security Update 4.1.10329.0 2012-05-08[55]
5 Security Update 5.1.10411.0 2012-05-08[39][56]
5 Security Update 5.1.20125.0 2013-03-12[57]
5 Security Update 5.1.20513.0 2013-07-09[58]
5 Security Update 5.1.20913.0 2013-10-08[59]
5 Update 5.1.30214.0 2014-05-11[39][60][61]
5 Update 5.1.30514.0 2014-07-23[39][62]
5 Update 5.1.31211.0 2014-12-13[39][63]
5 Update 5.1.40416.0 2015-05-12[39][64]
5 Update 5.1.40728.0 2015-08-11[39][65]
5 Update 5.1.41105.0 2015-12-08[39][66]
5 Security Update 5.1.41212.0 2016-01-12[39][67]

References

  1. 1.0 1.1 1.2 1.3 1.4 Lua error in package.lua at line 80: module 'strict' not found.
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. 3.0 3.1 Lua error in package.lua at line 80: module 'strict' not found.
  4. Lua error in package.lua at line 80: module 'strict' not found.
  5. Lua error in package.lua at line 80: module 'strict' not found.
  6. Lua error in package.lua at line 80: module 'strict' not found.
  7. 7.0 7.1 7.2 7.3 7.4 7.5 Lua error in package.lua at line 80: module 'strict' not found.
  8. 8.0 8.1 Lua error in package.lua at line 80: module 'strict' not found.
  9. 9.0 9.1 9.2 9.3 Lua error in package.lua at line 80: module 'strict' not found.
  10. 10.0 10.1 10.2 Lua error in package.lua at line 80: module 'strict' not found.
  11. Lua error in package.lua at line 80: module 'strict' not found.
  12. Lua error in package.lua at line 80: module 'strict' not found.
  13. Lua error in package.lua at line 80: module 'strict' not found.
  14. 14.0 14.1 Lua error in package.lua at line 80: module 'strict' not found.
  15. 15.0 15.1 15.2 15.3 Lua error in package.lua at line 80: module 'strict' not found.
  16. Lua error in package.lua at line 80: module 'strict' not found.
  17. Lua error in package.lua at line 80: module 'strict' not found.
  18. Lua error in package.lua at line 80: module 'strict' not found.
  19. Lua error in package.lua at line 80: module 'strict' not found.
  20. Lua error in package.lua at line 80: module 'strict' not found.
  21. Lua error in package.lua at line 80: module 'strict' not found.
  22. 22.0 22.1 Lua error in package.lua at line 80: module 'strict' not found.
  23. Lua error in package.lua at line 80: module 'strict' not found.
  24. Lua error in package.lua at line 80: module 'strict' not found.
  25. 25.0 25.1 Lua error in package.lua at line 80: module 'strict' not found.
  26. Lua error in package.lua at line 80: module 'strict' not found.
  27. 27.00 27.01 27.02 27.03 27.04 27.05 27.06 27.07 27.08 27.09 27.10 27.11 27.12 27.13 Lua error in package.lua at line 80: module 'strict' not found.
  28. Lua error in package.lua at line 80: module 'strict' not found.
  29. Lua error in package.lua at line 80: module 'strict' not found.
  30. 30.0 30.1 30.2 30.3 30.4 30.5 Lua error in package.lua at line 80: module 'strict' not found.
  31. 31.0 31.1 Lua error in package.lua at line 80: module 'strict' not found.
  32. 32.0 32.1 Lua error in package.lua at line 80: module 'strict' not found.
  33. Lua error in package.lua at line 80: module 'strict' not found.
  34. https://www.freefilefillableforms.org/FFA/FAQs.htm
  35. Lua error in package.lua at line 80: module 'strict' not found.
  36. Lua error in package.lua at line 80: module 'strict' not found.
  37. 37.0 37.1 Lua error in package.lua at line 80: module 'strict' not found.
  38. Lua error in package.lua at line 80: module 'strict' not found.
  39. 39.0 39.1 39.2 39.3 39.4 39.5 39.6 39.7 39.8 Lua error in package.lua at line 80: module 'strict' not found.
  40. Lua error in package.lua at line 80: module 'strict' not found.
  41. Lua error in package.lua at line 80: module 'strict' not found.
  42. Lua error in package.lua at line 80: module 'strict' not found.
  43. Lua error in package.lua at line 80: module 'strict' not found.
  44. Lua error in package.lua at line 80: module 'strict' not found.
  45. Lua error in package.lua at line 80: module 'strict' not found.
  46. Lua error in package.lua at line 80: module 'strict' not found.
  47. Lua error in package.lua at line 80: module 'strict' not found.
  48. Lua error in package.lua at line 80: module 'strict' not found.
  49. Lua error in package.lua at line 80: module 'strict' not found.
  50. Lua error in package.lua at line 80: module 'strict' not found.
  51. Lua error in package.lua at line 80: module 'strict' not found.
  52. Lua error in package.lua at line 80: module 'strict' not found.
  53. Lua error in package.lua at line 80: module 'strict' not found.
  54. Lua error in package.lua at line 80: module 'strict' not found.
  55. Lua error in package.lua at line 80: module 'strict' not found.
  56. Lua error in package.lua at line 80: module 'strict' not found.
  57. Lua error in package.lua at line 80: module 'strict' not found.
  58. Lua error in package.lua at line 80: module 'strict' not found.
  59. Lua error in package.lua at line 80: module 'strict' not found.
  60. Lua error in package.lua at line 80: module 'strict' not found.
  61. Lua error in package.lua at line 80: module 'strict' not found.
  62. Lua error in package.lua at line 80: module 'strict' not found.
  63. Lua error in package.lua at line 80: module 'strict' not found.
  64. Lua error in package.lua at line 80: module 'strict' not found.
  65. Lua error in package.lua at line 80: module 'strict' not found.
  66. Lua error in package.lua at line 80: module 'strict' not found.
  67. Lua error in package.lua at line 80: module 'strict' not found.

External links