You are previewing Microsoft® Silverlight® 4 Step by Step.
O'Reilly logo
Microsoft® Silverlight® 4 Step by Step

Book Description

Get a running start with Silverlight 4 -- the cross-platform, cross-browser plug-in for delivering the next generation of rich interactive applications (RIAs) for the Web -- with insights and practical advice from a Silverlight insider.

Table of Contents

  1. Microsoft® Silverlight® 4 Step by Step
  2. Dedication
  3. A Note Regarding Supplemental Files
  4. Acknowledgments
  5. Introduction
    1. System Requirements
    2. Support for This Book
    3. We Want to Hear from You
  6. Foreword
  7. 1. Introducing Silverlight
    1. Get the Tools
    2. Install Visual Web Developer Express
    3. Install the Silverlight Tools
    4. Create Your First Silverlight Application
    5. Key Points
  8. 2. Silverlight Controls
    1. Learning Silverlight Controls
      1. Understanding the Control Model
        1. Exploring the Control and Event Model
    2. Using the Silverlight Controls
      1. Using the Button Control
        1. Content in Controls
      2. Handling Mouse Events
        1. The Click Event
        2. The MouseMove Event
        3. The Right Mouse Button
        4. The MouseWheel Event
      3. Using the CheckBox Control
      4. Using the RadioButton Control
      5. Using the TextBox Control
      6. Using the Image Control
      7. Using the ComboBox Control
      8. Using the ListBox Control
    3. Key Points
  9. 3. Layout and Styling
    1. Using the Canvas Control
    2. Using the Grid Control
    3. Using the StackPanel Layout
    4. Styles and Templates
    5. Key Points
  10. 4. Data and RIA Services
    1. Understanding RIA Services
    2. Build a Database with Visual Web Developer Express
      1. Using SQL Server Within Visual Web Developer
    3. Create an RIA Services Server Project
      1. ADO.NET Entity Data Model
      2. Create a Domain Service
      3. Create the Silverlight Client
    4. Key Points
  11. 5. Rich Imaging
    1. Imaging in Silverlight
    2. Using Deep Zoom with Silverlight
      1. Getting Started with Deep Zoom Composer
      2. Building Deep Zoom Image Collections
      3. Programming with Deep Zoom
    3. Using Photosynth with Silverlight
      1. Create a Photosynth
        1. Install the Photosynth Creation Tool
        2. Use the Synth Creator
      2. Sharing Your Synths
      3. Building a Photosynth Web Application
    4. Key Points
  12. 6. Media, Webcams, and Video
    1. Media in Silverlight
    2. Using the MediaElement Control
      1. Controlling the Video Playback
      2. Showing Playback Position
      3. Setting the Playback Position with a Slider
      4. Using Video Markers in Silverlight
      5. Using Video as a Brush
    3. Using a Webcam with Silverlight
    4. Key Points
  13. 7. Transformation and Animation
    1. Transformations
      1. Exploring Transformations
        1. Using RotateTransform
        2. Using ScaleTransform
        3. Using TranslateTransform
        4. Using SkewTransform
        5. Using MatrixTransform
        6. Combining Transforms
        7. Using PerspectiveTransform
    2. Animation
      1. Creating an Animation
      2. Understanding Key Frames
        1. Using a Linear Key Frame
        2. Using a Discrete Key Frame
        3. Using a Spline Key Frame
      3. Animation Easing
        1. Other Easing Functions
    3. Defining Animation with Expression Blend
    4. Key Points
  14. 8. Building Desktop Applications
    1. Running Applications Outside of the Browser
    2. Creating a Custom Install Link
    3. Detecting Updates
    4. Detecting Out of Browser Status
    5. Detecting Network Connectivity and Availability
    6. Using Isolated Storage
      1. Increasing Isolated Storage
    7. Enabling Elevated Trusted Mode
    8. Debugging Out of Browser Applications
    9. Interoperating with COM
    10. Using Notification Windows
    11. Key Points
  15. 9. Integrating with the Browser
    1. Bridging Silverlight and HTML
      1. Open the Browser Bridge
      2. Using the Browser Bridge to Control the Silverlight Application
    2. Calling Browser Functions from Silverlight
      1. Integrate the Bing Maps API
      2. Control the JavaScript API from Silverlight
    3. Understanding the Silverlight Object
      1. Standard Object Tag Attributes
      2. Custom Silverlight Parameters
      3. Using HTML Fallback
    4. Key Points
  16. 10. Accessing Network Services
    1. Creating a Financial Data Service
      1. Creating the Helper Class
      2. Creating the Data Service
      3. Using WebClient to Get Data
    2. Using HTTP POST
      1. Building the HTTP POST Server
      2. Consuming the HTTP POST Server with Silverlight
    3. Making Cross-Domain Calls
    4. Key Points
  17. 11. Windows Phone Development
    1. Getting Started
      1. Write Your First Windows Phone Application
    2. Build a Service Client in Windows Phone
      1. Create the Solution and Add the Service Proxy
      2. Create the Stock Quote User Interface
    3. Key Points
  18. 12. Windows Phone Features
    1. Using Orientation
    2. Using the Back Button
    3. Using the Application Bar
    4. Using Input Scope
    5. Using Typing Intelligence
    6. Using the Multi-Touch Interface
    7. Other Services
    8. Key Points
  19. 13. Expression Blend for Windows Phone
    1. Create Your First Windows Phone Application with Expression Blend
    2. Key Points
  20. 14. Getting Started with XNA Game Development for Windows Phone
    1. Creating an XNA Application and Adding Content
    2. Writing the Code for Your Game in XNA
      1. Creating the Class Variables
      2. Loading the Content
      3. Updating the Game World
      4. Moving the Non-Player Character
      5. Checking for Collision
      6. Drawing the Sprites to the Screen
    3. Key Points
  21. Index
  22. About the Author
  23. Copyright