Home About Courses Schedule Services Webinars Contact Search

Silverlight 5 using C#


Duration: 4 Days

Method: Instructor led, Hands-on workshops

Price: $2250.00

Course Code: SL1000


Microsoft’s Silverlight is a 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. Silverlight provides a cross-platform and cross-browser implementation of the .NET Framework. Out-of-browser support enables Silverlight applications to run disconnected from the Internet. Silverlight applications can be implemented in .NET languages such as C# and Visual Basic as well as in JavaScript. This four-day course provides the C# programmer with a thorough foundation in Silverlight 5.

After introducing the Silverlight plug-in and the programming model for Silverlight, the course provides a thorough survey of Extensible Application Markup Language (XAML), which is also the foundation of Windows Presentation Framework (WPF). The course then shows how to use Silverlight to draw shapes, lines, text and images. Layout is discussed in detail, including sizing and positioning of controls and the use of panels. Event handling is covered. There is an introduction to Silverlight animation and the use of video and audio.

Networking issues are covered, including caching, asynchronous data transfers, and downloading assemblies and resources on demand. The use of both SOAP and REST based Web services is discussed. Two chapters cover data controls, data binding and data access in detail, including the use of the Entity Data Model and WCF Data Services. The next chapter covers additional topics, such as the HTML Bridge, out-of-browser applications, the use of elevated trust, printing, and clipboard access. The course concludes with a chapter covering new features in Silverlight 5. An appendix covers transforms in Silverlight, which can be used to achieve various special visual effects.


Upon successful completion of this course, the student will be able to:

  • 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 animation and multimedia
  • Communicate over the network using HTTP and Web services
  • Use data controls and data binding
  • Access data in Silverlight applications
  • Interoperate between JavaScript and managed code
  • Implement out-of-browser Silverlight applications, including ones with elevated trust
  • Do printing and clipboard access from Silverlight applications


A basic understanding of Web application development using HTML and programming experience in .NET using C#. A basic knowledge of ADO.NET is desirable for the data access chapter.


  • I. Introduction to Silverlight
    • Client-side Web Technologies
    • The Silverlight Plug-in
    • Managed API for Silverlight
    • Visual Studio 2010 and Silverlight
    • Visual Studio 2010 Designer Support
    • Silverlight Controls
    • Layout Panels
    • Handling Events
    • Interactive Web Applications Using C#
    • Application Package (.xap)
  • II. 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 C#
    • XamlReader
  • III. Shapes and Lines
    • Rectangles
    • Ellipses
    • Polygons
    • Lines and Polylines
    • Curves
    • Paths
    • Geometries
    • Strokes
  • IV. Text and Fonts
    • TextBlock
    • Fonts
    • Run
    • LineBreak
  • V. Brushes and Images
    • Color and Opacity
    • SolidColorBrush
    • LinearGradientBrush
    • RadialGradientBrush
    • Image
    • ImageBrush
  • VI. Layout
    • Sizing Elements
    • Margin and Padding
    • StackPanel
    • Grid
    • Positioning Elements
    • Z-Order
    • Clipping
  • VII. Handling Events
    • Event Handlers
    • Dynamic Event Handlers
    • Mouse Events
    • Rubber Band Drawing
    • Drag and Drop
    • Routed Events
  • VIII. Animation and Media
    • Animation using Background Worker
    • Silverlight Animation
    • Video and Audio
    • Resources
  • IX. Application Structure and Networking
    • Silverlight Application Structure
    • Application Caching
    • WebClient
    • Loading Assemblies on Demand
    • Downloading Content on Demand
  • X. Web Services
    • Implementing Web Services Using WCF
    • REST-based Web Services
    • SOAP-based Web Services
  • XI. Data Controls and Data Binding
    • ListBox
    • DataPager
    • DataGrid
    • Dependency Properties
    • Change Notification
    • Binding to a Collection
  • XII. Data Access
    • ADO.NET Entity Framework
    • Entity Data Model (EDM)
    • Language Integrated Query (LINQ)
    • Using Web Services
    • WCF Data Services
    • Open Data Protocol (OData)
    • LINQ to XML
    • Isolated Storage
  • XIII. Additional Features
    • HTML Bridge
    • JavaScript to Managed Code
    • Managed Code to JavaScript
    • Out-of-Browser Support
    • Elevated Trust
    • Printing
    • Clipboard
  • XIV. New Features in Silverlight 5
    • 3D Graphics XNA API
    • Low Latency Audio Playback SoundEffect API
    • Variable Speed Playback
    • Trusted Application Model in Browser
    • PivotViewer
    • XAML Data Binding Improvements
  • XV. Appendix A. Learning Resources
  • XVI. Appendix B. Transforms
    • Translate Transform
    • Rotate Transform
    • Scale Transform
    • Skew Transform