About Angela Ward
•Independent consultant since mid-90s on
Microsoft platforms
•OODB, WinForms, XML, .NET
•Business Analyst, QA Test Lead
Presentation Overview
•What is Silverlight?
•How does it relate to other client-side
technologies?
•How important is it?
•Silverlight app development walk-through
What is Silverlight?
•One word definition: Flash
oBrowser plug-in: cross-browser, cross-platform
oUse case today: Animated ads, Video
oUse case tomorrow: Applications (Flex)
oBenefits: Adds functionality + write-once-run-everywhere
•Why Silverlight not Flash?
•More words: Flash + .NET
•More words: WPF-subset + .NET-subset
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
oThe network is the computer
Competing technologies
•Desktop based “smart clients”
oWPF on high end
3D, Hardware acceleration
oWinForms: (Mature, proven)
•Web-based:
oASP.NET - HTML + CSS
oASP.NET - HTML + CSS + AJAX
oAdobe Flash / Flex
•Desktop-web hybrid (?):
oAdobe AIR
Demo – Yahoo Finance Charts
Demo – Picnik.com Photo Editor
Feature Details
WPF / Silverlight – Positives:
•Vector based vs. pixel based
oScalable – Looks good at multiple resolutions
•XAML – Similar to HTML
oDeclarative
oDesigners and programmers work in parallel
•Rich customization is possible in a well-
designed way
Early Versions of Silverlight
•1.0
oRTM in Sept. 2007
oCode behind – JavaScript only
•1.1 / 2.0
oAlpha introduced in Spring 2007.
oBeta at MIX08 in March 2008.
oRTM maybe Q3-2008.
oCode behind - .NET languages C#, etc.
oPartial .NET class library
Silverlight - Positives
•Lightweight at 4-6 MB, quick download
•.NET based
oWrite in C# or VB.NET
oUse familiar class libraries
•Rich state-of-the-art GUI
oVector based
oAll types of content handled uniformly
•Secure - sandboxed
Silverlight - Negatives
•Not quite here yet
o“Pig in a poke”
•Sandboxing limits functionality
•Conflicting products within Microsoft?
Demo: Silverlight Airlines
Demo: MS Download Center
Demo: 3
rd
Party Control Vendor
Silverlight 5.0 Features:
•Won’t know details until August 2011
•Controls:
•Data:
•Communications:
Silverlight 2.0 Features:
•Data:
o2-way data binding
oMore LINQ support: LINQ to XML
Silverlight 2.0 Features:
•Communications:
oREST, POX, RSS, and WS-* communication
oCross domain network access
oSockets
Feature Unknowns (?)
•Local client integration?
oRead and write local files?
oRead local mic and webcam?
•WCF?
•Depth of class libraries?
oPay-for-play
Silverlight
Development
Walk-through
Silverlight Tools
•Expression Blend:
oGUI builder
oGraphic designers
•Visual Studio 2008/2010:
oIncludes a more limited GUI builder
oProgrammers