Skip to main content

Instructor-led training

Silverlight 5 Training in Centennial, Colorado

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.

What you'll learn

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. 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. The course concludes with a chapter covering new features in Silverlight 5.

Private Training for Teams

This course is offered as private, instructor-led training for organizations, onsite in Centennial, Colorado or live online. Dates, delivery format, and course content are arranged around your team's requirements.

This course is not currently scheduled as a public class for individual enrollment.

Request Group Training

Prerequisites

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.

Course Outline

1.  Introduction to Silverlight

What Is Silverlight?

Silverlight and AJAX

Silverlight and Flash

Silverlight Tools

XAML

XHTML

Automatic Plug-In Download

Using Visual Studio 2010

Hosting the Silverlight Application

MainPage.xaml

MainPage.xaml.cs

Designer Support

Layout Panels

Using a StackPanel

Handling Events in Managed Code

Events Window

Adding Events in XAML

Code-Behind File

Names of XAML Elements

Silverlight Controls

Application Package (.xap)

 

2. Using XAML 

Windows Presentation Framework

What Is XAML?

Root Element

Default Namespace

XAML Namespace

Canvas

An Opaque Ellipse

Property Element

Type Converters

Content Element Syntax

Collection Syntax

Implicit Collection Syntax

Attached Properties

XAML and C#

Assigning Property Values

Using the XAML Namespace

Assigning Simple Properties

Properties Attached to Canvas

Assigning Attached Properties

XamlReaderLoad()

BrushFromString()

Navigating from the Root

MainPage.xaml

Code-Behind File

Using an Event Sender

Handling an XAML Event

 

3. Shapes and Lines 

Shapes

Size and Position

Rectangle and Ellipse

MainPage.xaml

MainPage.xaml.cs

More Shape Properties

Opacity and Visibility

Receiving Mouse Events

Polygon

Line

Dashed Lines

Polyline

Path

Arc Segments

Bezier Curves

Clipping

 

4. Texts and Fonts 

TextBlock

Text Wrapping

Font Attributes

Font Families

Font Weights

Additional TextBlock Properties

TextBlock Dimensions

ActualWidth and ActualHeight

Rich Text Content

Run and LineBreak

 

5. Brushes and Images 

Brushes

SolidColorBrush

Predefined Color Names

RGB Color Space

Enhanced RGB Color Space

Gradient Brushes

Linear Gradient Brushes

Default Gradient Axis

Horizontal and Vertical Gradient Axis

Color Interpolation Mode

Spread Methods

Repeat and Reflect

Alpha Channel Changes

Painting Other Shapes

Radial Gradient Brushes

GradientOrigin

ImageBrush

Using an ImageBrush with Text

Image

Stretch Property

Code-Behind File

 

6. Layout 

Layout in Silverlight

Controlling Size

Margin and Padding

Thickness Structure

Alignment

Panels

Grid

Using the Collections Editor

Star Sizing

Grid.ColumnSpan

Positioning on a Canvas

Moving Elements

Z-Order

Clipping

 

7. Handling Events 

Events in Silverlight

Event Handlers in XAML

Adding/Removing Event Handlers

Loaded Event

Mouse Events

Microsoft Silverlight Configuration

MouseEventArgs

C# Code

Rubber-Band Drawing

Naïve Implementation

drawRect() Helper Function

Final Implementation

Drag and Drop

Drag and Drop – XAML File

Drag and Drop – Code-Behind

Capturing the Mouse

Routed (or “Bubbled”) Events

 

8. Animation and Media

Manual Animation

Silverlight Animation

Storyboard Methods

User Interface

DoubleAnimation

ColorAnimation

ColorAnimation – Code-Behind

PointAnimation

Audio and Video

Resources

Loose Files as Resources

 

9. Application Structure and Networking 

Silverlight Application Structure

A Simple Package

Application Package

Application Manifest

Application Class

XML Processing

Image Resource Files

Resource File in a Component

Resource File in the Package

Application Library Caching

External Parts

CopyLocal is False

Using WebClient

Location to DLL to Download

Downloading Content on Demand

DownLoadImage Code

 

10. Web Services 

Accessing Web Services in Silverlight

REST

