Print this page Share

Silverlight 1.0

ISBN: 978-0-470-22840-1
320 pages
October 2007
Silverlight 1.0 (0470228407) cover image


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
See More

Table of Contents



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.


See More

Author Information

Devin Rader is a Product Manager on the Infragistics Web Client team, responsible for leading the creation of Infragistics ASP.NET and Silverlight products. Devin is also an active proponent and member of the .NET developer community, being a co-founder of the St. Louis .NET User Group, an active member of the New Jersey .NET User Group, a former board member of the International .NET Association (INETA), and a regular speaker at user groups. He is also a contributing author on the Wrox title Professional ASP.NET 2.0 and a technical editor for several other Wrox publications and has written columns for ASP.NET Pro magazine, as well as .NET technology articles for MSDN Online. You can find more of Devin’s musings at www.geekswithblogs.com/devin.

Jason Beres is the Director of Product Management for Infragistics, the world's leading publisher of presentation layer tools. Jason is also one of the founders of Florida .NET User Groups, he is founder of the New Jersey .NET User Group, he is a Visual Basic .NET MVP, he is on the INETA Speakers Bureau, and he is on the INETA Board of Directors. Jason is the author of several books on .NET development, an international speaker, and a frequent columnist for several .NET publications. He also keeps very active in the .NET community.

J. Ambrose Little is the User Experience and Guidance group lead at Infragistics. He is a Microsoft Solutions Architect MVP, an ASPInsider, author of numerous articles, co-author of Professional ADO.NET 2 and ASP.NET 2.0 MVP Hacks and Tips from Wrox, and he has spoken at various user groups, events, and conferences. He’s been designing and developing web sites and applications professionally for more than 8 years.

Grant Hinkson is Director of Visual Design at Infragistics, a software company specializing in reusable interface components and application design. He is passionate about design, usability, and technology and is rewarded by working with a team of people who share similar passions. He loves both design and development and thrives in the worlds of Silverlight and WPF, where he gets to exercise both sides of his brain. Grant has been involved with both WPF and Silverlight since their pre-Beta days, working with Expression Blend when it was affectionately known by its codename Sparkle. Grant is author of the Fireworks to XAML Exporter, is a frequent contributor to Adobe’s Developer Center site, and has spoken at major industry design events.

See More


Download TitleSizeDownload
Read Me First 1.24 KB Click to Download
Chapter 1 downloads 3.17 KB Click to Download
Figure 1-13 Correction
Figure 1-13 is incorrect. Please download the correct figure here.
102.67 KB Click to Download
Chapter 2 downloads 2.83 MB Click to Download
Chapter 4 downloads 749.18 KB Click to Download
Chapter 5 downloads 52.67 KB Click to Download
Chapter 7 downloads 38.18 KB Click to Download
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.
245.28 KB Click to Download
Chapter 8 downloads 189.27 KB Click to Download
Appendix B downloads 7.88 KB Click to Download
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.

See More


Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

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.
1 13 Incorrect Figure 1-13
Figure 1-13 is incorrect. Go to the downloads available for this book to download the correct figure.
15 Errors in Text
2nd paragraph
Listing 1-1 title

"Default.htm file"
should be:
"Default.html" file
64 Error 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.
See More

Related Titles

Back to Top