Académique Documents
Professionnel Documents
Culture Documents
Module Overview
Introduction to Rich Internet Applications Overview of Silverlight
What Is an RIA?
A Rich Internet Application (RIA) is a web application that looks,
feels, and functions more like a desktop application. RIAs typically run in a browser, but offer users a more engaging experience through a richer User Interface
Multi-platform and browser Stateful Client
Characteristics
Multimedia support
Enhanced Imaging and Graphics
Technologies
Oracle JavaFx
Drawbacks
What Is XAML?
XAML Example
What is Silverlight?
Silverlight
Powered by .NET
Multiple browser and operating system support
Features
Architecture of Silverlight
.NET for Silverlight
Core Presentation
Framework Silverlight
WPF Controls Data Binding Layout Editing BCL Generics Collections Cryptography Threading CLR Execution Engine
MS Ajax Library
JavaScript Engine
XAML
Inputs Keyboard Mouse Ink Media VC1 H.264 WMA AAC MP3 Deep Zoom Images
DRM Media
Installer
What is XAML?
XML-based language Used by WPF, Silverlight, and WF
<Button Content="Click to Continue" Height="23" HorizontalAlignment="Left" Margin="41,264,0,0" Name="btnSubmit" VerticalAlignment="Top" Width="75" />
XAML Sample
<Grid x:Name="LayoutRoot" Height="119" Width="317"> <Button Content="Submit" Height="23" HorizontalAlignment="Left" Margin="12,56,0,0" Name="btnSubmit" VerticalAlignment="Top" Width="75" /> <dataInput:Label Height="23" HorizontalAlignment="Left" Margin="12,12,0,0" Name="lblName" VerticalAlignment="Top" Width="100" Content="Name" Foreground="White" /> <TextBox Height="23" HorizontalAlignment="Left" Margin="110,12,0,0" Name="txtName" VerticalAlignment="Top" Width="120" /> <Grid.Background> <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5"> <GradientStop Color="Black" Offset="0" /> <GradientStop Color="#FF5CA398" Offset="0.529" /> </LinearGradientBrush> </Grid.Background> </Grid>
Design Surface
XAML
Events
Use Visual Studio to discover the service Visual Studio generates a proxy class
Logon information
Lab Scenario
Lab Review
Review Questions
How does a web page specify which version of Silverlight
Tools
Course Evaluation