This video series will help beginner Silverlight developers understand what Silverlight is, and when to use it. We’ll start with the basics and work our way up, helping you develop a complete understanding of Silverlight 4 and how it’s used to create visually stimulating, interactive applications.
This series is organized into 5 days’ worth of material:
This video provides an introduction to Silverlight, and what it can (and can’t) do. Additionally, we’ll discuss how Silverlight relates to other programming technologies.
In this short video, we’ll show you how to easily download and install Visual Web Developer 2010 Express Edition for use with your Silverlight applications.
In this short video, we’ll show you how to easily download and install the latest Silverlight 4 tools to your existing Visual Studio software.
In this video, we’ll see our first Silverlight application. We’ll create a simple “Hello World” application that we’ll use throughout the remainder of Day 1 to help us understand how Silverlight actually works.
In this video, we’ll discuss the tools included in the Visual Studio IDE specifically used for Silverlight applications. We’ll cover the Designer and XAML panes, the .XAP file name, application library caching, Silverlight manifest files, the WCF RIA Services link and more.
In this video we’ll discuss the Silverlight project templates available in Visual Studio, including Silverlight Application, Silverlight Class Library, Silverlight Business Application, Silverlight Navigation Application, and WCF RIA Services Class Library.
In this video we’ll discuss the testpage.html file that’s generated for us automatically to host Silverlight applications, and how we can edit and save changes to the default settings.
In the eighth video in this series, Bob reviews the Silverlight Application Lifecycle and why it’s important. Bob examines the sequence of events that occurs when a webpage references your Silverlight application, including how the plugin is loaded, how it performs a version check on the end user’s machine, and the specific core features that are launched.
In the ninth video in this series, Bob dissects a Silverlight project and explains how the commands you create were turned into the Hello World application seen in the browser. You’ll understand how XAML is used to lay out your silverlight applications, how XAML uses the UserControl class, and more.
In the tenth video in this series, Bob expands the previous discussion on XAML by reviewing XAML nuances.
In the first video for Day 02, Bob gives you a history lesson on layout and explains how that affects programming today. You’ll also learn the three approaches to layout via the stack panel, grid and canvas controls, and you’ll learn the important factors in sizing your applications.
In the second video for Day 02, Bob explores the Stack Panel Control, the first of three layout panels that will be explored. Learn how to use the Stack Panel Control while building data-centric applications in conjunction with the Grid Panel, and how this piece fits into the larger picture of overall form creation.
In the third video for Day 02, Bob explores the Grid Control. The Grid Control is the second of three layout panels in this series, and is used in conjunction with the Stack Panel Control discussed in the previous video.
In the fourth video for Day 02, Bob continues to explore the topic of layout in Silverlight. In this lesson Bob explains the techniques and tools available through the IDE.
In Day 02 Video 05, Bob demonstrates the GridSplitter control. This control will allow your users even more flexibility in how they interact with an application’s user interface by creating a handle between rows or columns for resizing purposes.
In Day 02′s sixth video, Bob introduces the Canvas Panel. This is the third control used to position controls within Silverlight applications. Bob shows how the Canvas Panel is used, and discusses common uses in current applications.
In the seventh video for Day 02, Bob shows how to add a border around panels and controls.
In the eighth video for Day 02, Bob begins a series of videos on the major Silverlight controls. In this first controls video Bob demonstrates the TextBlock control and it’s related functionality, as well as how to set and retrieve the primary properties in C# at runtime.
In the ninth video for Day 02, Bob continues covering controls with the Image control. This tool is used to control the display of bitmap and vector image formats in Silverlight applications.
In the final video for Day 02, Bob continues with controls and the Button control. Learn how to define an event and navigate to the code-behind from the XAML editor and more.
In the first video for Day 03, Bob demonstrates three techniques to define events and handle events raised by Silverlight controls.
In this video Bob reviews a project that highlights the major TextBox properties, including how to monitor both user and programmatic selection, copy and paste, wrapping attributes, return attributes and more.
In the third video for Day 03, Bob demonstrates how to use the CheckBox for yes, no or unknown responses. Bob also discusses the RadioButton and two techniques to programmatically retrieve values, both individually and as a group.
In the fourth video for Day 03, Bob continues with common Silverlight Controls and the ScrollViewer control. Bob creates two examples to demonstrate how the ScrollViewer is used to create a view into objects that fall outside a visible area’s boundaries.
In this video, Bob demonstrates a simple way to scale everything within the context of the ViewBox.
In this video Bob explains the differences between a ListBox and a ComboBox, and demonstrates how to use both in order to offer a user the ability to select from a pre-determined set of values.
In this video Bob explores how to work with fonts and text in Silverlight, including the nine built-in fonts as well as how to add additional fonts for end users.
In this video Bob demonstrates how to use both simple and complex brushes to work with solid colors, gradient colors, images and more.
In this video Bob demonstrates how to extract a linear gradient brush or fill, in order to use it multiple times throughout a current user control or Silverlight project.
In this video, Bob shows how to work with styles to define and enforce multiple property values at the same time.
In this video, Bob demonstrates the next step in defining resources and styles. By creating merged resource dictionaries, the resources are extracted out to external files that can then be referenced from within the project. Those same external files will also be placed into their own class library, where they can be referenced from other projects as well.
Day 04 will begin creating more complex, real-world applications using multiple Silverlight controls and pages. In this video, Bob explains the two basic navigation options in Silverlight and demonstrates how to navigate by dynamically loading user controls.
Day 04′s second video continues the previous video, and demonstrates another way to load user controls into a container as a form of navigation. This video demonstrates a new technique that will implement a static method, called GoTo, to handle loading the user control into the container which can then be called from anywhere within the application.
In this video Bob demonstrates how to use the navigation framework to enable navigation between pages within a Silverlight application. The navigation framework was added in Silverlight 3.0 and allows a more fine-tuned control over navigation, as well as browser integration.
Bob briefly demonstrates the use of the HyperlinkButton Control. The functionality is slightly different when used inside a frame or outside a frame; Bob demonstrates an example of each option.
In Day 04′s fifth video, Bob demonstrates two separate techniques that can be used to pass data between pages.
In this video, Bob demonstrates how to use URI mapping to enable deep linking within Silverlight applications in order to provide a friendly, memorable URL to the end user.
In this video, Bob demonstrates how to persist data between pages in order to prevent a user from inadvertently losing data.
In this video, Bob demonstrates how to use the modal dialog in Silverlight to send an alert to the end user, as well as to require a decision or other information.
In this video, Bob takes a second look at the Silverlight Navigation Application Project Template from Day 01. Now that you know more about Silverlight, you’re better able to see how the Silverlight Navigation Application works, and even customize the template to suit your specific requirements.
In this video, Bob explains how to take advantage of isolated local storage in silverlight. Isolated local storage is a protected area on user’s hard drive where an application’s developer can save text, images and other data necessary for the application.
The Day 05 lessons will deal largely with deployment issues. In this lesson, Bob explains how to embed binary resources such as images, music and video, and where to place them in order to best deploy them to a web server. You’ll learn the various deployment options and the ramifications for each option.
In this video, Bob demonstrates how to perform a different build action in order to add a given resource file into a deployment package without adding it to the assembly itself. You’ll also understand why this distinction is important, and the advantage of deploying this way.
In this video, Bob demonstrates how to reference an image or other resource that’s not compiled into the assembly or package, but instead is pulled directly from the internet or other network storage location.
In this video, Bob demonstrates a fourth option to deploy Silverlight projects and resources. You’ll learn how to create a Silverlight class library, put the resource in the library and then retrieve and display the resource. You’ll also learn of the other benefits available through the use of Silverlight class libraries, and how they can be used.
Continuing on with deployment topics in Silverlight, this video demonstrates how to dynamically download an assembly on demand, reference it and use it in your application. This technique allows you to separate out infrequently used features or components of your Silverlight application to reduce the overall size of the initial Silverlight application (until it is absolutely needed).
Finishing up with Silverlight deployment topics, this video demonstrates how to enable assembly caching, requiring the creation of a strong name using Visual Studio’s Strong Name tool (sn.exe) and added an extmap XML file as well as setting the appropriate settings in the main Silverlight application.
This simple video demonstrates how to enable full-screen mode in your application and discusses the issues related to keyboard input and how to mitigate loss of focus by alt-tabbing (and what you can and can’t do about it).
This video demonstrates how to use mouse events by creating the beginnings of a tile-game allowing you to build associations between rectangles utilizing mouseenter, mousedown, mouseup, working with the right-mouse button, handling events so they do not bubble, and more.
This video demonstrates how to handle keyboard events like keydown and keyup, how to check which key was selected as well as key modifiers (like shift and control) and other issues related to running Silverlight applications on other devices (with specialized keyboards).
This final video of the Silverlight Level 1 series demonstrates how to declaratively one-way and two-way bind properties of one control to another and how this forms the basis for more complex topics like data binding, MVVM and more.