Microsoft Silverlight An Introduction
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 C# ASP.NET AJAX JavaScript JScript IronRuby IronPython VBX 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
Creating a Silverlight application XML Data Included files Web Page Index.htm Silverlight.js CreateSilverlight.js HelloWorld.XAML Bird.XAML Clock.XAML Code.js Stylesheet Silverlight 1.0 – XAML + JavaScript COMPLETE DOM LEVEL 1 integration