Silverlight 2 in Action
Chad A. Campbell and John Stockton
Foreword by Ashish Shetty
  • October 2008
  • ISBN 9781933988429
  • 400 pages

You simply must have this book by your side.

From the Foreword by Ashish Shetty, Silverlight Program Manager, Microsoft


Silverlight 5 in Action is now available. An eBook of the previous edition, Silverlight 4 in Action is included at no additional cost when you buy the revised edition!

Silverlight 2 in Action is the first book to cover Silverlight 2, a far more robust implementation of Silverlight than the current 1 release that supports only JavaScript. The much-anticipated 2 release adds powerful new features along with the ability to code in multiple languages and integrate your work with Visual Studio and the new Expression suite of tools. This book delivers real-world examples and in-depth walkthroughs to help you confidently enhance your web applications using Silverlight 2.

About the Technology

Microsoft describes Silverlight as a "cross-browser, cross-platform plug-in for delivering the next generation of .NET based media experiences and rich interactive applications for the Web." That's a really boring description for a really exciting new technology. Anyone who has looked at the demos and gotten a taste of what Silverlight can do knows that Silverlight represents an entirely new level of rich web interface technology for Microsoft developers. With Silverlight 2, developers can use JavaScript, VB, C#, Python, and Ruby to build user-friendly, interactive, and visually-dazzling web applications that work in most major browsers.

About the book

Silverlight 2 in Action devotes extensive coverage to flexible layout components, the extensible control model, the communication framework, and the data-binding features—all cornerstones of software development. Author and Microsoft MVP Chad Campbell also describes rich media and vivid graphical and animation features. The final chapters include a variety of Silverlight deployment scenarios.

In addition to the fundamentals of Silverlight, you'll be introduced to architectural components such as the Silverlight object model. The book addresses the developer/designer collaboration model Silverlight enables, showing the developer how to include the designer effectively in the project workflow. This model is illustrated throughout the examples.

For ongoing reader support, the author will maintain a dedicated book-support website providing up-to-the-minute working examples, complete with source code, all in Silverlight.

Table of Contents detailed table of contents




about this book


1. Introducing Silverlight

1.1. Silverlight up your life

1.2. Why can’t we be friends?

1.3. XAML

1.4. Blending it together

1.5. Summary

2. Harmony with the web

2.1. The relationship between Silverlight and the HTML DOM

2.2. Creating a Silverlight plug-in

2.3. Integrating a Silverlight plug-in

2.4. The Silverlight Application Model

2.5. Interacting with the HTML DOM

2.6. Summary

3. Back to the basics: Layout and text

3.1. A Canvas for your imagination

3.2. The StackPanel: Stack ’em deep

3.3. The power Grid

3.4. Displaying text

3.5. The UIElement and FrameworkElement

3.6. Summary

4. Handling user interaction

4.1. Understanding device support

4.2. Delivering text controls

4.3. Button controls

4.4. The ItemsControl

4.5. Date controls

4.6. Choosing from a numeric range

4.7. Displaying visual prompts

4.8. Miscellaneous controls

4.9. Summary

5. Getting down with data binding

5.1. Binding with your data

5.2. Understanding your data source

5.3. Customizing the display

5.4. The DataGrid

5.5. Language Integrated Query (LINQ)

5.6. Summary

6. Networking and communications

6.1. Trust, security, and browser limitations

6.2. Connecting to data sources

6.3. Making the data usable

6.4. Using advanced services

6.5. Summary

7. Managing digital media

7.1. Stunning audio and video

7.2. Playlists: for that web-based mixtape

7.3. Interactive playback

7.4. Using protected content

7.5. Using images in your application

7.6. The 7th inning stretch: Dealing with dead space

7.7. Summary

8. Getting a grip on graphics

8.1. Getting in shape

8.2. Geometry

8.3. Brushes

8.4. Transforms

8.5. Blending it together

8.6. Summary

9. Bringing it to life: Animation

9.1. Animation: It’s about time

9.2. Mastering the timeline

9.3. Storyboarding

9.4. Key framing

9.5. Summary

10. Giving it style

10.1. Being resourceful

10.2. Giving your elements style

10.3. Creating templates

10.4. Dealing with visual states

10.5. Leveraging the VisualStateManager

10.6. Sharing your effects

10.7. Summary

11. Enhancing the experience

11.1. Storing data in isolated storage

11.2. Using XAML at runtime

11.3. BackgroundWorker

11.4. Retrieving content on demand

11.5. The Dynamic Language Runtime (DLR)

11.6. Summary

12. Share the light: Distribution and deployment

12.1. Creating a user control

12.2. Architecting navigation in Silverlight

12.3. Using a custom splash screen

12.4. Hosting with Silverlight Streaming

12.5. Summary

© 2014 Manning Publications Co.

What's inside

  • In-depth discussion of layout management
  • Detailed coverage of input controls and skinning for real-world solutions.
  • Networking and data-related topics including LINQ and sockets
  • Immersive media techniques
  • Exploring the rich graphical capabilities and lively animations of Silverlight
  • Dynamic downloading and storage of content within Silverlight
  • Detailed deployment scenarios in Microsoft and non-Microsoft environments.
  • Detailed analysis of the Silverlight object model in relation to the HTML DOM
  • Microsoft Expression Blend techniques

About the authors

Chad Campbell is a Microsoft MVP and solutions architect. He has been developing enterprise-level web applications with a wide variety of technologies since 1999. Beginning with the initial public release of what would become Silverlight in 2006, Chad hit the ground running and has not looked back. He holds MCSD and MCTS certifications. In addition, Chad has a BS degree from Purdue University where he focused his studies on computer science and minored in psychology.

John Stockton has been developing advanced web applications using Microsoft technologies for fortune 500 companies and government agencies for the last decade. He is very active in the local community by speaking at and organizing events and is also an active member of the online Silverlight community. In his free time John enjoys model railroading, woodworking, being active outdoors and playing with his two year old son.

placing your order...

Don't refresh or navigate away from the page.

FREE domestic shipping on three or more pBooks