EchoREST Web Service

SOAP

Web Service Proxies

Windows Communication Foundation

EchoSOAP Web Service

 

11. Data Controls and Data Binding 

ListBox Control

Book.cs

Auto-Implemented Properties

Using Items Property

Deleting a Book

Selection

Binding to a Collection

DataPager Control

DisplayMode

DataGrid Control

Paging with DataGrid

Sorting with DataGrid

More about Data Binding

Dependency Properties

Binding Object

ElementName Binding

Binding to a CLR Object

Change Notification

Updating the Book Object

INotifyPropertyChanged

Notification with Collections

Book Class

MainPage.xaml.cs

Updating Collection Elements

Notification by Collection Elements

Notification in Book Class

 

12. Data Access 

Accessing Data on the Server

SmallPub Database

ADO.NET Entity Framework

SmalPub Tables

SmallPub Entity Data Model

Entity Data Model Concepts

Querying the EDM

Class Diagram

Context Class

List of Categories

List of Books

Language Integrated Query (LINQ)

IntelliSense

Modifying a Data Source

Entity Framework in a Class Library

Data Access Class Library

Client Code

Silverlight Database Clients

Adding a Web Service

Consuming a Web Service

Modifying the Configuration File

Auto-Generated Columns

WCF Data Services

Choosing Data Objects

BookModel.edmx

WCF Data Service Template

DataService Class

A REST-based Web Service

Disabling Feeds

Open Data Protocol (OData)

OData and WCF Data Services

OData Feeds

Medata for OData Services

URI Conventions

Resource Path Options

Query String Options

OData Operations 

A Console Client

A Silverlight Client

Accessing XML Data

Accessing an XML File

Using LINQ to XML

Isolated Storage

Isolated Storage Store

Saving Data to a File

Loading Data from a File

Deleting a File

 

13. Additional Features 

HTML Bridge

HTML and JavaScript

HtmlPage Class

JavaScript from Managed Code

Managed Code from JavaScript

Out-of-Browser Support

Configuring Out-of-Browser Support

Installing Out-of-Browser

Running Out-of-Browser

Application Manifest

Elevated Trust

Printing

Print Dialog Box

Printing Code

Clipboard Access

 

14. New Features in Silverlight 5 

3D Graphics in Silverlight

XNA SoundEffect API

Audio File Formats and Codes

Audio Files on the Web

Downloading Audio Files

Audio File Conversion

Using the SoundEffect Class

Variable Rate Playback (Trick Play)

Trick Play Example Code

Trusted Applications

PivotViewer Control

PivotViewer Features

Utility Class

DemoItem Class

PivotViewer Collection

PivotViewer Assembly and Namespace

PivotProperties

Running the Example

Some Experiments

Color Converter

Template Definition

Breakpoints in XAML Data Binding

XAML Data Binding Enhancements

 

 

 

 

 

Where Silverlight development gets difficult

The C# is familiar to most attendees. The harder part is the declarative, asynchronous, sandboxed model around it. The syllabus builds that model in layers.

  • XAML as an object graph. Chapter 2 covers property elements, type converters, content and collection syntax, and attached properties such as those on a Canvas. It also shows how XAML and C# interact, using XamlReader.Load() and navigating from the root element. A common misconception is that XAML is markup that styles a page. It actually instantiates and configures .NET objects.
  • Layout rules. Chapter 6 covers Margin and Padding, alignment, Grid star sizing, Grid.ColumnSpan, Canvas positioning and z-order. Developers used to HTML flow layout often find the Grid and Canvas models counterintuitive.
  • Events. Chapter 7 covers mouse capture, drag and drop, rubber-band drawing, and routed ("bubbled") events. Learners often assume every event bubbles. Routed events need a clear mental model.
  • Data binding. Chapter 11 covers dependency properties, ElementName binding, and binding to CLR objects. It also covers change notification with INotifyPropertyChanged, including notification within collections and collection elements. Binding failures are typically silent, which makes the notification chapters the ones to work through slowly.
  • Asynchronous access to the server. Chapters 9, 10 and 12 cover WebClient downloads, on-demand assembly loading, application library caching, SOAP and REST services, WCF Data Services and OData. Results arrive later, so code ordering and error handling differ from desktop habits.

