3 Day Course
Introduction
This three-day instructor-led course provides students with the knowledge
and skills to develop Microsoft Silverlight 2 applications through a variety of
available development tools and techniques. It also introduces the concept of
separation between data and user interface (UI), the usage of XAML to create
rich UI and the integration of Silverlight applications with existing web
projects.
Audience Profile
This course is intended for both novice and experienced .NET programmers
who have a minimum of six months development experience and basic Windows
navigation skills.
At Course Completion
After completing this course, students will be able to:
•
Create a simple Silverlight 2 application based
on the Visual Studio Silverlight application template
•
Use existing user controls to create a user
interface and customize their templates and styles to provide an optimal user
experience
•
Create Silverlight custom controls
•
Use data binding mechanisms to populate controls
with a data
•
Consume existing WCF/Web services from
Silverlight applications
•
Communicate with the Silverlight hosting
environment (HTML DOM)
•
Use isolated offline storage in Silverlight
applications
•
Localize Silverlight applications
•
Use DeepZoom in Silverlight applications
Prerequisites
Before attending this course,
students must have:
•
Working knowledge of C#, HTML and JavaScript
•
Highly recommended: web development knowledge (web development basics
will not be covered in this course)
Course Outline
Module 1: Silverlight Development Basics
This module explains how to start
developing Silverlight applications, which tools are needed, the purpose and
motivation of XAML, which user controls are available out of the box and how to
use them.
Lessons
•
Silverlight
XAML
•
XAML
editing tools
•
Silverlight
application architecture
•
Hello
World! with Silverlight
•
Available
user controls
•
Handling
and publishing events
•
Transformations
•
Animations
After completing this module,
students will be able to:
•
Create a new Silverlight application from the Visual Studio Silverlight project template
•
Understand the motivation for XAML and tools for working with it
•
Integrate existing user controls in Silverlight projects
•
Publish and consume events in Silverlight applications
•
Use transformations and animations in Silverlight applications
Module 2: Advanced Silverlight Development
This module explains how to
access XAML objects from managed code, create new XAML objects dynamically,
develop user controls and custom controls, create control templates and styles,
use data binding and customize user control states with the Visual State Manager.
Lessons
•
Creating
XAML objects from managed code
•
Managing
XAML objects from managed code
•
Silverlight
user controls
•
Custom
controls
•
Control
templates and styles
•
Data
binding
•
Visual State
Manager
Lab: Hands On #1
•
Layouts
•
Code-behind
data binding
•
Data
templates
•
Consuming
WCF services
Lab: Hands On #2
•
User
Controls
•
XAML
data binding
•
IValueConverter
After completing this module,
students will be able to:
•
Access, create and manage
XAML objects from managed code
•
Create user controls
•
Create and apply styles and templates
•
Consume WCF services
•
Bind data to Silverlight controls from code and from XAML
•
Customize the behavior of user controls with Visual State Manager
•
Handle events in Silverlight applications
Module 3: Miscellaneous Topics
This module explains how a
Silverlight application can access network resources, how to access HTML DOM
objects from Silverlight applications and expose Silverlight functionality to
the hosting HTML page, how to access isolated storage files, how to localize
Silverlight applications, how to use DeepZoom in Silverlight applications, and
how to create interactive media applications.
Lessons
•
Silverlight
networking
•
Accessing
the HTML DOM from Silverlight managed code
•
Accessing
Silverlight managed code from HTML DOM
•
Creating
an application splash screen
•
Using
isolated storage
•
Localizing
Silverlight applications
•
Silverlight
application initialization parameters
•
Silverlight
application deployment
•
DeepZoom
•
Interactive
media applications
Lab : Hands On #3*
•
Visual State
Manager
•
Animations
Lab: Hands On #4
•
Self-training
lab: Creating a user control with WCF service communication functionality,
custom View State Manager states and styles and integrating it into the
application built in the previous labs.
After completing this module,
students will be able to:
•
Consume various network services from Silverlight application
•
Access HTML elements on the Silverlight hosting page
•
Expose managed functionality to the Silverlight hosting page
•
Use isolated offline storage from Silverlight applications
•
Localize Silverlight applications
•
Pass initialization parameters to Silverlight applications
•
Show a custom splash
screen while the application is loading
•
Use DeepZoom features to extend Silverlight applications