1 / 49

Silverlight Update

Silverlight Update. Alan Cobb Independent .NET Consultant Alan Cobb & Associates, Inc. Sacramento, CA Tuesday, October 28, 2008, 6pm. About Alan Cobb. Independent consultant since mid-80s on Microsoft platforms Silverlight, WPF, .NET, C#, C++ One of directors of the SacDotNet User Group

truly
Download Presentation

Silverlight Update

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Silverlight Update Alan Cobb Independent .NET Consultant Alan Cobb & Associates, Inc. Sacramento, CA Tuesday, October 28, 2008, 6pm

  2. About Alan Cobb • Independent consultant since mid-80s on Microsoft platforms • Silverlight, WPF, .NET, C#, C++ • One of directors of the SacDotNet User Group • http://www.alancobb.com • http://www.alancobb.com/blog

  3. Silicon Valley Code Camp • My presentation: Silverlight Debugging • 4 other Silverlight presentations • Overall: • November 8, 9 (Sat. and Sun.) • Foothill College in Los Altos Hills • 115 presentations, 830 registered • Free

  4. Presentation Overview • What is Silverlight? • How does it relate to other client-side technologies? How important is it? • What can it do? • Feature details and demos • Silverlight app development walk-walkthrough. • Expression Blend. Visual Studio 2008.

  5. What is Silverlight? • Like Flash: • Browser plug-in: cross-browser, cross-platform • Animated ads, video, applications (like Flex) • Benefits: • Write-once-run-everywhere, • Adds functionality not in HTML / AJAX

  6. Versions of Silverlight • v 1.0 • RTW: September 2007 • Code behind – JavaScript only • v 2 • RTW: October 13, 2008 • .NET based – Partial .NET class library • Code behind - .NET languages C#, etc. • Silverlight for Mobile: • ??

  7. Inside Silverlight 2 Silverlight 2: GUI “eye-candy”: XAML, Layout, Styling, Animation .NET “plumbing”: CLR, Base Class Libraries

  8. Comparing client platforms Desktop: Web: Silverlight Flash / Flex WPF WinForms Win32Win16 HTML / CSS / JavaScript / AJAX

  9. Competing technologies • Web-based: • Adobe Flash / Flex • “Ajax”: HTML + CSS + JavaScript • Desktop based “smart clients” • WPF on high end • 3D, Hardware acceleration • WinForms: (Mature, proven) • Desktop-web hybrid (?): • Adobe AIR

  10. Silverlight and WPF: Differences • WPF: • Windows only • Requires 50 / 200 MB .NET 3.x runtime • Steeper learning curve • Silverlight: • Cross OS, cross browser • Small download (approx. 4 to 5 MB) • Reduced feature set • Sandboxed – Secure but limiting

  11. How important is Silverlight? • This is a big deal • Once-every-20-years event • Existing client-side web technology has reached the peak of its life-cycle • Fresh start of a new client GUI technology • Web is where the action is • The network is the computer

  12. What Can Silverlight Do?SL2 App Demos Demos

  13. Video: 2008 Olympics

  14. Game: Bird Hunt

  15. Demo: Chess App

  16. DeepZoom: Hard Rock site

  17. DeepZoom: Yosemite

  18. SL for Mobile: Weatherbug Demo

  19. LOB: Patient Journey

  20. Cloud Services • <Insert examples of Silverlight front-ends for PDC-2008 Azure (Red Dog) apps and services here>

  21. Office Web: Excel Web

  22. Office Web: Word Web

  23. Demo: Silverlight Airlines

  24. Demos: Showcase

  25. Demo: MS Download Center

  26. Feature Details What Can Silverlight Do?

  27. SL2 Feature Summary: • GUI system features: • XAML, etc. • Controls: • What controls come “in the box”? • Data: • Features related to database-type apps • Communications: • Web services

  28. GUI System Features • WPF subset • Vector based vs. pixel based • Scalable – Looks good at multiple resolutions • Dynamic layouts • XAML – Similar to HTML • Declarative • Designers and programmers work in parallel • Rich customization is easier • “Lookless” controls • Styles and templating

  29. Non-GUI Features • More than just “eye-candy” • OpenFileDialog • Threads • Direct cross-domain access rather than proxied by your server.

  30. SL2 Features: Controls • Controls: • Extensible control base classes • Common controls: • Textbox, Checkbox, Radiobutton, etc • TabControl, Slider, ScrollViewer, ProgressBar, etc • Layout controls: • Grid, StackPanel • Data controls: • DataGrid, etc

  31. Demo: Existing standard controls

  32. Silverlight Toolkit

  33. Soon: “Silverlight Toolkit”

  34. Demo: 3rd Party Control Library

  35. Demo: Infragistics for Silverlight

  36. Demo: DevExpress AgDataGrid

  37. SL2 Features: Data • Data: • 2-way data binding • More LINQ support: • LINQ to XML • LINQ to Objects

  38. SL2 Features: Communications • Communications: • REST, POX, RSS, and WS-* communication • Cross domain network access (coming) • Sockets (no cross-domain yet) • WCF? (How much client side?)

  39. SL2 Features: Other • Isolated Storage: • Secure • Size: 1MB default, can ask user for more • Security • ?

  40. Feature Unknowns (?) • Local client integration? • Not in SL2: Read and write local files? • Not in SL2: Read local mic and webcam? • Depth of class libraries? • Pay-for-play

  41. Resources • Main site: • silverlight.net • Forums: • silverlight.net / forums • Books: • Silverlight 2 books in the pipeline • 50MB CHM help file with SDK • Jesse Liberty blog: Skills SL devs need to have

  42. Resource: MIX session videos

  43. SilverlightDevelopmentWalk-throughs

  44. Now 2 Tools - Not Just 1

  45. Now 2 Tools – Not Just 1 • Expression Blend: • For graphic designers • GUI builder • Visual Studio 2008: • For programmers • Includes a more limited GUI builder

  46. Expression Blend Tutorial

  47. Expression Blend Tutorial

  48. ScottGu – SL2 Intro Tutorials

  49. ScottGu’s SL2 Digg Client

More Related