Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Silver Light


Published on

SilverLight Presentation

Published in: Technology
  • Be the first to comment

Silver Light

  1. 1. Presented by : Gourav Sharma 3470070013 Sec:C2703 BTECH(MBA)-IT
  2. 2. Silverlight at a glance
  3. 3. Why Silverlight? <ul><li>User Experience Expectations increasing exponentially </li></ul><ul><li>Rich Web applications are no longer a luxury, they’re a necessity </li></ul><ul><li>Silverlight provides a platform that is easy and cheap to build for </li></ul><ul><li>Silverlight skills transfer to server, desktop and mobile application development </li></ul>
  4. 4. Versions of Silverlight <ul><li>v 1.0 </li></ul><ul><ul><li>Code behind – JavaScript only </li></ul></ul><ul><li>v 1.1 / 2 </li></ul><ul><ul><li>.NET based </li></ul></ul><ul><ul><li>Code behind - .NET languages C#, etc. </li></ul></ul><ul><ul><li>Partial .NET class library </li></ul></ul>
  5. 5. Inside Silverlight Silverlight : GUI “eye-candy”: XAML, Layout, Styling, Animation .NET “plumbing”: CLR, Base Class Libraries
  6. 6. Silverlight Web Architecture HTML JS XAML XAP Internet
  7. 7. Silverlight and .NET
  8. 8. XAML Browser Host MS AJAX Library DOM Integration CLR Execution Engine Deploy Friction-Free Installer Auto- Updater Application Services SOAP Legend V1.1 Legend V1.0 Networking JSON REST POX RSS Data LINQ XLINQ DLR Ruby Python WPF Extensible Controls BCL Generics Collections Inputs Keyboard Mouse Ink Media VC1 WMA MP3 UI Core Images Vector Text Animation DRM Media Controls Layout Editing
  9. 9. Flash vs Silverlight Flash Silverlight Animation model Frame-based Time-based Language ActionScript CLR-compilant (VB.NET, C#) Platform All major Limited Linux (Moonlight) Multithreading No (from programmer perspective) Yes
  10. 10. Flash vs Silverlight Flash Silverlight Image support Most formats JPG and PNG Video, audio Multiple formats, low-level APIs VC-1 codec, WMW, WM, no low-level APIs Streaming More cost-effective Other More mature Deep Zoom
  11. 11. Silverlight and WPF: Differences <ul><li>WPF: </li></ul><ul><ul><li>Windows only </li></ul></ul><ul><ul><li>Requires 50 / 200 MB .NET 3.x runtime </li></ul></ul><ul><ul><li>Steeper learning curve </li></ul></ul><ul><li>Silverlight: </li></ul><ul><ul><li>Cross OS, cross browser </li></ul></ul><ul><ul><li>Small download (approx. 4 to 5 MB) </li></ul></ul><ul><ul><li>Reduced feature set </li></ul></ul><ul><ul><li>Sandboxed – Secure but limiting </li></ul></ul>
  12. 12. Silver Light Feature : <ul><li>GUI system features: </li></ul><ul><ul><li>XAML, etc. </li></ul></ul><ul><li>Controls </li></ul><ul><li>Data: </li></ul><ul><ul><li>Features related to database-type apps </li></ul></ul><ul><li>Communications: </li></ul><ul><ul><li>Web services </li></ul></ul>
  13. 13. GUI System Features <ul><li>WPF subset </li></ul><ul><li>Vector based vs. pixel based </li></ul><ul><ul><li>Scalable – Looks good at multiple resolutions </li></ul></ul><ul><li>Dynamic layouts </li></ul><ul><li>XAML – Similar to HTML </li></ul><ul><ul><li>Declarative </li></ul></ul><ul><ul><li>Designers and programmers work in parallel </li></ul></ul><ul><li>Rich customization is easier </li></ul><ul><ul><li>“ Lookless” controls </li></ul></ul><ul><ul><li>Styles and templating </li></ul></ul>
  14. 14. SL2 Features: Controls <ul><li>Controls: </li></ul><ul><ul><li>Extensible control base classes </li></ul></ul><ul><ul><li>Common controls: </li></ul></ul><ul><ul><ul><li>Textbox, Checkbox, Radiobutton, etc </li></ul></ul></ul><ul><ul><ul><li>TabControl, Slider, ScrollViewer, ProgressBar, etc </li></ul></ul></ul><ul><ul><li>Layout controls: </li></ul></ul><ul><ul><ul><li>Grid, StackPanel </li></ul></ul></ul><ul><ul><li>Data controls: </li></ul></ul><ul><ul><ul><li>DataGrid, etc </li></ul></ul></ul>
  15. 15. SL2 Features: Data <ul><li>Data: </li></ul><ul><ul><li>2-way data binding </li></ul></ul><ul><ul><li>More LINQ support: </li></ul></ul><ul><ul><ul><li>LINQ to XML </li></ul></ul></ul><ul><ul><ul><li>LINQ to Objects </li></ul></ul></ul>
  16. 16. SL2 Features: Communications <ul><li>Communications: </li></ul><ul><ul><li>REST, POX, RSS, and WS-* communication </li></ul></ul><ul><ul><li>Cross domain network access </li></ul></ul><ul><ul><li>Sockets </li></ul></ul><ul><ul><li>WCF </li></ul></ul>
  17. 17. Advantages of Silver LIght <ul><li>Rich UI applications using WPF </li></ul><ul><li>Cross-browser, cross-platform plug-in </li></ul><ul><li>Rich Media experience. Possible to collaborate Media objects such as Video Streaming, Animations, etc. </li></ul><ul><li>Search-engine friendly </li></ul><ul><li>Application is firewall-compatible </li></ul><ul><li>Socket/TCP programming for multi-player networking support </li></ul><ul><li>Overlaying of Silverlight controls is possible as each Silverlight components is rendered in HTML DIV tags. </li></ul>
  18. 18. Limitations: <ul><li>No support for auto-content scrolling of a container. </li></ul><ul><li>Silverlight 1.0 : Doesn’t include any input controls of its own. </li></ul><ul><li>The support of WPF is currently very limited. </li></ul><ul><li>No build-in Silverlight controls available in Silverlight Alpha. </li></ul><ul><li>Exception handling is not very good so far: Exceptions in XAML file do not show on the browsers and it will just show the employ canvas which is not good. </li></ul>
  19. 19. ANY QUERY <ul><ul><ul><ul><ul><li>? </li></ul></ul></ul></ul></ul>