Microsoft’s Silverlight is a new client-side Web technology that enables the implementation of visually stunning Web applications that depend only on a small, easy-to-install plug-in that works in browsers for both Windows and Macintosh. This two-day course provides the programmer with a thorough foundation in Silverlight 1.0. It pairs well with our three day ASP.NET AJAX course for a full week of instruction on client-side Web programming.
After introducing the Silverlight plug-in and SDK, the course provides a thorough survey of Extensible Application Markup Language (XAML), which is the foundation of Windows Presentation Framework (WPF). The course then shows how to use Silverlight to draw shapes, lines, text and images. The positioning and transformation of elements is covered. Event handling is covered. The course concludes with an introduction to advanced features such as on-demand downloading of content and the use of video and audio.
Numerous programming examples and exercises are provided. The student will receive a complete set of notes and all the programming examples
.NET Training Objectives;
- Gain a practical knowledge of using Silverlight in Web applications
- Understand the use of XAML with Silverlight, including the creation of dynamic content
- Use Silverlight to draw shapes, lines, text and images
- Implement input-driven Web applications using Silverlight
- Use advanced Silverlight features such as on-demand downloading and multimedia
.NET Training Prerequisites
A good working knowledge of Web application development using HTML and JavaScript. Knowledge of ASP.NET and the .NET Framework is not required.
.NET Training Course duration
2 days
.NET Training Course outline
1. Introduction to Silverlight
- The Silverlight Plug-in
- The Silverlight SDK
- Using the Silverlight Control
2. Using XAML
- Windows Presentation Framework (WPF)
- Extensible Application Markup Language (XAML)
- Canvas
- Elements and Attributes
- Property Elements
- Type Converters
- Content Property
- Collections
- Attached Properties
- XAML and JavaScript
- Creating XAML Documents Dynamically
3. Shapes and Lines
- Rectangles
- Ellipses
- Polygons
- Lines and Polylines
- Curves
- Paths
- Geometries
- Strokes
4. Text and Fonts
- TextBlock
- Fonts
- Run
- LineBreak
5. Brushes and Images
- Color and Opacity
- SolidColorBrush
- LinearGradientBrush
- RadialGradientBrush
- Image
- ImageBrush
6. Positioning and Transforms
- Positioning Elements
- Z-Order
- Clipping
- Translate Transform
- Rotate Transform
- Scale Transform
- Skew Transform
- Combining Transforms
7. Handling Events
- Event Handlers
- Mouse Events
- Plug-in Events
- Optional Plug-in Information
- Rubber Band Drawing
- Drag and Drop
- Bubbled Events
8. Advanced Features
- Animation
- On-Demand Downloading
- Video and Audio
Appendix A. Learning Resources
System Requirements
- A personal computer running Windows or Mac OS
- Internet Explorer, Firefox or Safari
- Silverlight plug-in and SDK, a free download
- Visual Studio 2005 suggested for editing HTML and XAML files, but not required
The course has been tested on Windows XP with Service Pack 2 and Internet Explorer 7.
A good hardware profile for this course would have a Pentium 1-GHz or equivalent CPU, 512 MB of RAM, and at least 4 GB of free disk
See the appropriate course Setup Guide for details.