- How does it relate to other client-side technologies?
- Silverlight app development walk-through
What is Silverlight?
- One word definition: Flash
- Browser plug-in: cross-browser, cross-platform
- Use case today: Animated ads, Video
- Use case tomorrow: Applications (Flex)
- Benefits: Adds functionality + write-once-run-everywhere
- Why Silverlight not Flash?
- 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
- Desktop based “smart clients”
- 3D, Hardware acceleration
- WinForms: (Mature, proven)
- ASP.NET - HTML + CSS + AJAX
Demo – Yahoo Finance Charts
Demo – Picnik.com Photo Editor
WPF / Silverlight – Positives:
- Vector based vs. pixel based
- Scalable – Looks good at multiple resolutions
- Designers and programmers work in parallel
- Rich customization is possible in a well-designed way
WPF - Negatives
- Requires 50 / 200 MB .NET 3.x runtime
Versions of Silverlight
- Alpha introduced in Spring 2007.
- Beta at MIX08 in March 2008.
- Code behind - .NET languages C#, etc.
- Partial .NET class library
Silverlight - Positives
- Lightweight at 4-6 MB, quick download
- Use familiar class libraries
- Rich state-of-the-art GUI
- All types of content handled uniformly
Demo: Silverlight Airlines
Demo: MS Download Center
Demo: 3 rd Party Control Vendor
Silverlight 2.0 Features
Silverlight Development Walk-through
- Includes a more limited GUI builder
Making silverlight small application
- Add a new web to the solution for hosting the control.
- Dynamically generates an html test page to host silverlight with in this project.
Making silverlight application
Set as start page
Simple silverlight code
Event handling code
Output of the silverlight application