The topics build in sequence: XAML, then shapes, text and brushes, then layout and events, then animation, then packaging and networking, then data. The final chapter adds Silverlight 5 features such as 3D graphics, the XNA SoundEffect API, trick-play audio, trusted applications, the PivotViewer control, and breakpoints in XAML data binding.

Who this course suits and what to take around it

The course is general level and runs four days. It suits C# developers who know basic HTML-based web development and want to build or maintain Silverlight 5 client applications. Training managers with existing Silverlight code to support will find the packaging, networking, out-of-browser and HTML bridge chapters directly relevant.

If your C# is rusty, start with .NET Framework Using C#. The course assumes working C# throughout, including auto-implemented properties, LINQ and event handlers. The data access chapter covers the Entity Framework, LINQ and WCF Data Services. Attendees new to database programming benefit from ADO .NET Using C#, because the syllabus's prerequisites call for basic ADO.NET knowledge there.

For teams planning to move user interfaces to server-rendered web applications, ASP.NET Core MVC (VS2022) is a natural follow-on. The service and data-access concepts from this course carry over, while the client technology changes.

The syllabus uses Visual Studio 2010, whose extended support ended in July 2020. Organizations on other tooling versions can ask about tailoring through a training proposal.

Illustrative scenarios

The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.

  • Maintaining an internal data-entry application. A team might inherit a Silverlight client that lists records in a DataGrid with paging and sorting. Chapter 11 (DataGrid, DataPager, change notification) and chapter 12 (a WCF Data Service exposing OData feeds) address how such a screen reads and updates data.
  • Offline-capable tools. A team might need an application that runs outside the browser and saves work locally. Out-of-browser configuration and installation, elevated trust, printing and clipboard access (chapter 13), and isolated storage for saving and loading files (chapter 12) map to that need.
  • Embedding a rich control in an existing web page. A group might need to exchange data between page JavaScript and a Silverlight component. The HTML bridge covers calling JavaScript from managed code and the reverse. The packaging and on-demand download topics in chapter 9 help keep the initial load small.

Using AI coding assistants with Silverlight code

AI coding assistants are useful for repetitive pieces. They can draft XAML layouts with Grid definitions and star sizing, write boilerplate INotifyPropertyChanged classes, and propose LINQ queries against an Entity Data Model. They can also explain an unfamiliar XAML fragment.

They tend to fail in the places this course emphasizes:

  • Wrong API surface. Silverlight runs a reduced subset of the .NET Framework, and assistants often suggest WPF-only or desktop-only members that do not exist in a Silverlight 5 project. Compile every suggestion in a real Silverlight project.
  • Synchronous thinking. Suggested code may assume a service or download returns immediately. Check that WebClient, service proxy and WCF Data Services calls handle asynchronous completion and errors.
  • Silent binding errors. A generated binding can look right and show nothing. Verify with the XAML data binding breakpoints covered in chapter 14, and confirm that change notification fires for collection items.
  • Trust and sandbox limits. Generated code may use file, clipboard or printing features that require out-of-browser or elevated trust. Test in both modes.

Treat generated code as a draft. Run it in the browser, step through the bindings, and review any network or storage code line by line.

Frequently asked questions

What level is this course, and what should I know first?

It is general level and lasts four days. You should have a basic understanding of web application development with HTML and programming experience in C#. Basic ADO.NET knowledge is desirable for the data access chapter.

What does the course cover?

It covers XAML, shapes and lines, text and fonts, brushes and images, layout, event handling, animation and media, application structure and networking, and SOAP and REST web services. It also covers data controls and binding, data access with the Entity Framework and WCF Data Services, additional features such as the HTML bridge and out-of-browser support, and Silverlight 5 additions such as PivotViewer and 3D graphics.

Can this course be delivered privately for our team?

Yes. HSG delivers private training for organizations, either onsite at the client's location or live online.

Can the content be customized?

Private course content can be customized, including tailoring to the technology versions your organization uses. You can describe your needs through the training proposal request.

HSG Technology & Workforce Intelligence

