Book description
Create rich, cross-platform, interactive Web applications with Microsoft's new Silverlight and this essential guide. Designers will discover how to add animation, audio, video, and other high-impact effects. Programmers will cover Visual Studio, .NET, and other programming tools—and work with Silverlight's presentation, communications, and data frameworks. Packed with techniques, tips, and a 16-page color insert of striking examples, this is the book you need to succeed with Silverlight—whether you're a designer or programmer.
Table of contents
- Copyright
- About the Authors
- Credits
- Preface
- Acknowledgments
- Introduction
-
I. Silverlight Basics
- 1. Getting to Know Silverlight
-
2. Getting Started with Silverlight
- 2.1. Implementing the Silverlight Development Environment
-
2.2. Understanding Silverlight Development Tools
- 2.2.1. Using Silverlight in Visual Studio 2008
- 2.2.2. Designing Silverlight applications and elements in Expression Blend
- 2.2.3. Encoding Silverlight media elements in Expression Encoder
- 2.2.4. Outputting vector images as XAML using Expression Design
- 2.2.5. Encoding Multiscale Images Using Deep Zoom Composer
- 2.3. Building Your First Silverlight Application
- 2.4. Summary
-
II. Silverlight Design Fundamentals
-
3. Using XAML to Build Declarative Silverlight Applications
- 3.1. Understanding the Silverlight/XAML Relationship
- 3.2. Understanding XML Namespaces
-
3.3. Creating Silverlight Controls
- 3.3.1. Creating a Button
- 3.3.2. Creating a Calendar
- 3.3.3. Creating a CheckBox
- 3.3.4. Creating a DatePicker
- 3.3.5. Creating a HyperlinkButton
- 3.3.6. Creating an Image
- 3.3.7. Creating a ListBox
- 3.3.8. Creating a MediaElement
- 3.3.9. Creating a RadioButton
- 3.3.10. Creating a ScrollBar
- 3.3.11. Creating a ScrollViewer
- 3.3.12. Creating a Slider
- 3.3.13. Creating a TextBlock
- 3.3.14. Creating a TextBox
- 3.3.15. Creating a ToggleButton
- 3.4. Designing the Layout of Silverlight Applications
- 3.5. Using XAML Transforms
- 3.6. Drawing
- 3.7. Using XAML Brushes
- 3.8. Implementing Animations and Storyboards
- 3.9. Attaching Event Handlers to XAML Elements
- 3.10. Summary
-
4. Using Expression Blend to Design Silverlight Applications
- 4.1. Getting Started with Expression Blend
- 4.2. Arranging Controls in the Design View
-
4.3. Modifying the Properties of Silverlight Controls
- 4.3.1. Naming the control
- 4.3.2. Attaching event handlers to controls
- 4.3.3. Applying brushes to controls
- 4.3.4. Setting appearance properties of controls
- 4.3.5. Setting the layout of controls in the Silverlight application
- 4.3.6. Applying transforms to controls
- 4.3.7. Modifying other control properties
- 4.4. Creating Storyboards and Animations in Expression Blend
- 4.5. Importing Vector Images Using Expression Design and Expression Blend
- 4.6. Summary
- 5. Encoding Audio, Video, and Images for Silverlight Applications
-
3. Using XAML to Build Declarative Silverlight Applications
-
III. Programming Silverlight Applications
- 6. Using Visual Studio to Program Silverlight Applications
- 7. Creating .NET Silverlight Applications
- 8. Programming .NET Silverlight Applications
- 9. Programming Silverlight Applications with JavaScript
-
10. Programming Silverlight Applications with ASP.NET Services and AJAX
- 10.1. Creating an ASP.NET Web Service to Use Silverlight
- 10.2. Creating a Silverlight Application for ASP.NET Web Services
-
10.3. Using asp: MediaPlayer AJAX Element to Directly Embed Video
- 10.3.1. Registering the Silverlight assembly
- 10.3.2. Adding a ScriptManager
- 10.3.3. Embedding an asp:MediaPlayer tag in an ASP.NET Web page
- 10.3.4. Adding MediaChapters controls
- 10.3.5. Encoding video for AJAX scripting
- 10.3.6. Adding an AJAX-enabled WCF service
- 10.3.7. Implementing marker events in AJAX
- 10.4. Summary
-
11. Programming Silverlight Applications Using the Dynamic Language Runtime
- 11.1. Configuring a Silverlight DLR Application
- 11.2. Using Chiron
- 11.3. DLR Console on the Web
-
11.4. Creating an IronPython Silverlight Application
- 11.4.1. Creating XAML for the IronPython Silverlight application
- 11.4.2. Creating a manifest for the IronPython Silverlight application
- 11.4.3. Providing access to CLR libraries and namespaces in Python
- 11.4.4. Accessing XAML from IronPython
- 11.4.5. Implementing event handling in IronPython
- 11.4.6. Adding dynamic XAML using IronPython
- 11.4.7. Example of an IronPython Silverlight application
-
11.5. Creating an IronRuby Silverlight Application
- 11.5.1. Creating XAML for the IronRuby Silverlight application
- 11.5.2. Creating a manifest for the IronRuby Silverlight application
- 11.5.3. Providing access to CLR libraries and namespaces in IronRuby
- 11.5.4. Accessing XAML from IronRuby
- 11.5.5. Implementing event handling in IronRuby
- 11.5.6. Adding dynamic XAML using IronRuby
- 11.5.7. Example of an IronRuby Silverlight application
-
11.6. Creating a Managed JavaScript Silverlight Application
- 11.6.1. Creating XAML for the managed JavaScript Silverlight application
- 11.6.2. Creating a manifest for the managed JavaScript Silverlight application
- 11.6.3. Providing access to CLR libraries and namespaces in managed JavaScript
- 11.6.4. Accessing XAML from managed JavaScript
- 11.6.5. Implementing event handling in managed JavaScript
- 11.6.6. Adding dynamic XAML using managed JavaScript
- 11.6.7. Example of a managed JavaScript Silverlight application
- 11.7. Summary
- 12. Programming Custom Silverlight Controls and Libraries
-
IV. Understanding Silverlight Frameworks
- 13. Using the Silverlight Presentation Framework
- 14. Using the Silverlight Communication Framework
- 15. Using the Silverlight Data Framework
-
V. Appendixes
- A. Silverlight Resources
-
B. Silverlight Control Reference
- A.1. Border
- A.2. Button
- A.3. Calendar
- A.4. Canvas
- A.5. CheckBox
- A.6. DataGrid
- A.7. DatePicker
- A.8. DoubleAnimation
- A.9. DoubleAnimationUsingKeyFrames
- A.10. DoubleKeyFrame
- A.11. Ellipse
- A.12. Grid
- A.13. GridSplitter
- A.14. HyperlinkButton
- A.15. Image
- A.16. Line
- A.17. ListBox
- A.18. MediaElement
- A.19. MultiScaleImage
- A.20. Path
- A.21. RadioButton
- A.22. Rectangle
- A.23. RepeatButton
- A.24. ScrollBar
- A.25. ScrollViewer
- A.26. Slider
- A.27. SplineDoubleKeyFrame
- A.28. Storyboard
- A.29. StackPanel
- A.30. TextBlock
- A.31. TextBox
- A.32. ToggleButton
Product information
- Title: Silverlight™ 2 Bible
- Author(s):
- Release date: October 2008
- Publisher(s): Wiley
- ISBN: 9780470375006
You might also like
book
Silverlight™ 4 Unleashed
Printed entirely in color, with helpful figures and syntax coloring to make code samples appear as …
book
Professional Silverlight® 4
Everything .NET developers need to take advantage of Silverlight 4 Silverlight 4 is a major new …
book
Silverlight 4 in Action
Silverlight 4 in Action is a comprehensive guide to application building using C#. It goes into …
audiobook
Difficult Conversations
You have to talk with a colleague about a fraught situation, but you're worried that they'll …