7 ASP.NET is Microsofts Silverlight is Microsofts competitor to competitor to JSP/JSF and the Adobe Flash and Flex. Basically, a successor to classic ASP standalone runtime running inside a browser allowing animation, real-time 2D and vector rendering, etc2.Difference between WPF and Silverlight S.No WPF Silverlight 1 WPF is mainly used for creating Silverlight is prominent for creating desktop applications. web based applications. 2 WPF extends support for The advanced features of Windows OS advanced features of Windows namely 3D, complete documentation OS. Few among those features support and hardware acceleration are are: 3D, complete documentation not supported in Silverlight. support and hardware acceleration. 3 WPF includes extensive collection Silverlight does not support many data of data binding properties. binding properties that are supported by WPF. Few properties that are not supported by Silverlight are ElementName, RelativeSource, UpdateSourceTrigger 4 In WPF, the custom markup The x:type is not available in extensions are supported through Silverlight. the markup extension support x:type. 5 In WPF, the items that are added In Silverlight, the items that are added to the control named TabControl to the control named TabControl will will be wrapped automatically not be wrapped automatically within within the TabItem. the TabItem. 6 WPF provides routed commands Silverlight does not provide routed and all its controls are linked to commands or Command property. commands using the property Silverlight provides only an interface called Command. called ICommand. The developers have to create classes that implement this interface and the custom behavior has to be defined within the class. 7 WPF offers input binding support. Silverlight does not offer input binding support.
pitfalls of imperative languages Using imperative languages to build when compared with declarative UIs goes back to the early days of languages. DOS and Windows, when developers had to manage all of the API nuances when interacting with graphical panes.7 There is not any such service Web Services support for Silverlight provided by Flash Streaming8 Flash is not spread as across the Additional Support for mobile devices vast majority of both desktops and with desktop and desktop mobiles platforms, as compared to browsers:Silverlight is supported by Silverlight. Flash requires Flash Windows mobile device as part of a Lite preinstalled on mobile new service that the NBL have built. devices. Silverlight applications and media streaming can be run on a mobile phone – so Silverlight even at this stage is about more than just the desktop browser and desktop market. Silverlight may be seen soon on the Symbian OS too.9 Flash requires video codec to Silverlight does not require video run .WMV videos. codec to run industry standard videos like .WMV10 Flash does not support scalable Silverlight supports scalable video video formats from HD to mobile formats from HD to mobile.11 Flash does not support Hardware- Silverlight supports Hardware-assisted assisted editing and encoding editing and encoding solutions. solutions.12 Flash does not have XAML based Silverlight has XAML based presentation layer for SEO. presentation layer for SEO.13 Flash does not provide End-to-end Silverlight provides End-to-end server server and application platform. and application platform.14 Media server licensing is costlier Media server licensing is cheaper than than Silverlight. flash.15 Flash does not support Scalable Silverlight supports Scalable full full screen video. screen video.16 This limitation doesn’t exist with Silverlight is missing Linux support, Flash. so people using Linux machine cannot run it on their machines and will have to stick to Windows and MAC OS17 Flash Video turned Flash into a Silverlight will add to the use of the mechanism for delivering media WMV file format.Using the WMV with far more potential than any video format essentially makes
other solution that is .flv, no doubt Silverlight useless for the vast majority Flash has also limitation to play of video websites such as YouTube. It other video file. For that Flash cannot play .avi and .mov file. required codex for that player installed on Client machine.18 Even flash is also lacking this Silverlight has no support for binding area. Flash can read data source in to models,binding to data, or even terms of XML or text from some connecting to network resources to URL and can use it. Same thing obtain data. silverlight also can read.19 Flash has rich set of control Silverlight doesnt even have support library. for things that should be considered a stock part of any library such as buttons, checkboxes, list boxes, list views, grids,etc. Probably in future release may Microsoft support it.20 Flash test tools are already in Once the accessibility features are place. provided with Silverlight versions, any existing test tools that support driving UI through Accessibility will be fully enabled to automate Silverlight applications21 With some media file sound Cannot do sound processing. processing can possible.22 Flash allows creating XML Socket programming is not possible. Socket object.23 Can do that. Per pixel bitmap editing, bitmap filters (convolution, color matrix, etc),bitmap effects (drop shadow, blur,glow) cannot be done.24 Flash supports it. Webcam and Microphone support are not provided by Silverlight25 Inbuilt Upload/download support Built in file upload/download support is there. is not available.26 Flash has a long history that spans Silverlight is new in market and more than ten years, and already required time to get acceptance in got acceptance in market and market. being the most successful browser plug- in ,it is installed on over 90 percent of the world’s web browsers27 Size of flash component is Size of Silverlight component is larger. smaller.
28 Flash ships in single component It has found in practical that is .swf.Images/video/sounds implementation of image animation, at also incorporated in single some extent flickering occurs on .swf package. image.