Most relevant to Silverlight 5

  • Software developers, employment: 27,010 (May 2025; U.S. Bureau of Labor Statistics)
  • Software developers, concentration relative to the U.S. (location quotient): 1.55 (May 2025; U.S. Bureau of Labor Statistics)
  • Software developers, median annual wage: $137,610 (May 2025; U.S. Bureau of Labor Statistics)
  • Computer systems design and related services, employment (private sector, by place of work): change: +32.5% (2019 annual average to 2024 annual average; calculated from U.S. Bureau of Labor Statistics)

Selected for this course from the verified data in the section below.

27,010Software developersMay 2025
1.55Concentration vs. U.S.1.00 = U.S. average; May 2025
$137,610Median annual wageU.S. $135,980; May 2025
1,640Computing graduates2023-24 academic year
3Verified local technology sourcesemployers, colleges, user groups

Key findings for C#

  • The official data counts occupations, industries and degrees, not programming languages, so none of it measures C# use. The C# evidence for this area is one Denver agency's web-development page and two community college course listings. It includes no job-posting or user-group evidence.
  • In our reading, the metro area's large technology workforce makes it a market where C# and .NET skills can apply. Computer and mathematical occupations had a concentration of 1.59 relative to the U.S. in May 2025, and software developers had a median annual wage of $137,610.
  • One Denver web agency says it primarily builds on ASP.NET Core, C#, SQL Server and Azure. That is one employer's statement about its own work, not a measure of the wider market.
  • Two community colleges in the area list a C# Programming course (CSC 2036), a visible entry point for new learners. Skills that pair well with it include ASP.NET Core, data access, async programming and Azure.
  • Colleges in the area awarded 1,640 computing degrees and certificates in the 2023-24 academic year, a signal about talent supply rather than a promise of it.

Workforce: occupations, industries and pay

These figures describe occupations, not C# use. Software developers in the Denver-Aurora-Centennial, CO metropolitan area had a concentration of 1.55 relative to the U.S. in May 2025, and a median annual wage of $137,610. The U.S. median for software developers was $135,980. Computer network architects had a concentration of 5.51, the highest among the computing occupations in this data. In our reading, this is a market with deep software and infrastructure roles, which is where a general-purpose language like C# can be useful. How much of that work uses C# is not published.

Talent: education and training pipeline

Among bachelor's degree holders in the metro area, 5.3% hold a degree in computers, mathematics or statistics (ACS 2020-2024 5-year), compared with 5.1% for the United States. Colleges in the area awarded 1,640 computing degrees and certificates in the 2023-24 academic year. The five largest sources were the University of Colorado Denver/Anschutz Medical Campus, Colorado School of Mines, the University of Denver, Metropolitan State University of Denver and Front Range Community College. These are signals worth watching about supply, not guarantees of it. Two community colleges, described below, also teach C# directly.

Economy: industries and investment

Computer systems design and related services employed 52,465 private-sector workers in the 2024 annual average, up 32.5% from the 2019 annual average, with a concentration of 2.08 relative to the U.S. Software publishers had 1,101 establishments in the 2024 annual average, up from 463 in the 2019 annual average. Federal contract obligations by place of performance, summed across the area's ten counties, were $10.5 billion in FY2025 against $7.4 billion in FY2021. In our reading, this is a software-services economy where line-of-business and web work is a natural setting for C#. The data does not say which languages these firms use.

How Denver compares

AreaBachelor's or higher (ACS 2020-2024 5-year)Computing degrees (share of bachelor's holders) (ACS 2020-2024 5-year)Computer and math jobs, LQ (May 2025)Software developers, LQ (May 2025)Software developers, median wage (May 2025)
Denver-Aurora-Centennial, CO49.4%5.3%1.591.55$137,610
United States35.7%5.1%1.001.00$135,980
Colorado45.7%5.4%1.401.39$138,390
Nashville-Davidson--Murfreesboro--Franklin, TN40.9%4.3%0.920.65$126,610
Las Vegas-Henderson-North Las Vegas, NV27.8%4.6%0.550.23$129,940
Orlando-Kissimmee-Sanford, FL36.7%4.7%0.930.88$129,620
Charlotte-Concord-Gastonia, NC-SC39.9%5.7%1.351.41$135,920
San Antonio-New Braunfels, TX32.3%5.0%0.850.65$128,430

