Skip to main content

Silverlight 1.0

Silverlight 1.0

Devin Rader, Jason Beres, J. Ambrose Little, Grant Hinkson

ISBN: 978-0-470-25984-9

Oct 2007

288 pages

Select type: E-Book

Product not available for purchase


Silverlight--the hot new web technology based on the powerful WPF graphics platform that ships with Windows Vista--is the web developer's choice for creating cross-platform interactive applications that work in multiple browsers. This one-of-a-kindreference shows you, with full-color illustrations, how to create rich interactive apps with Silverlight.

In these color-filled pages, a crack team of Wrox experts gives you a comprehensive introduction to Silverlight. You'll see the vivid graphics and video images you can achieve. You will learn to use the component languages, tools, and techniques of Silverlight to create applications that enhance the user experience. You'll also discover how to leverage existing technologies, such as JavaScript(r), XAML, ASP.NET, and AJAX, and incorporate them with development tools like Visual Studio(r), Expression(r) Encoder, and Expression Blend. Soon you'll be building everything from basic static pages to Internet applications that integrate rich media and animation.

What you will learn from this book

* Easy ways to incorporate graphics, animation, audio, and video into Internet applications

Methods for creating rich media apps that run on Windows(r) and Mac(r), as well as in Internet Explorer, Firefox(r), and Safari

How to write standard JavaScript within an HTML page to manipulate and program against any XAML DOM element, storyline animation, or video

Ways to integrate Silverlight within existing HTML pages, web sites, and ASP.NET applications

How to handle data access in Silverlight applications using AJAX

Who this book is for

This book is for professional web developers who want to take advantage of Silverlight's capabilities to create rich interactive applications.

"[This book] makes a great companion for anyone who wants to learn the fundamentals of Silverlight without wading through the reference material in the SDK. If you're looking for a trustworthy guide to show you how Silverlight can light up your web applications, you'll find this book a great starting point."
--Tim Sneath, Group Manager for Client Platform Evangelism, Microsoft Corporation


Chapter 1: Introduction to Silverlight.

Chapter 2: Building Silverlight Applications Using XAML.

Chapter 3: Designing Silverlight Applications Using Expression Blend 2.

Chapter 4: Coding Silverlight Applications with JavaScript and XAML.

Chapter 5: Using Silverlight with ASP.NET.

Chapter 6: Silverlight 1.1 and the CLR.

Chapter 7: Video Player: Silverlight 1.0 Case Example.

Appendix A: Silverlight Object Reference.

Appendix B: XAML Reference.

Appendix C: Silverlight Online Resources.


Code Downloads
Code Downloads
Code Downloads
Code Downloads
Chapter 1 downloads
Figure 1-13 Correction
Figure 1-13 is incorrect. Please download the correct figure here.
Chapter 2 downloads
Chapter 4 downloads
Chapter 5 downloads
Chapter 7 downloads
Chapter 8 (bonus online chapter)
This bonus chapter discusses a Silverlight 1.1 example, a port of the Silverlight 1.0 example from Chapter 7, the Lumos video player application, to 1.1. It discusses the differences between the two versions of the application and gives a good introduction on how to port applications from Silverlight 1.0 to 1.1.
Chapter 8 downloads
Appendix B downloads
Video Examples Download
To keep the file size of the downloads manageable for Chapters 7 and 8, which contain the Silverlight 1.0 and 1.1 versions of the Lumos video player application, respectively, the downloads do not contain any of the video clips used by the application.

NOTE: HTTP/FTP links on right do not work; use these links.

This zip contains two of those video clips, which you can download and use with the application as you work with it:
To see the full application in action, be sure to point your browser to
Infragistics Link
All the authors on Silverlight 1.0 work for Infragistics, the world leader in presentation layer tools and components. To see more about what the authors and Infragistics are doing with Silverlight, check out Infragistics.

NOTE: HTTP/FTP links on right do not work; use above link.

Lumos Application
In Chapter 7 of the book you see how you can use Silverlight to create a realistic, real-world application, in this case a Silverlight-based application called Lumos. Lumos is a video player that demonstrates how you can create rich, interactive Silverlight-based applications using Blend, ASP.NET AJAX, JavaScript, and XAML. You can view the Lumos application online by visiting Lumos Application. .

NOTE: HTTP/FTP links on right do not work; use above link.

Silverlight 1.1 version of the Lumos Application
For a Silverlight 1.1 example application, which is discussed in a bonus chapter for the book available for download at this web site, we chose to port our Silverlight 1.0 example, the Lumos video player, to 1.1. You can view the Silverlight 1.1 version of the Lumos application online by visiting Silverlight 1.1.

NOTE: HTTP/FTP links on right do not work; use above link.

ChapterPageDetailsDatePrint Run
Please Note
A note about versioning: Please note that all code samples in the book will work with 1.0 as the version. Any instance of version 0.9 you see in the book or code downloads is a case of code that was written on a beta of Silverlight, and the version number just wasn't subsequently updated after the code was verified on the final release of the software. Again, this version number discrepency won't hurt functionality; all code samples will work fine with 1.0 as the version. Also, please note that the use of version in Listing 4-11 is an intentional use of a hypothetical example.

113Incorrect Figure 1-13
Figure 1-13 is incorrect. Go to the downloads available for this book to download the correct figure.

15Errors in Text
2nd paragraph
Listing 1-1 title

Default.htm file
should be:
Default.html file

64Error in Figure Text
Figure 3-6 has a misspelling:

Asset tools: MediaElerr control

should be

MediaElement control.

Error in Listing 1-6
In Listing 1-6:

In this listing there's height assigned to width and vice versa.

The two values should be switched.