It is a powerful development platform for creating rich media applications for the web, desktop and mobile devices. It is a new cross-browser, cross-platform implementation of the .Net Framework for building and developing the next generation of media experiences and Rich Interactive Application for the web users to provide a dynamic experience by using all stuffs like animation, audio, video etc. It runs in all popular/modern browsers like Internet Explorer, Firefox, Safari, Google Chrome running on Microsoft Windows, Mac OS. The very small plug-in requires to run Silverlight and it is freely available on internet.
The main aim of Silverlight is to compete with Adobe product 'Flash' and the presentation components of AJAX. Website designers and developers alike can find much to be excited about in Microsoft's answer to Adobe Flash.
At very first time Silverlight was called by very bored name 'WPF/E' (Windows Presentation Foundation/Everywhere). After the MIX (MIX is a Microsoft conference held annually for web developers and designers at which Microsoft showcases upcoming web technologies) conference in March 2007, a new name 'Silverlight' introduced.
The main advantage of Microsoft's platform, developer's has option to choose his development language. The same in Silverlight, developer can chose either VB.NET or C#.NET to develop Silverlight based apps.
Versions of Silverlight
Silverlight1 was the very first version after the MIX conference. Version 1 was released in September 2007. This version was made up of the following components:
Ã‚Â§ UI Core: Managing the rendering of bitmap, jpeg, vector graphics, text and animations.
Ã‚Â§ Media: Audio support like mp3, wma, wmv7, wmv8 and wmv9/vc-1
Ã‚Â§ Input: Handling input from keyboard, mouse etc
Ã‚Â§ XAML: Pronounced as "Zammel", to allow the UI creating using XAML markups
Silverlight 1.1 (also referred as Silverlight2)
When version 1.1 was released in October 2007, it was rebranded (renamed) as version 2. In addition with many updates in this version, Silverlight 2 includes Deep Zoom technology. This technology allows users to zoom into, or out of, an image with smooth transitions using the mouse wheel.
This version was introduced in early 2009 and the final version was released in 9 July 2009.
On November 18, 2009 at the Professional Developers Conference, Microsoft introduced beta version of Silverlight4 and the final version was released on April 15, 2010. New features in this version 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 theaming 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.
On December 2, 2010 at the Silverlight Firestarter event, the beta version of Silverlight5 was announced for release in 2011. New features will be available with this version includes
Ã‚Â§ Supports GPU accelerated video decoding
Ã‚Â§ Built in 3D graphics support (not to be confused with stereoscopic 3D)
Ã‚Â§ 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.
How to run Silverlight in browsers?
As I already have discussed above, Silverlight is an add-on to browsers, as does Adobe Flash. It gets installed separately to browsers and adds functionality to our browser to display web page and let us some new technology experience. This add-on itself is around 6MB in size.
To run Silverlight applications, we need a compatible web browser. When we point any website which has Silverlight content, we get a small Install Microsoft Silverlight Icon as given below:
Now to install this, click on above icon to download and install. Alternatively, we can download newest version of Silverlight add-on from websitehttp://www.silverlight.net/GetStarted.
We can also update the existing installed add-on by navigating right clicking on any Silverlight based website and navigating to updates option. Alternatively, we can download newest version of Silverlight add-on from website http://www.silverlight.net/GetStarted and re-install it.
Trying some Demos of Silverlight
By navigating on community website for Silverlight, we can find many demos developed by third party developers or even many demos directly from Microsoft. Find the following demos:
Demos by Microsoft
Silverlight enhanced website
Silverlight enhanced website
Above example brings up an interactive graphics. Creating a rich user interface for any application such as above would be very difficult using plain coding.
Advantages of Silverlight
Ã‚Â· Supports Data Binding
Ã‚Â· Supports Drawing of vector graphics and 3D transformations
Ã‚Â· Supports for creating storyboards and animations
Ã‚Â· Supports for using text boxes and buttons and even creating own controls
Ã‚Â· Layout Support
Ã‚Â· Controls styling
Ã‚Â· Change appearance of controls
Ã‚Â· Supports video and audio share via webcams and microphone
Ã‚Â· Supports media streaming
Ã‚Â· Supports to create applications for windows and symbian based mobile phones
What do we need to develop Silverlight?
Microsoft provides all the programs needed to develop Silverlight applications. Expression Blend (Expression Studio includes Expression Blend, Expression Design, Expression Web, Expression Encoder etc.) and Visual Studio are the most commonly and primary requirement. However, to start developing applications in Silverlight 4, we need to install following programs and tools: