O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Beginning Silverlight 5 in C#, Fourth Edition

Book Description

The growing popularity of Web 2.0 applications is increasing user expectations for high-quality website design, presentation, and functionality. It is into this climate that Microsoft is releasing Silverlight 5, the latest iteration of its cross-browser web presentation technology.

Beginning Silverlight 5 in C# brings you to the cutting edge of Web 2.0 application design and includes plenty of practical guidance to get you started straight away. Silverlight design tools have important differences compared with those used to create Ajax and JavaScript functionality. Robert Lair takes you on a tour of all the tools, including:

  • Microsoft Expression Design, which plays an important role in creating Silverlight assets

  • Microsoft Expression Blend, which is used to build user interaction for Silverlight elements

  • Microsoft Visual Studio, which manages the interaction between designers and developers, providing the coding environment for "nuts and bolts" wiring

Once you've mastered the basics, you'll move on to gain a more in-depth knowledge of some of the features introduced with Silverlight 5, including H.264 protected content, right-click event handling, a new printing API, and support for the Managed Extensibility Framework.

Table of Contents

  1. Title
  2. Dedication
  3. Contents at a Glance
  4. Contents
  5. About the Author
  6. About the Technical Reviewer
  7. Acknowledgments
  8. Introduction
    1. Who Should Read This Book
    2. How This Book Is Organized
  9. CHAPTER 1: Welcome to Silverlight 5
    1. The Evolution of the User Interface
    2. Rich Internet Application Solutions
    3. What Is Silverlight?
    4. Benefits of Silverlight
    5. The Silverlight Development Environment
    6. Summary
  10. CHAPTER 2: Introduction to Visual Studio 2010
    1. What Is Visual Studio?
    2. What’s New in Visual Studio 2010?
    3. Building Your First Silverlight Application in Visual Studio
    4. Summary
  11. CHAPTER 3: Layout Management in Silverlight
    1. Layout Management
    2. The Canvas Panel
    3. The StackPanel Control
    4. The Grid Control
    5. The WrapPanel Control
    6. The DockPanel Control
    7. Summary
  12. CHAPTER 4: Silverlight Controls
    1. Setting Control Properties
    2. Nesting Controls Within Controls
    3. Handling Events in Silverlight
    4. Multiple Mouse Click Support
    5. The Border Control
    6. User Input Controls
    7. Extended Controls
    8. Summary
  13. CHAPTER 5: Data Binding and Silverlight List Controls
    1. Data Binding
    2. Element-to-Element Binding
    3. The DataGrid Control
    4. The ListBox Control
    5. Data Binding and String Formatting
    6. Implicit Data Templates
    7. Summary
  14. CHAPTER 6: Silverlight Toolkit
    1. Overview of the Silverlight Toolkit
    2. Installing the Toolkit
    3. Toolkit Controls
    4. AutoCompleteBox
    5. TabControl
    6. ViewBox
    7. Modal Windows
    8. Summary
  15. CHAPTER 7: Data Access and Networking
    1. Data Access in Silverlight Applications
    2. Accessing Data Through Web Services
    3. Accessing Services from Other Domains
    4. Accessing Data Through Sockets
    5. Summary
  16. CHAPTER 8: Navigation Framework
    1. Frame and Page Object
    2. Benefits of the Navigation Framework
    3. The NavigationService Object
    4. Passing Data to Navigation Pages
    5. URI Mapping
    6. Silverlight Navigation Application Template
    7. Using Multiple Frames
    8. Summary
  17. CHAPTER 9: Isolated Storage in Silverlight
    1. Working with Isolated Storage
    2. Managing Isolated Storage
    3. Summary
  18. CHAPTER 10: System Integration and Device Support
    1. Notification (Toast) API
    2. Webcam/Microphone Access
    3. Working with Captured Streams
    4. COM Interoperability
    5. Dropping Files on a Silverlight Application
    6. Summary
  19. CHAPTER 11: Introduction to Expression Blend
    1. Key Features in Expression Blend
    2. Exploring the Workspace
    3. Laying Out an Application with Expression Blend
    4. Summary
  20. CHAPTER 12: Styling in Silverlight
    1. Inline Properties
    2. Silverlight Styles
    3. Summary
  21. CHAPTER 13: Transformations and Animations
    1. Introduction to Silverlight Animation
    2. Programmatically Controlling Animations
    3. Using Expression Blend to Create Animations
    4. Creating Transformations in Silverlight
    5. Summary
  22. CHAPTER 14: Custom Controls
    1. When to Write Custom Controls
    2. Silverlight Control Model
    3. Creating Custom Controls in Silverlight
    4. Summary
  23. CHAPTER 15: Printing in Silverlight
    1. The Printing API
    2. Printing Custom Content
    3. Additional Printing Customization
    4. Summary
  24. CHAPTER 16: Deployment
    1. Deploying Silverlight Applications
    2. Application Library Caching
    3. Full-Screen Pinning
    4. Out-of-Browser Support
    5. Removing Installed Applications
    6. Elevated Trust Applications
    7. Summary
  25. Index