Book description
Microsoft .NET architect evangelist Jit Ghosh presents a practical companion guide to developing rich, interactive web applications with Silverlight 2. Common problems, issues, and every-day scenarios are tackled with a detailed discussion of the solution and ready-made code recipes that will save you hours of coding time.
The recipes included in Silverlight 2 Recipes: A Problem-Solution Approach have been carefully selected and tested with the professional developer in mind. You'll find clearly and succinctly stated problems, well-architected solutions, and ample discussion of the code and context so you can see immediately how the solution will support your project.
Enjoy practical coverage of Silverlight development in many projects and contexts, including
Designing complete, rich, interactive user experiences
Manipulating content and the runtime environment through the Silverlight Plugin Runtime API
Consuming, transforming, and displaying content in your Silverlight web application through XML, LINQ-based data access, and isolated storage
Building custom controls for your Silverlight project
Integrating rich media, including audio and video, to create a very dynamic user interface and experience
Using new Silverlight 2 features, including .NET Framework integration, the use of dynamic languages like Python and Ruby in Silverlight development, and digital rights management support
Find instant solutions, comprehensive Silverlight 2 coverage, and time-saving expert advice, all in Silverlight 2 Recipes: A Problem-Solution Approach.
Table of contents
- Copyright
- Foreword
- About the Authors
- About the Technical Reviewer
- Acknowledgments
- Introduction
-
1. A Quick Tour of Silverlight 2 Development: The Mechanics of Silverlight
- 1.1. Setting Up the Silverlight 2 Environment
- 1.2. Integrating the Silverlight 2 SDK Documentation
- 1.3. Understanding the Structure of a Silverlight Solution
- 1.4. Understanding the Developer/Designer Workflow
- 1.5. Understanding the Basics of Expression Blend 2 SP1
- 1.6. Accessing Source Control
- 1.7. Running Silverlight 2 on a Mac
- 1.8. Running Silverlight 2 on Linux
-
2. Application Design and Programming Model: The Mechanics of Silverlight Applications
- 2.1. Adding a Custom Class
- 2.2. Adding a Custom Control
- 2.3. Using the FindName Method
- 2.4. Dynamically Loading XAML from JavaScript
- 2.5. Dynamically Loading XAML from Managed Code
- 2.6. Persisting Data on the Client
- 2.7. Opening a Local File from a Silverlight Application
- 2.8. Accessing XML Data with an XmlReader
- 2.9. Accessing XML Data with LINQ
- 2.10. Managing Unhandled Exceptions
- 2.11. Executing Work on a Background Thread with Updates
- 2.12. Updating the UI from a Background Thread
- 2.13. Managing XAML Resources
- 2.14. Managing Embedded Resources
- 2.15. Creating Silverlight Ruby, Python, or JScript
-
3. Developing User Experiencest
- 3.1. Importing from Expression Design
- 3.2. Working with Color and Gradients
- 3.3. Positioning UI Elements with a Canvas
- 3.4. Positioning UI Elements with a StackPanel
- 3.5. Positioning UI Elements with a Grid
- 3.6. Using Shapes to Draw
- 3.7. Using Paths to Draw
- 3.8. Using Geometries to Draw
- 3.9. Providing Scrollable Content
- 3.10. Applying a Border to Elements
- 3.11. Using Simple Animations with Objects
- 3.12. Animating UI Elements with Keyframes
- 3.13. Transforming an Object
- 3.14. Creating a Simple Cartoon Scene
- 3.15. Handling Keyboard Input
- 3.16. Working with Ink
- 4. Data Binding
-
5. Controls
- 5.1. A Word About the Samples
- 5.2. Customizing a Control's Basic Appearance
- 5.3. Replacing the Default UI of a Control
- 5.4. Customizing the Default ListBoxItem UI
- 5.5. Displaying Information in a Pop-up
- 5.6. Displaying Row Details in a DataGrid
- 5.7. Applying Custom Templates to a DataGrid Cell
- 5.8. Creating Custom Column Types for a DataGrid
- 5.9. Creating a Composite User Control
- 5.10. Creating a Custom Layout Container
- 5.11. Creating a Custom Control
- 5.12. Defining a Custom Visual State
-
6. Browser Integration
- 6.1. Hosting Silverlight in HTML on Any Platform
- 6.2. Hosting Silverlight in ASP.NET
- 6.3. Setting Focus for Keyboard Input
- 6.4. Implementing a Full-Screen UI
- 6.5. Calling a JavaScript Method from Managed Code
- 6.6. Calling a Managed Code Method from JavaScript
- 6.7. Exchanging Data between Multiple Plug-ins
- 6.8. Embedding Silverlight within a Vista Gadget
- 7. Networking and Web Service Integration
- 8. Integrating Rich Media
Product information
- Title: Silverlight 2 Recipes: A Problem-Solution Approach
- Author(s):
- Release date: December 2008
- Publisher(s): Apress
- ISBN: 9781590599778
You might also like
book
Pro Windows 8.1 Development with XAML and C#
Windows 8.1 apps are revolutionizing development on the Windows platform. Fast, fluid, tactile and chrome-free, they …
book
Microsoft® Visual C#® .NET 2003 Kick Start
Microsoft Visual C# .NET 2003 Kick Start is a rapid-progression tutorial that presents the C# language …
book
Microsoft® Visual Studio® 2010 Unleashed
This end-to-end deep dive into Microsoft Visual Studio 2010 Professional will help working developers squeeze maximum …
video
Mastering Web Views
In this video, Max Firtman explains the technology central to mobile web development: the webview. He …