Essential Silverlight 2 Up-to-Date

Book description

Design rich Internet applications (RIAs) for the Web usingSilverlight 2, Microsoft's hot runtime application. Available onlyas an ebook, this concise, easy-to-understand introduction providescomplete step-by-step instructions for using everything Silverlight2 has to offer, including tools for animation, vector graphics,video playback, .NET support for web services and networking, aswell as LINQ, Microsoft's native data querying tool.Essential Silverlight 2 helps you take advantage ofMicrosoft's cross-browser plug-in with:

  • Clever ways to create interactive UIs that are more robust andeasier to debug and test than what you can achieve on otherplatforms

  • Scores of tested JavaScript and C# code examples that you canreuse in your own applications

  • Expert guidance from an author who understands RIAtechnologies, including ASP.NET, Flash, PHP, and JavaScript

  • Ready to deliver a more complete Web experience? EssentialSilverlight 2 offers a world of possibilities.

    Publisher resources

    View/Submit Errata

    Table of contents

    1. Essential Silverlight 2 Up-to-Date
    2. A Note Regarding Supplemental Files
    3. Preface
      1. Who This Book Is For
      2. How This Book Is Organized
      3. What You Need to Use This Book
      4. Conventions Used in This Book
      5. Using Code Examples
      6. How to Contact Us
      7. Acknowledgments
    4. I. Introduction
      1. 1. Introducing Silverlight 2
        1. Rich Internet Applications
          1. Benefits of Rich Internet Applications
          2. Shortcomings of Rich Internet Applications
        2. RIA Technologies
        3. Further Reading
      2. 2. Introducing WPF
        1. Vectors
        2. WPF
        3. XAML
        4. Further Reading
      3. 3. Getting Started with Silverlight 2
        1. Setting Up a Silverlight Development System
        2. A First Silverlight Example: Creating a Web Site
        3. A Second Silverlight Example: Creating a Project
        4. Further Reading
      4. 4. Introducing Silverlight Tools
        1. XML Editors
        2. Vector Graphics Editors
        3. Silverlight IDEs
        4. Further Reading
    5. II. Declarative Silverlight
      1. 5. Introducing XAML
        1. Using Text
        2. Using Shapes
        3. Positioning Elements
        4. Using Images
        5. Using Brushes
        6. Using Grids and Panels
        7. Further Reading
      2. 6. Handling User Interaction and Events
        1. Events and Event Handlers
          1. Declarative Event Handlers
          2. Event Listeners
        2. Mouse Events
          1. Mouse Position
          2. Drag and Drop
        3. Keyboard Events
        4. Further Reading
      3. 7. Transforming and Animating Content
        1. Transformations
        2. Animations
          1. Setting Up an Animation
          2. Animation Types
          3. Keyframe Animations
          4. Coding Animation
        3. Further Reading
      4. 8. Adding Sound and Video
        1. Preparing Multimedia Data
          1. Converting Data
          2. Adding Markers
          3. Streaming Video
        2. MediaElement
          1. Embedding Multimedia
          2. Controlling Multimedia
            1. Play and pause
            2. Setting the volume
            3. Determining the media position
            4. Working with markers
        3. Further Reading
      5. 9. Using Silverlight Controls
        1. The TextBox Control
        2. The CheckBox Control
        3. The RadioButton Control
        4. The ListBox Control
        5. The Button Control
        6. The ToggleButton Control
        7. The Calendar Control
        8. The DatePicker Control
        9. Further Reading
      6. 10. Using Silverlight Data Binding
        1. Data Binding with Markup
        2. Data Binding with Code
        3. One-Way Data Binding
        4. Two-Way Data Binding
        5. Data Conversions
        6. Data Validation
        7. Further Reading
      7. 11. Styles and Templates
        1. Styles
        2. Templates
        3. The Visual State Manager
    6. III. Programming Silverlight with .NET
      1. 12. Adding Silverlight Content to ASP.NET 3.5 Applications
        1. Embedding XAML
        2. Embedding Media Content
        3. Further Reading
      2. 13. Using External Network Resources
        1. Using HTTP Resources
        2. Consuming WCF Services
        3. Security Restrictions For External Resources
        4. Further Reading
      3. 14. Reading and Writing Local Files
        1. Accessing Local Files
        2. Using Isolated Storage
        3. Further Reading
    7. IV. Programming Silverlight with JavaScript
      1. 15. Accessing Silverlight Content with JavaScript (and Vice Versa)
        1. Accessing the Plug-in
        2. Communicating with the Plug-in
          1. Determining Plug-in Settings
          2. Modifying XAML Content
          3. Dumping Content Information
        3. Communicating with Managed Code
          1. Calling Managed Code from JavaScript
          2. Calling JavaScript from Managed Code
        4. Further Reading
      2. 16. Special Silverlight JavaScript APIs
        1. Advanced JavaScript APIs
        2. Dynamically Downloading Content
        3. Using Additional Fonts
        4. Further Reading
    8. V. Appendix
      1. A. Silverlight JavaScript Reference
        1. Using the Silverlight Plug-in
    9. Index
    10. About the Author
    11. Colophon
    12. Copyright

    Product information

    • Title: Essential Silverlight 2 Up-to-Date
    • Author(s): Christian Wenz
    • Release date: April 2008
    • Publisher(s): O'Reilly Media, Inc.
    • ISBN: 9780596519988