You are previewing Microsoft Silverlight 4 Business Application Development Beginner's Guide.
O'Reilly logo
Microsoft Silverlight 4 Business Application Development Beginner's Guide

Book Description

Build enterprise-ready business applications with Silverlight

  • An introduction to building enterprise-ready business applications with Silverlight quickly.

  • Get hold of the basic tools and skills needed to get started in Silverlight application development.

  • Integrate different media types, taking the RIA experience further with Silverlight, and much more!

  • Rapidly manage business focused controls, data, and business logic connectivity.

  • A suite of business applications will be built over the course of the book and all examples will be geared around real-world useful application developments, enabling .NET developers to focus on getting started in business application development using Silverlight..

  • In Detail

    Microsoft Silverlight is a programmable web browser plug-in that enables features including animation, vector graphics, and audio-video playback—features that characterize Rich Internet Applications. Silverlight makes possible the development of RIA applications in familiar .NET languages such as C# and VB.NET.

    Silverlight is a great (and growing) Line of Business platform and is increasingly being used to build business applications. Silverlight 3 made a big step in LOB; Silverlight 4 builds upon this further. This book will enable .NET developers to feel the pulse of business application development with Silverlight quickly.

    This book is not a general Silverlight 3/4 overview book. It is uniquely aimed at developers who require an introduction to building business applications with Silverlight. This book will focus on building a suite of real-world, useful business applications in a practical hands-on approach. This book is for .Net developers, providing the answers to many questions that are encountered when creating business applications in Silverlight, ultimately enabling rapid development with ease!

    This book teaches you how to build business applications with Silverlight 3 and 4. Building a suite of applications, it begins by introducing you to the basic tools and skills needed to get started in Silverlight development. It then dives deeply into the world of business application development, covering all the required concepts needed to build sophisticated business applications and provide a rich user experience. Chapters include: building a public website, adding rich media to the website, incorporating RIA into your website, and among others.

    By following the practical steps in this book, you will learn what’s needed to create rich business applications—from the creation of a Silverlight application, to enhancing your application with rich media and connecting your Silverlight application to various Data Sources.

    Table of Contents

    1. Microsoft Silverlight 4 Business Application Development
      1. Microsoft Silverlight 4 Business Application Development
      2. Credits
      3. About the Author
      4. About the Reviewers
      5. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Errata
          2. Piracy
          3. Questions
      6. 1. Getting Started
        1. Skills needed
          1. A special note for ASP.NET developers
          2. A special note for Windows Forms developers
          3. A special note for WPF developers
          4. A special note for Flash/FLEX developers
        2. New concepts of Silverlight
          1. Separation of presentation and Logic
          2. XAML: Relax it's just XML
          3. Dependency properties
          4. Bumps along the road to Silverlight bliss
            1. GIF files need not apply
            2. Visibility != Boolean
            3. It's Button.Content, not Button.Text
              1. But wait, there's more!
        3. Tools needed
          1. Visual Studio 2008 or Visual Studio 2010
          2. Silverlight runtime
          3. Silverlight toolkit
          4. Expression Blend
        4. Other useful tools
          1. Deep Zoom Composer
          2. Silverlight Spy
          3. Expression Design
          4. Expression Encoder
          5. InkScape
        5. Time for action - creating a Silverlight project
          1. Have a go hero
          2. What just happened
        6. Summary
      7. 2. Enhancing a Website with Silverlight
        1. Retrofitting a website
          1. Adding pizzazz with Silverlight
          2. A few words on search engine optimization
        2. Building a navigation control from the ground up
          1. Picking the right kind of container
          2. Stack it up: Using the StackPanel
        3. Time for action - building navigation buttons in Silverlight
          1. What just happened?
          2. Adding a little style with Styles
            1. Styles
        4. Time for action - adding the style
          1. What just happened?
        5. Creating applications in Expression Blend
          1. A crash course in Expression Blend
            1. An artsy Visual Studio?
        6. Time for action - styles revisited in Blend
          1. What just happened?
          2. Have a go hero
        7. Skinning a control
        8. Time for action - Skinning a control
          1. What just happened?
          2. States of mind
        9. Time for action - learning the Visual State Manager
          1. What just happened?
        10. Adding event handlers
        11. Time for action - back to coding
          1. What just happened?
          2. Where are we really?
        12. Animation in Silverlight
        13. Time for action - animation time
          1. What just happened?
          2. Have a go hero - exploring animation options
        14. Getting on the same page
        15. Time for action - getting Silverlight onto a web page
          1. What just happened?
        16. Summary
      8. 3. Adding Rich Media
        1. Adding media to a Silverlight project
        2. Time for action - adding background music
          1. What just happened?
          2. Embedding files versus referencing files
          3. Have a go hero – improving the experience
        3. Adding video to a Silverlight project
        4. Time for action - adding video
          1. What just happened?
        5. Using video as a brush
        6. Time for action - creating and using a VideoBrush
          1. What just happened?
        7. Enriching an application with audio cues
        8. Time for action - adding interactive sounds
          1. What just happened?
          2. Have a go hero – adding a few more sounds
        9. Coding videos with Expression Media Encoder
          1. A tour of the workspace
          2. Encoding video
          3. A quick word on video formats
        10. Time for action - let's encode a video!
          1. What just happened?
          2. Have a go hero – explore the other templates
        11. Summary
      9. 4. Taking the RIA Experience Further with Silverlight
        1. Deep Zoom
          1. Deep Zoom in action
        2. Time for action - creating a Deep Zoom photo montage
          1. What just happened?
          2. Have a go hero - exploring the tiles
        3. Using the Bing Maps Silverlight Control
          1. Using the Map Control
        4. Time for action - getting started with mapping
          1. What just happened?
          2. Getting credentials
        5. Time for action - adding our credentials
          1. Taking control of the Map control
        6. Time for action - taking control of the Map control
          1. What just happened?
          2. Have a go hero - changing the map programmatically
          3. Adding store locations to the map
        7. Time for action - adding store locations
          1. What just happened?
          2. Have a go hero - re-styling a Pushpin
          3. What just happened?
        8. Drawing out ideas
          1. The InkPresenter control
          2. Capturing strokes
        9. Time for action - building a basic sketching application
          1. What just happened?
          2. Changing drawing attributes
        10. Time for action - controlling the appearance of Ink
          1. What just happened?
          2. Erasing Strokes
        11. Time for action - adding an erase feature
          1. What just happened?
          2. Storing Strokes in Isolated Storage
            1. Isolated Storage
        12. Time for action - adding persistence
          1. What just happened?
          2. Have a go hero - where is isolated storage?
          3. Uploading sketches
            1. Asynchronous calls
        13. Time for action - submitting sketches
          1. What just happened?
        14. Summary
      10. 5. Handling Data
        1. Data applications
        2. Time for action - creating a business object
          1. What just happened?
        3. Windows Communication Foundation (WCF)
        4. Time for action - creating a Silverlight-enabled WCF service
          1. What just happened?
        5. Collecting data
        6. Time for action - creating a form to collect data
          1. What just happened?
        7. Validating data
          1. Data object
        8. Time for action - creating a data object
          1. What just happened?
          2. Data binding
        9. Time for action - binding our data object to our controls
          1. What just happened?
          2. Validation
        10. Time for action - validating data input
          1. What just happened?
        11. Data submission
        12. Time for action - submitting data to the server
          1. What just happened?
        13. Summary
      11. 6. Back Office Applications
        1. WCF Rich Internet Application (RIA) Services
        2. Time for action - creating a RIA Services application
          1. What just happened?
          2. Have a go hero - styling the listbox
        3. SharePoint
        4. Time for action - hosting a Silverlight application in SharePoint
          1. What just happened?
        5. Summary
      12. 7. Customer Service Application
        1. Customer data
        2. Time for action - creating the data model
          1. What just happened?
        3. ADO.NET Entity Framework and WCF RIA Services
        4. Time for action - creating the Entity Framework
          1. What just happened?
        5. User experience
        6. Time for action - saving customer information
          1. What just happened?
        7. Customer service
        8. Time for action - creating a customer lookup form
          1. What just happened?
          2. Have a go hero - adding data validation to our customer details form
        9. Summary
      13. 8. Executive Dashboard Application
        1. Data visualization
        2. Time for action - creating the Executive Dashboard
          1. What just happened?
          2. Have a go hero - adding more sales data
        3. Spreadsheet data
        4. Time for action - extending the Executive Dashboard
          1. What just happened?
          2. Have a go hero - adding paging to our grid
        5. Summary
      14. 9. Delivery Application
        1. Creating a signature capture control
          1. Creating our own lookless control
        2. Time for action - creating a custom control
          1. What just happened?
          2. Improving the default template
        3. Time for action - putting the control together
          1. What just happened?
          2. Dependency properties
          3. The OnApplyTemplate method
          4. TemplateBinding
          5. Implementing the custom control
        4. Time for action - putting our lookless control to the test
          1. What just happened?
        5. Time for action - finishing the control
          1. What just happened?
        6. Mapping application
          1. Geocoding
        7. Time for action - Geocoding addresses to work
          1. What just happened?
          2. Route planning
        8. Time for action - adding routing to our application
          1. What just happened?
        9. Summary
      15. 10. Where to Go From Here
        1. More Silverlight features
          1. Checking network connectivity
        2. Time for action - detecting network connectivity
          1. What just happened?
          2. Have a go hero - refactoring the code
          3. Executing outside the browser
            1. Enabling out of browser support
        3. Time for action - creating an out-of-browser solution
          1. What just happened?
        4. Time for action - checking the InstallState property
          1. What just happened?
          2. Installing a Silverlight application locally
          3. Deployment concerns
          4. Uninstalling a Silverlight application
        5. Beyond Silverlight
          1. Windows Presentation Foundation (WPF)
            1. When to use WPF
        6. Time for action - creating a WPF application
        7. Future of Silverlight
        8. Summary