LQ (location quotient) compares the share of jobs in an occupation or industry with the national share; 1.00 equals the U.S. average.

Each column uses one period for every area; "not published" means the publisher released no estimate, not zero.

Skills and technology outlook

This part is HSG's interpretation of the data above for people learning C#. The official sources measure occupations, industries and degrees, not programming languages.

Why C# fits this regional economy. The area has strong software developer, network architect and information security analyst occupations, and its computer systems design and software publishing industries have grown. C# is typically used for enterprise applications, web APIs with ASP.NET Core and cloud services on Azure. In our reading, those kinds of work are well represented in a market like this, though that is interpretation, not a count of C# jobs.

Evidence of C# in the area. The Denver agency AdverNETS Internet Solutions says on its own web-development page that it primarily builds on ASP.NET Core, C#, SQL Server and Azure, and it mentions .NET MAUI for mobile apps. On the education side, Arapahoe Community College in Littleton lists CSC 2036 C# Programming, and Red Rocks Community College in Lakewood/Arvada lists a course with the same number and title, with object-oriented programs on the .NET Framework. These are three observations, not a measure of the whole market.

Frameworks and skills worth investigating. Start with the official C# documentation, then look at ASP.NET Core, Entity Framework Core, LINQ and asynchronous programming. A common challenge in enterprise settings is migrating .NET Framework applications to modern .NET and maintaining older WCF services.

Emerging areas worth watching. Annual .NET releases, containerized cloud-native .NET, source generators and AI features in Visual Studio and GitHub tooling are worth watching. Whether local employers adopt them is worth investigating.

Improving your prospects. Build in the order of the learning path: fundamentals, object-oriented design, collections and LINQ, data access, async code, then web APIs. Add SQL, Azure and automated testing with xUnit, NUnit or MSTest. Because the local agency evidence pairs C# with front-end tools and Azure, a full-stack portfolio project is a practical way to show this. You can also request a training proposal for a team, or see the C# learning guide.

HSG courses for these skills.

About this data: sources, periods and limitations
  • Values are by the area each publisher reports (metropolitan area, county or state), retrieved from the publishers and checked by HSG.
  • Leading indicators, such as graduates and federal funding, are signals of possible future activity. They do not guarantee employment.
  • Residents aged 25 and over with a bachelor's degree or higher: American Community Survey 5-year estimate (survey-based; margin of error at 90% confidence). Share of residents aged 25 and over with a bachelor's degree or higher.
  • Bachelor's degree holders whose degree is in computers, mathematics or statistics: American Community Survey 5-year estimate (survey-based; margin of error at 90% confidence). Fields of bachelor's degrees reported by people aged 25 and over (one person can report more than one field). Computers, mathematics and statistics.
  • Computer and mathematical occupations, computer network architects, software developers: Survey-based estimate for the May reference period (3-year sample). Covers wage and salary workers; excludes the self-employed.
  • Computer and mathematical occupations, software developers: Survey-based estimate for the May reference period (3-year sample). Annual median wage is capped at the published top code. Covers wage and salary workers; excludes the self-employed.
  • Software publishers: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 5132 (NAICS). Employment and wages are withheld by BLS for this area and year to protect employer confidentiality; the establishment count is published.
  • Computer systems design and related services: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 5415 (NAICS).
  • Computer systems design and related services: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 5415 (NAICS). Location quotient relative to the U.S.
  • Computing, institutions awarding the most computing degrees: Awards conferred July 1, 2023 to June 30, 2024, first major only, by institution location (not graduates' residence). Primarily online institutions (data.ipeds.onlineInstitutions) count in the national total only.

Training locations

Silverlight 5 training across the U.S. and beyond.

We provide private Silverlight 5 training for organizations, onsite at your location or live online, throughout the United States and internationally.

View all Silverlight 5 training locations

Train your team with HSG

Private, instructor-led training customized for your organization.

  • Onsite or live online delivery
  • Customized curriculum
  • For a single employee or an entire team
  • Flexible scheduling
  • Experienced instructors
Request Group Training

Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com

Ready to train your team?

Let's customize this training for your organization.

Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.