Rajesh Lal ( connectrajesh@hotmail.com ) Microsoft Silverlight An Introduction Rajesh Lal ( connectrajesh@hotmail.com )
Silverlight is a cross-browser, cross-platform plug-in* * An auxiliary program that works with a software package to enhance its capability. For example, plug-ins used in Photoshop to add a filter for some special effect. Other examples of Plug-ins are Macromedia Flash, Digital Video Express(Divx) Player plug-in, Windows Media Player etc.
Why it’s time for Silverlight Run on all popular browsers and OS Consistent experience irrespective of platform Supports AJAX methodology for rich Internet applications Includes compelling graphics, 2D vector & animation Streams video/audio and scales video quality from mobile device to 720 HDTV video modes Small download 4 MB
Programming Language XAML- core of Silverlight for Rich User interface All other - for programming logic
XAML / C #/ JavaScript Compile and Run Load, Parse, Display Button b1 = new Button(); b1.Content = "OK"; b1.Background = new SolidColorBrush(Colors.LightBlue); b1.Width = 100; Compile and Run <Button Width="100"> OK <Button.Background> LightBlue </Button.Background> </Button> Load, Parse, Display
Comparison with Flash
Silverlight Business Model Delivering media without going broke Video delivery trend
Silverlight Business Model Windows Media Services Why stream? Live Streaming Fast Streaming Logging Caching and Proxying
Creating a Silverlight application Silverlight 1.0 – XAML + JavaScript COMPLETE DOM LEVEL 1 integration