Introduction to silverlight


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Introduction to silverlight

  1. 1. Introduction to Silverlight<br />
  2. 2. Mahender Sarangam <br />Having close to 5 years of experience. Working as a Senior Software Engineer in United Health Group. Good Knowledge on C#, ASP.NET, Silverlight, WPF ,SQL Server, Team Foundation Server(TFS) and SharePoint Technology.<br />
  3. 3. Microsoft Silverlight is an application framework for writing and running browser plug-ins or other rich Internet application, with features and purposes similar to those of Adobe Flash.<br />Silverlight aims to give .NET developers a better option for creating rich web content. <br />Silverlight runs on top of compact .NET framework. It natively supports the VB .NET/VC# language and uses a range of .NET concepts. As a result, developers can write client- side code for Silverlight in the same language they use for server- side code (such as VB and C#), and use many of the same abstractions (including streams, controls, collections, generics, and LINQ). <br />What is Silverlight?<br />
  4. 4. It can run in most of the popular browsers like Internet Explorer, Firefox, Chrome, Safari etc. <br />Silverlight can run in various devices and operating systems like Windows, Apple Mac OS-X and Windows Phone 7. <br />Using Silverlight you can create rich, visually stunning web applications like flash. <br />Also you can create smooth animations using Storyboards; you can stream media over the net etc<br />Top Banana is one of the first Silverlight applications developed using managed code, C#, Visual Studio and Microsoft Expression<br />
  5. 5. It is a cross-browser, cross-platform technology. It runs in all popular modern web browsers. <br />It provides a consistent experience no matter where it runs. <br />It is supported by a very small download that installs in seconds. <br />It includes compelling graphics that users can manipulate drag, turn, and zoom—directly in the browser. <br />It reads data and updates the display, but it doesn't interrupt the user by refreshing the whole page. <br />Features: <br />
  6. 6. Animation <br /><ul><li>Flash uses the frame-based animation model
  7. 7. Silverlight is based on the WPF animation model,which is time-based instead of frame-based </li></ul>File Size<br /><ul><li>Flash uses a compressed format, and text and images are embedded in the movie
  8. 8. Silverlight uses XAML for its description language, and it is non-compressed, so the size of a Silverlight component is usually larger</li></ul>Scripting<br /><ul><li>Action Script is used to program Flash objects
  9. 9. you can choose from among a number of programming languages such as Visual C#.Net and Visual Basic .NET, including client-side scripting with JavaScript</li></ul>Technical differences between Flash and Silverlight<br />
  10. 10. Video And Audio<br /><ul><li>Flash supports multiple video formats
  11. 11. Silverlight implements the industry-standard VC-1 codec for video, and supports WMV and WMA</li></ul>Text Representation/SEO<br /><ul><li>Flash stores fonts using shape definitions and the player doesn’t understand TTF</li></ul>Debugging<br /><ul><li>No debugging capability in flash ,Debugging facility in Silverlight</li></ul>Service Support<br />Silverlight supports communication with web services or WCF services,but in flash no support for web service<br />Video And Audio<br />
  12. 12. Features Flash Silverlight<br />Animation better<br />File size better <br />Scripting better<br />Video/Audio better<br />Sound processing better <br />Accessibility better <br />Platform compatibility better <br />Text Representation/SEO better<br />Supported image formats better <br />Socket programming better <br />Webcam support better <br />Deployment better <br />Windows application better <br />Media streaming better<br />
  13. 13. System Requirements for Silverlight?<br />MINIMUM SYSTEM REQUIREMENTS FOR INSTALLING SILVERLIGHT PLUG-IN IS AS FOLLOWS:<br />PC Type Processor RAM Operating System<br /> <br />Windows PC 500 MHz or higher, 128 MB Windows XP SP2+<br />X86 or x64 bit processor<br />Mac Power PC /<br /> PowerPC G4 800 MHz or higher 128 MB Mac 10.4.8 or higher<br />Mac Intel-based <br />Intel Core Duo 1.83 GHz or higher 128 MB Mac 10.4.8 or higher <br />
  14. 14. Highest Quality Video Experience. <br />Cross-Platform, Cross-Browser. <br />Developers and Graphic Designers work together:Developers familiar with Visual Studio, will be able to develop amazing Silverlight applications very quickly. So developer can strictly focus on the back end of the application core, while leaving the visuals to the Graphic Design team using the power of XAML. <br />Cheaper: Silverlight is now the most inexpensive way to stream video files over the internet at the best quality possible. All we need IIS in Windows Server. <br />Support for 3rd Party Languages: <br />Speed: There is a very good improvement in speed for AJAX-enabled websites that begin to use Silverlight, leveraging the Microsoft .NET framework<br />How Silverlight would change the Web<br />
  15. 15. Silverlight Version 1.0<br />Silverlight 1.0 is very good at displaying Media (audio and video) but it's lack of controls and reliance on JavaScript as the only programming language, introduce numerous limitations. <br />Main features of Silverlight 1.0: <br /><ul><li>Built-in codec support for playing WMV video, and MP3 and WMA audio within a browser.
  16. 16. Silverlight supports the ability to progressively download and play media content from any web-server.
  17. 17. Silverlight also optionally supports built-in media streaming.
  18. 18. Silverlight enables you to create rich UI and animations, and blend vector graphics with HTML to create compelling content experiences. </li></ul>Silverlight Versions<br />
  19. 19. Silverlight 2.0 Version<br /><ul><li>Silverlight 2 introduces the .NET framework to Silverlight with the support of DLR and rich control set. </li></ul>Main features of Silverlight 2.0: <br /><ul><li>Includes a version of the .NET Framework, with the full Common Language Runtime as .NET Framework 3.0;
  20. 20. A built in CLR engine which delivers a super high performance execution environment for the browser.
  21. 21. Silverlight 2 includes Deep Zoom. It allows users to zoom into, or out of, an image (or a collage of images), with smooth transitions, using the mouse wheel. 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.
  22. 22. Silverlight 2 also allows limited file system access to Silverlight applications. It can use the operating system's native file dialog box to browse to any file to which the user has access.
  23. 23. The XAML layout markup file (.xaml file) can be augmented by code-behind code, written in any .NET language, which contains the programming logic.
  24. 24. This version ships with more than 30 UI controls (including TextBox, CheckBox, Slider, ScrollViewer, and Calendar controls), for two-way databinding support, automated layout management as well as data-manipulation controls, such as DataGrid and ListBox. </li></li></ul><li>Silverlight Version 3.0<br />This version represents a maturation of the platform instead of the complete change in platform that Silverlight 2 represented<br />Major media enhancements<br /><ul><li>Silverlight is already great solution for supporting various media scenarios but we will see support for H.264 video in Silverlight 3</li></ul>Major graphics improvement<br />Major developer Experience improvements<br />Running Silverlight 3 applications outside of browser, as stand-alone desktop applications<br />Performance Improvements<br />Styling (support of Merge Resource Dictionary)<br />
  25. 25. Silverlight 4.0<br /><ul><li>Silverlight 4 provides a great tool for designers and developers to build cutting edge applications with awesome multimedia and graphics.
  26. 26. It has excellent support for printing, rich reporting and charting, support for web camera and microphone, support for COM automation, support for local file access, support for new languages, rich text editing, and, improved support for data binding like target null values, fall back values, ability to have string format, Binding to string indexers and support for complex ,multi property validation of data object.
  27. 27. Silverlight 4 is amazingly feature rich and its evolution will increase the demand for building LOB applications using Silverlight 4.
  28. 28. Silverlight now enables applications to remain in full-screen mode when another application is active
  29. 29. Implicit Style for Silverlight
  30. 30. Right Mouse Click event, Right to Left flow direction, Multiple Transforms
  31. 31. Multi casting ,DRM for offline, Web Cam and Microphone support
  32. 32. View Box control, Web Browser, web browser brush and Clip Board object access</li></li></ul><li>On December 2, 2010 at the Silverlight Fire starter event, Silverlight 5 beta was announced for release in the 1st half of 2011. The final release is planned for the end of 2011.<br />New features in Silverlight 5 include:<br />Supports GPU accelerated video decoding instead of CPU decoding<br />Built-in 3D graphics support<br />Variable speed playback of media content with automatic audio pitch correction<br />Improved power awareness<br />Built-in remote-control support<br />Supports faster application startup<br />Provides 64-bit browser support<br />Automated UI testing support for applications with Visual Studio 2010<br />Delivers improved text clarity<br />Developers can now debug data-binding expressions, set breakpoints on bindings.<br />Silverlight 5<br />
  33. 33. First and foremost, it will take few more years for HTML5 to be standardized<br />There is no IDE to create HTML5 Web applications<br />JavaScript only language of coding<br />Rich animations and effects will have performance issues in HTML5 canvas or in SVG<br />Video tag in HTML5 allows you to play videos<br />Uniform look and feel<br />Security aspect<br />Debugging Aspect<br />HTML 5 and Silverlight <br />
  34. 34.<br /><br />References <br />
  35. 35. THANK YOU<br />